Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | GH-98363: Use better accessor macro (#98535) | Raymond Hettinger | 2022-10-21 | 1 | -1/+1 | |
| | ||||||
* | gh-51511: Note that codecs.open()'s encoding parameter affects automatic ↵ | Stanley | 2022-10-21 | 3 | -3/+6 | |
| | | | | conversion to binary mode (#94370) | |||||
* | bpo-2716: add license for audioop module (#19972) | Furkan Onder | 2022-10-21 | 2 | -14/+55 | |
| | ||||||
* | gh-98298: [Enum] document ReprEnum, global_enum, and show_flag_values (GH-98455) | Ethan Furman | 2022-10-21 | 1 | -1/+47 | |
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | |||||
* | GH-98363: Fix exception handling in batched() (GH-98523) | Raymond Hettinger | 2022-10-21 | 2 | -8/+36 | |
| | ||||||
* | gh-95027: Fix regrtest stdout encoding on Windows (#98492) | Victor Stinner | 2022-10-21 | 2 | -3/+15 | |
| | | | | | | On Windows, when the Python test suite is run with the -jN option, the ANSI code page is now used as the encoding for the stdout temporary file, rather than using UTF-8 which can lead to decoding errors. | |||||
* | gh-91051: allow setting a callback hook on PyType_Modified (GH-97875) | Carl Meyer | 2022-10-21 | 9 | -5/+462 | |
| | ||||||
* | gh-98172: [doc] mention that except* handles naked exceptions (GH-98496) | Irit Katriel | 2022-10-21 | 1 | -1/+13 | |
| | ||||||
* | gh-97514: Don't use Linux abstract sockets for multiprocessing (#98501) | Gregory P. Smith | 2022-10-20 | 2 | -5/+15 | |
| | | | | | | | | | | | | | | | Linux abstract sockets are insecure as they lack any form of filesystem permissions so their use allows anyone on the system to inject code into the process. This removes the default preference for abstract sockets in multiprocessing introduced in Python 3.9+ via https://github.com/python/cpython/pull/18866 while fixing https://github.com/python/cpython/issues/84031. Explicit use of an abstract socket by a user now generates a RuntimeWarning. If we choose to keep this warning, it should be backported to the 3.7 and 3.8 branches. | |||||
* | gh-97912: Avoid quadratic behavior when adding LOAD_FAST_CHECK (GH-97952) | Dennis Sweeney | 2022-10-20 | 3 | -64/+175 | |
| | | | | | * The compiler analyzes the usage of the first 64 local variables all at once using bit masks. * Local variables beyond the first 64 are only partially analyzed, achieving linear time. | |||||
* | gh-96035: Make urllib.parse.urlparse reject non-numeric ports (#98273) | Ben Kallus | 2022-10-20 | 3 | -12/+18 | |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | gh-98461: Fix source location in comprehensions bytecode (GH-98464) | Irit Katriel | 2022-10-20 | 3 | -60/+234 | |
| | ||||||
* | gh-98421: Clean Up PyObject_Print (GH-98422) | MonadChains | 2022-10-20 | 1 | -17/+8 | |
| | | | | | Work on test coverage for `PyObject_Print` made it clear that some lines can't get executed. Simplify the function by excluding the checks for non-string types. Also eliminate creating a temporary bytes object. | |||||
* | gh-98360: multiprocessing now spawns children on Windows with correct ↵ | Steve Dower | 2022-10-20 | 4 | -3/+62 | |
| | | | | argv[0] in virtual environments (GH-98462) | |||||
* | CODEOWNERS: Become a typing code owner (#98480) | Alex Waygood | 2022-10-20 | 1 | -1/+1 | |
| | ||||||
* | [doc] Improve logging cookbook example. (GH-98481) | Vinay Sajip | 2022-10-20 | 1 | -0/+65 | |
| | ||||||
* | Add more tkinter.Canvas tests (GH-98475) | Serhiy Storchaka | 2022-10-20 | 1 | -0/+158 | |
| | | | | It is a prerequisite for #94473. Add tests for the coords() method and for creation of some Canvas items. | |||||
* | gh-95023: Added os.setns and os.unshare functions (#95046) | Noam Cohen | 2022-10-20 | 11 | -1/+418 | |
| | | | | | | | | Added os.setns and os.unshare to easily switch between namespaces on Linux. Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Victor Stinner <vstinner@python.org> | |||||
* | GH-98363: Presize the list for batched() (GH-98419) | Raymond Hettinger | 2022-10-20 | 1 | -13/+13 | |
| | ||||||
* | gh-98374: Suppress ImportError for invalid query for help() command. (gh-98450) | Dong-hee Na | 2022-10-20 | 2 | -1/+6 | |
| | ||||||
* | typing tests: `_overload_dummy` raises `NotImplementedError`, not ↵ | Nikita Sobolev | 2022-10-20 | 1 | -1/+1 | |
| | | | | `RuntimeError` (#98351) | |||||
* | gh-98354: Add unicode check for 'name' attribute in _imp_create_builtin ↵ | chgnrdv | 2022-10-20 | 3 | -0/+43 | |
| | | | | | (GH-98412) Fixes #98354 | |||||
* | gh-98257: Make _PyEval_SetTrace() reentrant (#98258) | Victor Stinner | 2022-10-19 | 4 | -56/+20 | |
| | | | | | | | | | | Make sys.setprofile() and sys.settrace() functions reentrant. They can no long fail with: RuntimeError("Cannot install a trace function while another trace function is being installed"). Make _PyEval_SetTrace() and _PyEval_SetProfile() functions reentrant, rather than detecting and rejecting reentrant calls. Only delete the reference to function arguments once the new function is fully set, when a reentrant call is safe. Call also _PySys_Audit() earlier. | |||||
* | gh-98414: py.exe launcher does not use defaults for -V:company/ option ↵ | Steve Dower | 2022-10-19 | 3 | -0/+11 | |
| | | | | (GH-98460) | |||||
* | gh-98417: Store int_max_str_digits on the Interpreter State (GH-98418) | Eric Snow | 2022-10-19 | 4 | -5/+13 | |
| | ||||||
* | Doc: Remove title text from internal links (#98409) | Rafael Fontenelle | 2022-10-19 | 1 | -5/+3 | |
| | | | Rely on the title of the linked internal page instead of putting the title. Sphinx will render with the title correctly, and this will reduce work for translators | |||||
* | [doc] Refresh the venv introduction documentation, and correct the statement ↵ | Phil Elson | 2022-10-19 | 2 | -95/+84 | |
| | | | | | about VIRTUAL_ENV (GH-98350) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | |||||
* | Docs: Bump sphinx-lint and fix unbalanced inline literal markup (#98441) | Hugo van Kemenade | 2022-10-19 | 2 | -5/+2 | |
| | | | Bump sphinx-lint and fix unbalanced inline literal markup | |||||
* | gh-92886: Replace assertion statements in `handlers.BaseHandler` to support ↵ | Jack Hindmarch | 2022-10-19 | 2 | -3/+10 | |
| | | | | running with optimizations (`-O`) (GH-93231) | |||||
* | gh-92886: Fix tests that fail when running with optimizations (`-O`) in ↵ | Jack Hindmarch | 2022-10-19 | 2 | -23/+29 | |
| | | | | `_test_multiprocessing.py` (GH-93233) | |||||
* | gh-92886: Fix tests that fail when running with optimizations (`-O`) in ↵ | Jack Hindmarch | 2022-10-19 | 2 | -2/+4 | |
| | | | | `test_py_compile.py` (GH-93235) | |||||
* | gh-98398: Fix source locations for 'assert' bytecode (GH-98405) | Irit Katriel | 2022-10-19 | 3 | -9/+28 | |
| | ||||||
* | gh-97928: Fix handling options starting with "-" in tkinter.Text.count() ↵ | Serhiy Storchaka | 2022-10-19 | 3 | -4/+4 | |
| | | | | | (GH-98436) Previously they were silently ignored. Now they are errors. | |||||
* | gh-97928: Add tests for tkinter.Text.count() (GH-98269) | Serhiy Storchaka | 2022-10-19 | 1 | -0/+54 | |
| | ||||||
* | gh-95913: Edit zipfile Whatsnew section & add new APIs (#98314) | C.A.M. Gerlach | 2022-10-19 | 1 | -2/+14 | |
| | | | | | | | | | * Link ZipFile in What's New entry discussing it * Add entry for new ZipFile.mkdir method * Add entry for new zipfile.Path.stem/suffix/suffixes methods * Add missing line breaks between zipfile bullet list items | |||||
* | gh-95913: Add WhatsNew section for new logging APIs (#98320) | C.A.M. Gerlach | 2022-10-19 | 1 | -0/+20 | |
| | | | | | | | * Add entry for new logging.getLevelNamesMapping function * Add entry for SysLogHandler.createSocket to whatsnew * Add missing line break between logging bullet list items | |||||
* | Fix markup indentation (GH-98424) | Raymond Hettinger | 2022-10-19 | 1 | -1/+1 | |
| | | | Fix markup | |||||
* | gh-95914: Add links to 3.11 WhatsNew Summary items (#98416) | C.A.M. Gerlach | 2022-10-18 | 1 | -26/+38 | |
| | | | Add links to Summary items to where readers can learn more | |||||
* | General improvements to the itertools docs (GH-98408) | Raymond Hettinger | 2022-10-18 | 1 | -51/+92 | |
| | ||||||
* | gh-98390: Fix source locations of boolean sub-expressions (GH-98396) | Irit Katriel | 2022-10-18 | 3 | -1/+28 | |
| | ||||||
* | gh-92886: Fixing tests that fail when running with optimizations (`-O`) in ↵ | Jack Hindmarch | 2022-10-18 | 2 | -6/+5 | |
| | | | | `test_sys_settrace.py` (GH-93234) | |||||
* | gh-98393: os module reject bytes-like, only accept bytes (#98394) | Victor Stinner | 2022-10-18 | 9 | -89/+48 | |
| | | | | | The os module and the PyUnicode_FSDecoder() function no longer accept bytes-like paths, like bytearray and memoryview types: only the exact bytes type is accepted for bytes strings. | |||||
* | gh-98331: Update bundled pip to 22.3 (#98332) | Paul Moore | 2022-10-18 | 4 | -2/+3 | |
| | ||||||
* | Doc: Found some remaining default roles. (GH-98392) | Julien Palard | 2022-10-18 | 4 | -4/+4 | |
| | ||||||
* | gh-98378: Add small format string example to strftime comments (GH-98379) | Alex Zvorygin | 2022-10-18 | 1 | -1/+5 | |
| | | | | | A small example of what a full date and time would look like would help a lot of developers who may not realize that they should investigate `time.h`'s `strftime`, run `man strftime`, or click through a series of docs on the python docs before they get to the actual [definition here](https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes) which still doesn't have an obvious copy-pastable example of "what the heck format does this thing actually expect?". Automerge-Triggered-By: GH:rhettinger | |||||
* | Doc: missing underscore in hyperlink. (GH-98391) | Julien Palard | 2022-10-18 | 1 | -1/+1 | |
| | ||||||
* | gh-95913: Copyedit, xref and organize enum section (#98295) | C.A.M. Gerlach | 2022-10-18 | 1 | -38/+64 | |
| | | | | | | | | | | | * Whatsnew: Convert literals in enum section to actual x-references * Whatsnew: Rewrite enum section for clear and consistant phrasing * Whatsnew: Combine directly related enum items instead of seperating them * gh-98250: Describe __str__/__format__ changes more clearly/accurately * Tweak enum section language per feedback from Ethan | |||||
* | gh-95913: Prepare remaining Whatsnew sections for editing (#98342) | C.A.M. Gerlach | 2022-10-18 | 1 | -28/+105 | |
| | | | | | | | | | * Add line breaks & ref targets to Whatsnew to prepare for future changes * Use standard heading underbar symbols for H4 sections * Flatten Porting subsection; clarify scope of/link Python->CAPI sections * Move C API pending deprecations to C API section, to match the others | |||||
* | Fix typos in comments (GH-98375) | Raymond Hettinger | 2022-10-18 | 1 | -2/+2 | |
| | ||||||
* | GH-98363: Add itertools.batched() (GH-98364) | Raymond Hettinger | 2022-10-17 | 5 | -39/+370 | |
| |