- 24 Feb, 2018 4 commits
-
-
Serhiy Storchaka authored
-
Christian Heimes authored
ssl.match_hostname() has been simplified and no longer depends on re and ipaddress module for wildcard and IP addresses. Error reporting for invalid wildcards has been improved. Signed-off-by: Christian Heimes <christian@python.org>
-
Cheryl Sabella authored
Adjust tests and user modules to match.
-
Christian Heimes authored
Previously, the ssl module stored international domain names (IDNs) as U-labels. This is problematic for a number of reasons -- for example, it made it impossible for users to use a different version of IDNA than the one built into Python. After this change, we always convert to A-labels as soon as possible, and use them for all internal processing. In particular, server_hostname attribute is now an A-label, and on the server side there's a new sni_callback that receives the SNI servername as an A-label rather than a U-label.
-
- 23 Feb, 2018 7 commits
-
-
Mariatta authored
Changed the template to be inside a comment tag.
-
Eric V. Smith authored
Exhaustively test dataclass hashing when no hash= value is provided. This is in anticipation of changing how non-default hashing is handled. (#5834)
-
Mariatta authored
`whilst` and `while` are both english words, `whilst` is not as commonly used. This can be confusing to readers whose primary language is not english.
-
Steve Dower authored
-
cocoatomo authored
-
INADA Naoki authored
-
Anselm Kruis authored
Make test.support.temp_cwd() fork-safe. The context manager test.support.temp_cwd() no longer removes the temporary directory when executing in a process other than the parent it entered from. If a forked child exits the context manager it won't do the cleanup.
-
- 22 Feb, 2018 8 commits
-
-
Serhiy Storchaka authored
Co-authored-by: Mark Shannon <mark@hotpy.org> Co-authored-by: Antoine Pitrou <antoine@python.org>
-
Serhiy Storchaka authored
-
Paul Ganssle authored
-
Steve Dower authored
-
Steve Dower authored
bpo-32556: nt._getfinalpathname, nt._getvolumepathname and nt._getdiskusage now correctly convert from bytes. (GH-5761)
-
Terry Jan Reedy authored
dump is similar to print but less flexible. lastopenbracketpos is now always initialized in _study2, as was stmt_bracketing, so the class settings are not needed. get_last_open_bracket_pos is never called.
-
Eddie Elizondo authored
-
Cheryl Sabella authored
There are no code changes other than comments and docstrings.
-
- 21 Feb, 2018 3 commits
-
-
Paul Price authored
Py_ADDRESS_IN_RANGE was renamed address_in_range in 3.6 (commit 3924f937).
-
Benjamin Peterson authored
It's bad form to pin to an old version of TLS. ssl.SSLContext has the right protocol default, so let's not pass anyway.
-
Harshul jain authored
-
- 20 Feb, 2018 5 commits
-
-
Eric Snow authored
The CPython runtime assumes that there is a one-to-one relationship (for a given interpreter) between PyThreadState and OS threads. Sending and receiving on a channel in the same interpreter was causing crashes because of this (specifically due to a check in PyThreadState_Swap()). The solution is to not switch threads if the interpreter is the same.
-
Zackery Spytz authored
Initialize self._ssnd_chunk so that aifc.Error is raised as intended, not AttributeError.
-
Zackery Spytz authored
Dropped the part that says: "For objects that do not provide sequence protocol".
-
Alexey Izbyshev authored
os.dup2() tests for dup3() system call availability at runtime, but doesn't remember the result across calls, repeating the test on each call with inheritable=False. Since the caller of os.dup2() is expected to hold the GIL, fix this by making the variable holding the test result static.
-
Steve Dower authored
-
- 19 Feb, 2018 2 commits
-
-
Zachary Ware authored
-
pmp-p authored
-
- 18 Feb, 2018 9 commits
-
-
chason authored
-
Éric Araujo authored
-
Terry Jan Reedy authored
-
Alexey Izbyshev authored
This function expects the destination buffer size to be given in wide characters, not bytes.
-
TROUVERIE Joachim authored
-
Zachary Ware authored
-
Ivan Levkivskyi authored
This adds C versions of methods used by ABCMeta that improve performance of various ABC operations.
-
Steve Dower authored
-
Steve Dower authored
-
- 17 Feb, 2018 2 commits
-
-
Zachary Ware authored
Also, use PYTHON_FOR_REGEN for clinic and blake2s_impl.c rather than PYTHON_FOR_BUILD, and update .travis.yml to make use of the change.
-
Andrew Svetlov authored
-