|
list.len(): msg#00223python.c++
Hi, I am using boost 1.30 and I was surprised to discover that in boost::python::list, there is no len() method. Am I mistaken or is PyList_Size( my_list.ptr() ) the only way to get the length ? If so, I suggest to add it in the future. It is very common to use the size of a list when operating upon it. regards, Philippe -- You should not reinvent the wheel. Except when the first inventor made it square! |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Unicode strings: 00223, Andreas Beyer |
|---|---|
| Next by Date: | Re: method_call_expr not supported by dump_expr: 00223, David Abrahams |
| Previous by Thread: | Unicode stringsi: 00223, Andreas Beyer |
| Next by Thread: | Re: list.len(): 00223, David Abrahams |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |