Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-17232: Clarify docs for -O and -OO command line options (#5839) | Cheryl Sabella | 2018-02-25 | 4 | -6/+23 |
| | | | The 'optimization' is for space in the executable file, not for run time. | ||||
* | bpo-30622: Improve NPN support detection (#5859) | Christian Heimes | 2018-02-24 | 4 | -11/+42 |
| | | | | | | The ssl module now detects missing NPN support in LibreSSL. Co-Authored-By: Bernard Spil <brnrd@FreeBSD.org> Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-24334: Cleanup SSLSocket (#5252) | Christian Heimes | 2018-02-24 | 5 | -117/+183 |
| | | | | | | | | | | | | | * The SSLSocket is no longer implemented on top of SSLObject to avoid an extra level of indirection. * Owner and session are now handled in the internal constructor. * _ssl._SSLSocket now uses the same method names as SSLSocket and SSLObject. * Channel binding type check is now handled in C code. Channel binding is always available. The patch also changes the signature of SSLObject.__init__(). In my opinion it's fine. A SSLObject is not a user-constructable object. SSLContext.wrap_bio() is the only valid factory. | ||||
* | remove vestigal locking from obmalloc (GH-5805) | Benjamin Peterson | 2018-02-24 | 1 | -39/+0 |
| | | | obmalloc has (empty) macros for locking in the allocator. These aren't needed in CPython; we rely on the GIL. | ||||
* | bpo-32931: fix macOS 10.9+ installer c++ compiler name (#5855) | Ned Deily | 2018-02-24 | 1 | -1/+1 |
| | |||||
* | bpo-31966: Fixed WindowsConsoleIO.write() for writing empty data. (GH-5754) | Serhiy Storchaka | 2018-02-24 | 3 | -0/+8 |
| | |||||
* | bpo-32819: Simplify and improve ssl.match_hostname (#5620) | Christian Heimes | 2018-02-24 | 3 | -57/+117 |
| | | | | | | | 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> | ||||
* | bpo-32916: IDLE: Change `str` to `code` in pyparse (GH-5830) | Cheryl Sabella | 2018-02-24 | 5 | -102/+103 |
| | | | Adjust tests and user modules to match. | ||||
* | [bpo-28414] Make all hostnames in SSL module IDN A-labels (GH-5128) | Christian Heimes | 2018-02-24 | 7 | -111/+163 |
| | | | | | | | | | | | | 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. | ||||
* | Update the Pull_request_template.md file (GH-5841) | Mariatta | 2018-02-23 | 1 | -2/+19 |
| | | | Changed the template to be inside a comment tag. | ||||
* | Exhaustively test dataclass hashing when no hash= value is provided. This is ↵ | Eric V. Smith | 2018-02-23 | 1 | -0/+73 |
| | | | | in anticipation of changing how non-default hashing is handled. (#5834) | ||||
* | bpo-32923: Unittest doc: replace `whilst` with `while` (GH-5833) | Mariatta | 2018-02-23 | 1 | -1/+1 |
| | | | | `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. | ||||
* | bpo-32901: Update Tcl and Tk versions to 8.6.8 (GH-5823) | Steve Dower | 2018-02-23 | 3 | -4/+5 |
| | |||||
* | bpo-32087: Doc: Make "deprecated-removed" directive translatable (GH-4473) | cocoatomo | 2018-02-23 | 2 | -5/+8 |
| | |||||
* | ipaddress: Use str.isascii() instead of frozenset (GH-5811) | INADA Naoki | 2018-02-23 | 1 | -3/+2 |
| | |||||
* | bpo-30028: make test.support.temp_cwd() fork-safe (GH-1066) | Anselm Kruis | 2018-02-23 | 3 | -1/+35 |
| | | | | 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. | ||||
* | bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter ↵ | Serhiy Storchaka | 2018-02-22 | 19 | -4383/+4497 |
| | | | | | | | | | to compiler. (GH-5006) Co-authored-by: Mark Shannon <mark@hotpy.org> Co-authored-by: Antoine Pitrou <antoine@python.org> | ||||
* | bpo-32838: Fix Python versions in the table of magic numbers. (#5658) | Serhiy Storchaka | 2018-02-22 | 2 | -149/+152 |
| | |||||
* | Test that new_timezone can return the UTC singleton (gh-5318) | Paul Ganssle | 2018-02-22 | 2 | -0/+46 |
| | |||||
* | bpo-32457: Improves handling of denormalized executable path when launching ↵ | Steve Dower | 2018-02-22 | 3 | -54/+54 |
| | | | | Python (GH-5756) | ||||
* | bpo-32556: nt._getfinalpathname, nt._getvolumepathname and nt._getdiskusage ↵ | Steve Dower | 2018-02-22 | 4 | -58/+110 |
| | | | | now correctly convert from bytes. (GH-5761) | ||||
* | bpo-32905: IDLE - remove unused code in pyparse module (GH-5807) | Terry Jan Reedy | 2018-02-22 | 3 | -50/+8 |
| | | | 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. | ||||
* | closes bpo-32898: Fix debug build crash with COUNT_ALLOCS (GH-5800) | Eddie Elizondo | 2018-02-22 | 5 | -3/+6 |
| | |||||
* | bpo-32874: IDLE: add tests for pyparse (GH-5755) | Cheryl Sabella | 2018-02-22 | 3 | -66/+619 |
| | | | | There are no code changes other than comments and docstrings. | ||||
* | bpo-32889: update valgrind suppressions (GH-5779) | Paul Price | 2018-02-21 | 2 | -5/+7 |
| | | | | | Py_ADDRESS_IN_RANGE was renamed address_in_range in 3.6 (commit 3924f93794fd740c547b44884f73303196475cd5). | ||||
* | bpo-32008: don't use PROTOCOL_TLSv1 in example (GH-5789) | Benjamin Peterson | 2018-02-21 | 1 | -2/+2 |
| | | | | 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. | ||||
* | bpo-28886: doc: Move deprecated abc decorators to separate section (GH-176) | Harshul jain | 2018-02-21 | 1 | -22/+17 |
| | |||||
* | bpo-32604: Swap threads only if the interpreter is different. (gh-5778) | Eric Snow | 2018-02-20 | 3 | -14/+77 |
| | | | 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. | ||||
* | bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND ↵ | Zackery Spytz | 2018-02-20 | 4 | -0/+12 |
| | | | | | | | chunk is not found (#5240) Initialize self._ssnd_chunk so that aifc.Error is raised as intended, not AttributeError. | ||||
* | bpo-32500: Correct the documentation for PySequence_Size() and ↵ | Zackery Spytz | 2018-02-20 | 1 | -3/+2 |
| | | | | | PySequence_Length() (GH-5767) Dropped the part that says: "For objects that do not provide sequence protocol". | ||||
* | closes bpo-32859: Don't retry dup3() if it is not available at runtime (GH-5708) | Alexey Izbyshev | 2018-02-20 | 2 | -1/+3 |
| | | | | | | | | 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. | ||||
* | bpo-32409: Ensures activate.bat can handle Unicode contents (GH-5757) | Steve Dower | 2018-02-20 | 3 | -0/+32 |
| | |||||
* | bpo-30121: Fix test_subprocess for Windows Debug builds (GH-5758) | Zachary Ware | 2018-02-19 | 1 | -1/+1 |
| | |||||
* | bpo-32682: Improve libz version parsing in test_zilb (GH-5347) | pmp-p | 2018-02-19 | 1 | -4/+9 |
| | |||||
* | bpo-31972: Improve docstrings for pathlib classes (#5310) | chason | 2018-02-18 | 2 | -1/+30 |
| | |||||
* | Improve error message for "setup.py upload" without dist files (#21060) | Éric Araujo | 2018-02-18 | 2 | -1/+5 |
| | |||||
* | bpo-31333: Fix typo in whatsnew/3.7.rst (GH-5744) | Terry Jan Reedy | 2018-02-18 | 1 | -1/+1 |
| | |||||
* | bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar (#5739) | Alexey Izbyshev | 2018-02-18 | 1 | -1/+2 |
| | | | | This function expects the destination buffer size to be given in wide characters, not bytes. | ||||
* | Correct venv doc (fix #32540) (#5736) | TROUVERIE Joachim | 2018-02-18 | 1 | -4/+3 |
| | |||||
* | Clean up Travis config (GH-5727) | Zachary Ware | 2018-02-18 | 1 | -48/+52 |
| | |||||
* | bpo-31333: Re-implement ABCMeta in C (#5273) | Ivan Levkivskyi | 2018-02-18 | 14 | -536/+1640 |
| | | | | This adds C versions of methods used by ABCMeta that improve performance of various ABC operations. | ||||
* | Add missing backslashes to get_externals.bat (GH-5731) | Steve Dower | 2018-02-18 | 1 | -2/+2 |
| | |||||
* | Improves the ability to build in CI (GH-5728) | Steve Dower | 2018-02-18 | 5 | -12/+21 |
| | |||||
* | bpo-30638: Add clinic to `make regen-all` (GH-5671) | Zachary Ware | 2018-02-17 | 2 | -9/+9 |
| | | | 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. | ||||
* | Fix a typo in asyncio docs (#5721) | Andrew Svetlov | 2018-02-17 | 1 | -1/+1 |
| | |||||
* | bpo-32852: Fix trace changing sys.argv to tuple. (GH-5692) | Kyle Altendorf | 2018-02-17 | 3 | -1/+12 |
| | |||||
* | DOC: fix documentation for copyright and credits (GH-5706) | Gerrit Holl | 2018-02-17 | 1 | -3/+7 |
| | | | | | Adapt documentation for `copyright` and `credits` to reality. Previously, the documentation implied that all each of `copyright`, `credits`, and `license`, would print a message to call the object in order to see the full text. In reality, only `license` exhibits this behaviour, and `copyright` and `credit` print their full text either when printed, displayed, or called. | ||||
* | bpo-32860: Fix a missing asterisk in the documentation for glob.iglob() ↵ | Zackery Spytz | 2018-02-17 | 1 | -1/+1 |
| | | | | (GH-5712) | ||||
* | bpo-32604: Clean up created subinterpreters before runtime finalization. ↵ | Eric Snow | 2018-02-17 | 5 | -31/+410 |
| | | | | | | (gh-5709) | ||||
* | bpo-32436: Add docs for contextvars (#5685) | Yury Selivanov | 2018-02-16 | 4 | -0/+300 |
| |