summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* doc: fix link to time function from time_nsfix-time_ns-linkÉric Araujo2019-08-141-1/+1
|
* bpo-37849: IDLE: fix completion window positioning above line (GH-15267)Tal Einat2019-08-143-2/+20
|
* bpo-36030: Improve performance of some tuple operations (GH-12052)Sergey Fedoseev2019-08-141-32/+71
|
* bpo-37531: Fix regrtest timeout for subprocesses (GH-15072)Victor Stinner2019-08-145-14/+78
| | | Co-Authored-By: Joannah Nanjekye <joannah.nanjekye@ibm.com>
* bpo-36502: Correct documentation of str.isspace() (GH-15019)Greg Price2019-08-142-4/+19
| | | | | | | | | | | | | | | | | | The documented definition was much broader than the real one: there are tons of characters with general category "Other", and we don't (and shouldn't) treat most of them as whitespace. Rewrite the definition to agree with the comment on _PyUnicode_IsWhitespace, and with the logic in makeunicodedata.py, which is what generates that function and so ultimately governs. Add suitable breadcrumbs so that a reader who wants to pin down exactly what this definition means (what's a "bidirectional class" of "B"?) can do so. The `unicodedata` module documentation is an appropriate central place for our references to Unicode's own copious documentation, so point there. Also add to the isspace() test a thorough check that the implementation agrees with the intended definition.
* bpo-37738: Fix curses addch(str, color_pair) (GH-15071)Victor Stinner2019-08-142-3/+17
| | | | | Fix the implementation of curses addch(str, color_pair): pass the color pair to setcchar(), instead of always passing 0 as the color pair.
* bpo-37681: no_sanitize_thread support from GCC 5.1 (GH-15096)Hai Shi2019-08-141-2/+2
| | | | Fix the following warning with GCC 4.8.5: Objects/obmalloc.c: warning: ‘no_sanitize_thread’ attribute directive ignored
* bpo-37337: Fix a GCC 9 warning in Objects/descrobject.c (GH-14814)Zackery Spytz2019-08-141-1/+1
| | | | Commit b1263d5a60d3f7ab02dd28409fff59b3815a3f67 causes GCC 9.1.0 to give a warning in Objects/descrobject.c.
* bpo-37760: Factor out standard range-expanding logic in makeunicodedata. ↵Greg Price2019-08-131-33/+35
| | | | | | | | (GH-15248) Much like the lower-level logic in commit ef2af1ad4, we had 4 copies of this logic, written in a couple of different ways. They're all implementing the same standard, so write it just once.
* bpo-37256: Wording in Request class docs (#14792)Ngalim Siregar2019-08-132-1/+2
| | | | | | | | | | * bpo-37256: Wording in Request class docs * 📜🤖 Added by blurb_it. * Update Misc/NEWS.d/next/Documentation/2019-07-16-14-48-12.bpo-37256.qJTrBb.rst Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
* bpo-25172: Add test for crypt ImportError on Windows (GH-15252)shireenrao2019-08-131-7/+28
|
* bpo-37689: add Path.is_relative_to() method (GH-14982)Hai Shi2019-08-134-1/+111
|
* bpo-37814: Document the empty tuple type annotation syntax (GH-15208)Josh Holland2019-08-131-1/+2
| | | | | | | | https://bugs.python.org/issue37814: > The empty tuple syntax in type annotations, `Tuple[()]`, is not obvious from the examples given in the documentation (I naively expected `Tuple[]` to work); it has been documented in PEP 484 and in mypy, but not in the documentation for the typing module. https://bugs.python.org/issue37814
* bpo-37583: Add err 113 to support.get_socket_conn_refused_errs() (GH-14729)Hai Shi2019-08-131-0/+3
| | | | | Add error number 113 EHOSTUNREACH to get_socket_conn_refused_errs() of test.support.
* bpo-37841: Remove python_uwp dependency on msvcp140.dll (GH-15253)Steve Dower2019-08-131-0/+9
|
* bpo-37760: Constant-fold some old options in makeunicodedata. (GH-15129)Greg Price2019-08-121-24/+20
| | | | | | | | The `expand` option was introduced in 2000 in commit fad27aee1. It appears to have been always set since it was committed, and what it does is tell the code to do something essential. So, just always do that, and cut the option. Also cut the `linebreakprops` option, which isn't consulted anymore.
* bpo-37758: Clean out vestigial script-bits from test_unicodedata. (GH-15126)Greg Price2019-08-121-17/+5
| | | | | | | | | | | This file started life as a script, before conversion to a `unittest` test file. Clear out some legacies of that conversion that are a bit confusing about how it works. Most notably, it's unlikely there's still a good reason to try to recover from `unicodedata` failing to import -- as there was when that logic was first added, when the module was very new. So take that out entirely. Keep `self.db` working, though, to avoid a noisy diff.
* bpo-37760: Mark all generated Unicode data headers as generated. (GH-15171)Greg Price2019-08-121-1/+1
| | | | | | | | | | | | This causes them to be collapsed by default in diffs shown on GitHub. https://bugs.python.org/issue37760 Automerge-Triggered-By: @benjaminp
* bpo-37760: Factor out the basic UCD parsing logic of makeunicodedata. (GH-15130)Greg Price2019-08-121-133/+109
| | | | | | There were 10 copies of this, and almost as many distinct versions of exactly how it was written. They're all implementing the same standard. Pull them out to the top, so the more interesting logic that remains becomes easier to read.
* bpo-37759: Second round of edits to Whatsnew 3.8 (GH-15204)Raymond Hettinger2019-08-121-20/+88
|
* Remove versioned executables from non-APPX packages (GH-15237)Steve Dower2019-08-121-3/+0
|
* bpo-37354: Sign Activate.ps1 for release (GH-15235)Steve Dower2019-08-126-4/+29
|
* bpo-37354: Make Powershell Activate.ps1 script static to allow for signing ↵Derek Keeler2019-08-122-28/+204
| | | | | | | | | | (GH-14967) - Remove use of replacement text in the script - Make use of the pyvenv.cfg file for prompt value. - Add parameters to allow more flexibility - Make use of the current path, and assumptions about where env puts things, to compensate - Make the script a bit more 'idiomatic' Powershell - Add script documentation (Get-Help .\.venv\Scripts\Activate.ps1 shows PS help page now
* bpo-37804: Remove the deprecated method threading.Thread.isAlive() (GH-15225)Dong-hee Na2019-08-124-12/+6
|
* Fix docs for assert_called and assert_called_once (#15197)Ismail S2019-08-121-2/+2
|
* bpo-37819: Add Fraction.as_integer_ratio() (GH-15212)Raymond Hettinger2019-08-114-0/+23
|
* bpo-32178: Fix IndexError trying to parse 'To' header starting with ':'. ↵Abhilash Raj2019-08-113-1/+12
| | | | | | | | | | (GH-15044) This should fix the IndexError trying to retrieve `DisplayName.display_name` and `DisplayName.value` when the `value` is basically an empty string. https://bugs.python.org/issue32178
* Delete leftover clinic-generated file for C zipimport. (GH-15174)Greg Price2019-08-101-325/+0
|
* bpo-32912: Revert SyntaxWarning on invalid escape sequences. (GH-15195)Gregory P. Smith2019-08-106-18/+43
| | | | | | | | | | | | | | | | | | DeprecationWarning will continue to be emitted for invalid escape sequences in string and bytes literals just as it did in 3.7. SyntaxWarning may be emitted in the future. But per mailing list discussion, we don't yet know when because we haven't settled on how to do so in a non-disruptive manner. (Applies 4c5b6bac2408f879231c7cd38d67657dd4804e7c to the master branch). (This is https://github.com/python/cpython/pull/15142 for master/3.9) https://bugs.python.org/issue32912 Automerge-Triggered-By: @gpshead
* bpo-37642: Update acceptable offsets in timezone (GH-14878)Ngalim Siregar2019-08-095-5/+44
| | | | | | | | | This fixes an inconsistency between the Python and C implementations of the datetime module. The pure python version of the code was not accepting offsets greater than 23:59 but less than 24:00. This is an accidental legacy of the original implementation, which was put in place before tzinfo allowed sub-minute time zone offsets. GH-14878
* bpo-36511: Fix failures in Windows ARM32 buildbot (GH-15181)Paul Monson2019-08-082-0/+2
|
* bpo-37795: Capture DeprecationWarnings in the test suite (GH-15184)Pablo Galindo2019-08-082-3/+11
|
* bpo-37268: test_parser fails when run with -Werror (GH-15183)Zackery Spytz2019-08-081-1/+5
| | | | | | | | | | | | | Use warnings.filterwarnings() when importing the deprecated parser module. @pablogsal https://bugs.python.org/issue37268 Automerge-Triggered-By: @pablogsal
* bpo-25172: Raise appropriate ImportError msg when crypt module used on ↵shireenrao2019-08-082-1/+11
| | | | Windows (GH-15149)
* bpo-37587: optimize json.loads (GH-15134)Inada Naoki2019-08-081-20/+19
| | | | | | | Use a tighter scope temporary variable to help register allocation. 1% speedup for large string. Use PyDict_SetItemDefault() for memoizing keys. At most 4% speedup when the cache hit ratio is low.
* bpo-35892: Add usage note to mode() (GH-15122)Raymond Hettinger2019-08-081-1/+3
|
* bpo-37685: Use singletons ALWAYS_EQ and NEVER_EQ in more tests. (GH-15167)Serhiy Storchaka2019-08-089-57/+30
|
* bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952)Serhiy Storchaka2019-08-0823-1147/+1292
| | | | They now return NotImplemented for unsupported type of the other operand.
* bpo-34775: Return NotImplemented in PurePath division. (GH-9509)aiudirog2019-08-083-2/+52
|
* bpo-37734: Remove unnecessary brace escapes in PC/layout script (GH-15165)Steve Dower2019-08-071-1/+1
|
* bpo-37778: Fixes the icons used for file associations to the Microsoft Store ↵Steve Dower2019-08-073-14/+20
| | | | package (GH-15150)
* bpo-37734: Fix use of registry values to launch Python from Microsoft Store ↵Steve Dower2019-08-073-9/+16
| | | | app (GH-15146)
* Update pickle.rst (GH-14128)Géry Ogam2019-08-061-17/+19
| | | | * Edits for readability and grammar
* bpo-37004: Documented asymmetry of string arguments in ↵sweeneyde2019-08-062-0/+11
| | | | | difflib.SequenceMatcher for ratio method (GH-13482) https://bugs.python.org/issue37004
* bpo-37646: Document that eval() cannot access nested scopes (GH-15117)Raymond Hettinger2019-08-061-6/+10
|
* bpo-34488: optimize BytesIO.writelines() (GH-8904)Sergey Fedoseev2019-08-072-36/+61
| | | Avoid the creation of unused int object for each line.
* Make importlib.metadata a simple module (#15153)Barry Warsaw2019-08-061-0/+0
|
* Improve signal documentation (GH-14274)Géry Ogam2019-08-061-20/+22
| | | | * add a missing ``.. availability::`` reST explicit markup; * more consistent "see man page" sentences.
* bpo-37759: First round of major edits to Whatsnew 3.8 (GH-15127)Raymond Hettinger2019-08-052-37/+169
|
* bpo-36419: IDLE - Refactor autocompete and improve testing. (#15121)Terry Jan Reedy2019-08-044-177/+217
|