Notice: This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets.
...complex(obj) could leak a little memory if obj wasn't a string or number. zip() with no arguments now returns an empty list instead of raising a TypeError exception. obj.__contains__() now returns True/False instead of 1/0. SF patch 820195. Python no longer tries to be smart about recursive comparisons. When comparing containers with cyclic references to themselves it will now just hit the recursion limit. See SF patch 825639. str and unicode builtin types now have an rsplit() method that is s...
...Complex numbers supported divmod() and the // and % operators, but these make no sense. Since this was documented, they're being deprecated now. String and unicode methods lstrip(), rstrip() and strip() now take an optional argument that specifies the characters to strip. For example, "Foo!!!?!?!?".rstrip("?!") -> "Foo". There's a new dictionary constructor (a class method of the dict class), dict.fromkeys(iterable, value=None). It constructs a dictionary wi...
...complex spam attack on PyPI that occurred February18-20, 2018. Approved 13-0-0, February 27, 2018 RESOLVED, that the Python Software Foundation Grants Work Group grant $1000 USD to the Django Girls event happening in Windhoek, Namibia February 20, 2018 Approved 8-0-0, February 26, 2018 RESOLVED, that the Python Software Foundation Grants Work Group sponsor PyCon CZ in the amount of $3,698 USD (~3000 Euro). PyCon CZ is happening in Prague, Czech Republic June 1-3, 2018. Approved 6-0-1, February...
If you didn't find what you need, try your search in the Python language documentation.