[Michael Hudson] > Just a couple of thoughts: > > 1) listextend_internal calls PyObject_Size twice, for no obvious > reason. Good eye. Will remove the duplicate call. > 2) It's a little odd that listextend_internal consumes a reference to > b. Perhaps a comment? It probably was a good idea before all the refactoring because it simplified the calling code and because the b argument was always a temporary sequence. Now that there is only one caller, the responsibility for the DECREF could be shifted back to the caller -- it's a matter of taste. Raymond
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4