- 26 Apr, 2018 1 commit
-
-
Brian Curtin authored
Previously, the predicate parameter was mentioned, but what it was to be called with was not documented and required either trial-and-error or looking into the source to find that it is called with the `value`, or second item, of the full members list. This change addresses what the predicate will receive, as well as does some light formatting to make this clear.
-
- 25 Apr, 2018 7 commits
-
-
Cheryl Sabella authored
-
Serhiy Storchaka authored
Added tests to ensure that all defined opcodes are supported.
-
Serhiy Storchaka authored
-
Andrés Delfino authored
-
Neeraj Badlani authored
Patch by Neeraj Badlani.
-
Pablo Galindo authored
-
Pablo Galindo authored
External importers were being added in both phases of the import system initialisation. They're only supposed to be added in the second phase, after the import machinery has been appropriately configured.
-
- 23 Apr, 2018 5 commits
-
-
Łukasz Langa authored
-
Chris Bradbury authored
-
Chris Bradbury authored
* bpo-33251: ConfigParser.items no longer returns items present in vars. Documentation for `ConfigParser.items()` states: 'Items present in vars no longer appear in the result.' This fix aligns behaviour to that specified in the documentation.
-
Antoine Pitrou authored
Starting with glibc 2.27.9000-xxx, sigaddset() can return EINVAL for some reserved signal numbers between 1 and NSIG. The `range(1, NSIG)` idiom is commonly used to select all signals for blocking with `pthread_sigmask`. So we ignore the sigaddset() return value until we expose sigfillset() to provide a better idiom.
-
Łukasz Langa authored
This change contains minor things that make diffing between Lib/tokenize.py and Lib/lib2to3/pgen2/tokenize.py cleaner.
-
- 22 Apr, 2018 1 commit
-
-
Berker Peksag authored
-
- 21 Apr, 2018 1 commit
-
-
Andrés Delfino authored
Also update PIL doc references to Pillow.
-
- 20 Apr, 2018 8 commits
-
-
Brett Cannon authored
-
Brett Cannon authored
-
Ville Skyttä authored
-
Paul Moore authored
Upgrade ensurepip to bundle pip 10.0.1
-
Gregory P. Smith authored
-
xdegaye authored
Setup modules are no longer built with -DPy_BUILD_CORE by default, as using that flag may now require including additional internal-only header files. Instead, only the modules that specifically need it use that setting.
-
Serhiy Storchaka authored
-
Gregory P. Smith authored
Fix clang ubsan (undefined behavior sanitizer) warnings in dictobject.c by adjusting how the internal struct _dictkeysobject shared keys structure is declared. This remains ABI compatible. We get rid of the union at the end of the struct being used for conveinence to avoid typecasting in favor of char[] variable length array at the end of a struct. This is known to clang to be used for variable sized objects and will not cause an undefined behavior problem. Similarly, char arrays do not have strict aliasing undefined behavior when cast. PEP-007 does not currently list variable length arrays (VLAs) as allowed in our subset of C99. If this turns out to be a problem, the fix to this is to change the char `dk_indices[]` into `dk_indices[1]` and restore the three size computation subtractions this change removes: `- Py_MEMBER_SIZE(PyDictKeysObject, dk_indices)` If this works as is I'll make a separate PR to update PEP-007.
-
- 19 Apr, 2018 4 commits
-
-
Gregory P. Smith authored
-
Serhiy Storchaka authored
as docstrings and translatable strings, and rejects bytes literals and f-string expressions.
-
Serhiy Storchaka authored
-
Pablo Galindo authored
-
- 18 Apr, 2018 2 commits
-
-
Denis Osipov authored
-
Serhiy Storchaka authored
Converting with line_info=False and col_info=True crashed before.
-
- 17 Apr, 2018 9 commits
-
-
Aaron Ang authored
-
INADA Naoki authored
`test_urllib2net.OtherNetworkTests.test_sites_no_connection_close` used `http://www.imdb.com/` but it is moved to https so the test is not valid anymore. Skip test for the moment to allow CI to proceed.
-
Wolfgang Maier authored
-
jdemeyer authored
-
INADA Naoki authored
-
Benjamin Peterson authored
In fact, we now require a newer Sphinx version because APIs have moved around.
-
Andrés Delfino authored
-
Łukasz Langa authored
This note in documentation was never true.
-
Łukasz Langa authored
* Now uses pickle protocol 4 * Doesn't wrap the grammar's `__dict__` in ordered dictionaries anymore as dictionaries in Python 3.6+ are ordered by default This still produces deterministic pickles (that hash the same with MD5). Tested with different PYTHONHASHSEED values.
-
- 16 Apr, 2018 2 commits
-
-
Łukasz Langa authored
-
Zsolt Dollenstein authored
-