| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
os.posix_spawn(). (#6332)
|
|
|
|
|
|
| |
(GH-4205)
Previously emitted cover files only when --missing option was used.
|
|
|
|
| |
namespace package (GH-6467)
|
| |
|
|
|
|
| |
html (GH-6442)
|
| |
|
| |
|
| |
|
|
|
| |
Fix test_embed.test_pre_initialization_sys_options() when building with --enable-shared
|
| |
|
|
|
| |
Added tests to ensure that all defined opcodes are supported.
|
|
|
|
|
|
|
|
|
| |
(GH-6273)
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.
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
| |
as docstrings and translatable strings, and rejects
bytes literals and f-string expressions.
|
|
|
|
| |
Converting with line_info=False and col_info=True crashed before.
|
|
|
|
|
| |
`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.
|
|
|
|
| |
(GH-6291)
|
| |
|
|
|
|
|
|
| |
Adds some working and markup fixes that I missed
in the initial commit for this issue.
(Follow-up to GH-6419)
|
|
|
|
|
|
|
|
|
|
| |
The pydoc CLI assumed -m pydoc would add the empty string
to sys.path, and hence got confused when it switched to
adding the full initial working directory instead.
This refactors the pydoc CLI path manipulation to be
more testable, and ensures it won't accidentally
remove the standard library directory containing
pydoc itself from sys.path.
|
| |
|
|
|
|
|
|
| |
interpreter exit (GH-6144)
Executors in concurrent.futures accepted tasks after executor was shutdown by interpreter exit. Tasks were left in PENDING state forever. This fix changes submit to instead raise a RuntimeError.
|
|
|
|
|
| |
script. (GH-6259)
Based on patch by Oleg Krasnikov.
|
|
|
|
|
| |
Large shared arrays allocated using multiprocessing would remain allocated
until the process ends.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-29613: Added support for SameSite cookies
Implemented as per draft
https://tools.ietf.org/html/draft-west-first-party-cookies-07
* Documented SameSite
And suggestions by members.
* Missing space :(
* Updated News and contributors
* Added version changed details.
* Fix in documentation
* fix in documentation
* Clubbed test cases for same attribute into single.
* Updates
* Style nits + expand tests
* review feedback
|
|
|
|
|
| |
invalidating caches (GH-6402)
An entry of None in sys.path_importer_cache represents a negative/missing finder for a path, so clearing it out makes sense.
|
| |
|
|
|
|
|
|
| |
(GH-6338)
|
|
|
|
|
| |
* Add a test for frozen with unhashable field value.
* Improve a comment.
|
|
|
|
| |
This removes a hack and replaces it with a proper
mapping {'list': 'List', 'dict': 'Dict', ...}.
|
| |
|
|
|
|
| |
Different paths are executed for normal exit and for leaving
the 'async with' block with 'break', 'continue' or 'return'.
|
|
|
|
| |
pickle.Pickler.dump(). (GH-6363)
|
|
|
| |
when __aenter__() or __aexit__() return non-awaitable object.
|
| |
|
|
|
|
| |
(GH-6305)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-6113)
test_asyncio hangs indefinitely on macOS 10.13.2+ on `read_pty_output()`
using the KqueueSelector. Closing `proto.transport` (as is done in
`write_pty_output()`) seems to fix it.
(cherry picked from commit 12f74d8608c15cacd9d5786524e2be9ca36f007e)
Co-authored-by: Nathan Henrie <n8henrie@users.noreply.github.com>
Also, re-enable test_read_pty_output on macOS.
|
| |
|
|
|
|
| |
(GH-6195)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
copy and pickle (GH-6216)
This also fixes python/typing#512
This also fixes python/typing#511
As was discussed in both issues, some typing forms deserve to be treated
as immutable by copy and pickle modules, so that:
* copy(X) is X
* deepcopy(X) is X
* loads(dumps(X)) is X # pickled by reference
This PR adds such behaviour to:
* Type variables
* Special forms like Union, Any, ClassVar
* Unsubscripted generic aliases to containers like List, Mapping, Iterable
This not only resolves inconsistencies mentioned in the issues, but also
improves backwards compatibility with previous versions of Python
(including 3.6).
Note that this requires some dances with __module__ for type variables
(similar to NamedTuple) because the class TypeVar itself is define in typing,
while type variables should get module where they were defined.
https://bugs.python.org/issue32873
|
|
|
|
|
|
|
|
|
|
| |
bpo-32844: subprocess: Fix a potential misredirection of a low fd to stderr.
When redirecting, subprocess attempts to achieve the following state:
each fd to be redirected to is less than or equal to the fd
it is redirected from, which is necessary because redirection
occurs in the ascending order of destination descriptors.
It fails to do so in a couple of corner cases,
for example, if 1 is redirected to 2 and 0 is closed in the parent.
|
|
|
|
|
| |
argument. (GH-6260)
This is part of PEP 487 and the descriptor protocol.
|
| |
|
|
|
| |
Also, re-enable a test for ClassVars with default_factory.
|
|
|
|
| |
I noticed this had slipped into the original commit when
resolving a merge conflict for the backport to 3.7.
|
| |
|