Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
...complex to allow anyone to scratch their itch without first investing a serious amount of effort and time into understanding the software they're using. We are interested in changes to the whole software development process that will fix this as well-in particular development tools. Why teach a "general" programming language? It is well understood that there is a bit of a dichotomy between "procedural" programming languages on the one hand and "declarative" languages on the other. Fo...
...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.