Serhiy Storchaka
12a69db908
Convert os.readlink() to Argument Clinic. (GH-8778)
Also convert os.get_blocking() and os.set_blocking().
8 years ago
Serhiy Storchaka
9bdb7be482
bpo-34341: Fix appending to ZIP archives with the ZIP64 extension. (GH-8683)
8 years ago
Serhiy Storchaka
da8d72c953
bpo-12458: Fix line numbers for multiline expressions. (GH-8774)
8 years ago
Serhiy Storchaka
5e99b56d6b
bpo-33216: Improve the documentation for CALL_FUNCTION_* (GH-8338) (GH-8784)
8 years ago
Alexandru Ardelean
b3a271fc0c
bpo-34710: fix SSL module build (GH-9347)
Include ``openssl/dh.h`` header file to fix implicit function declaration of ``DH_free()``.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
8 years ago
Serhiy Storchaka
e0e5065dae
bpo-34610: Fixed iterator of multiprocessing.managers.DictProxy. (GH-9113)
8 years ago
Benjamin Peterson
ddd1949fea
closes bpo-34673: Tweaks to make ceval more editable. (GH-9289)
Two major changes:
- Move case statements out of the TARGET macro.
- Move PREDICT macro invocations after the case label.
8 years ago
Bumsik Kim
5cc583d940
bpo-33649: Clarify protocol_factory as a method parameter (GH-9330)
8 years ago
Vladimir Matveev
7843caeb90
bpo-34603, ctypes/libffi_msvc: Fix returning structs from functions (GH-9258)
8 years ago
Monson Shao
10a428b64b
closes bpo-34515: Support non-ASCII identifiers in lib2to3. (GH-8950)
8 years ago
Michael Felt
d2067318c7
bpo-34579: Fix test_embed DEFAULT_CON AIX (GH-9063)
* Modify DEFAULT_CONFIG for AIX
* bedevere/news did not like old name
* Modify NEWS entry
* Modified per peer review
* Define and use NULL_STR constant to account for AIX libc behavior
* Modify per peer review
* Modify NEWS
8 years ago
Ezio Melotti
3d07349d19
Add myself for HTML-related modules ( #9325 )
8 years ago
Yury Selivanov
805e27eff6
bpo-33649: Fix asyncio-dev (GH-9324)
8 years ago
Benjamin Peterson
afde1c1a05
Simplify PyInit_timezone. (GH-9323)
Assume tzname exists. Only use a hack to compute altzone if it's not defined.
8 years ago
Eitan Adler
24f6846920
bpo-33486: regen autotools files using autoupdate+autoreconf (GH-6853)
8 years ago
Pablo Galindo
3d18b50a12
bpo-34685: Skip posix_spawn scheduler tests on BSD (GH-9316)
* Skip posix_spawn scheduler tests on BSD. We were already skyping similar tests as the behaviour can depend on the implementation in some cases.
8 years ago
Yury Selivanov
7372c3bbef
bpo-33649: Add high-level APIs cheat-sheet (GH-9319)
8 years ago
Yury Selivanov
6c7316439d
bpo-33649: Refresh asyncio docs landing page (GH-9322)
8 years ago
Grant
5acccfaf68
Grammar fix (GH-9318)
8 years ago
Eric Snow
5903296045
bpo-34651: Only allow the main interpreter to fork. (gh-9279)
When os.fork() is called (on platforms that support it) all threads but the current one are destroyed in the child process. Consequently we must ensure that all but the associated interpreter are likewise destroyed. The main interpreter is critical for runtime operation, so we must ensure that fork only happens in the main interpreter.
https://bugs.python.org/issue34651
8 years ago
Yury Selivanov
3faaa8857a
bpo-33649: Refresh Tasks and Futures pages ( #9314 )
* bpo-33649: Refresh Tasks and Futures pages
* Fixes
* Fix markup
8 years ago
Tony Flury
ad8a000420
closes bpo-28955: Clarified comparisons between NaN and number in reference documentation (GH-5982)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
8 years ago
Benjamin Peterson
b93062b7fb
bpo-34672: Don't pass NULL to gmtime_r. (GH-9312)
8 years ago
Andrés Delfino
271818fe27
Fix "Python" casing in a few places (GH-9001)
8 years ago
Carol Willing
c9d66f0ed4
bpo-33649 Polish asyncio docs on queues, protocols, and subproccesses ( #9306 )
* small clarification
* edits to protocols doc
* Edit async queue doc
8 years ago
Benjamin Peterson
5633c4f342
bpo-34672: Try to pass the C library's own timezone strings back to it. (GH-9288)
8 years ago
Benjamin Peterson
a4414ef20b
Don't run AC_STRUCT_TIMEZONE twice. (GH-9305)
8 years ago
Eric V. Smith
9b9d97dd13
bpo-34363: dataclasses.asdict() and .astuple() now handle fields which are namedtuples. (GH-9151)
8 years ago
Raymond Hettinger
73820a60cc
Fix compiler warning with a type cast (GH-9300)
8 years ago
Raymond Hettinger
00bc08ec11
Fix-up parenthesis, organization, and NULL check (GH-9297)
8 years ago
Raymond Hettinger
902bcd9a1e
Note that distinct argument patterns can be cached separately (GH-9298)
8 years ago
Lisa Roach
5ac704306f
bpo-33073: Adding as_integer_ratio to ints. (GH-8750)
8 years ago
觉
83df50ea57
Change the xkcd link in comment over https. (GH-5452)
8 years ago
Gregory P. Smith
19003841e9
bpo-6721: Hold logging locks across fork() (GH-4071)
bpo-6721: When os.fork() was called while another thread holds a logging lock, the child process may deadlock when it tries to log. This fixes that by acquiring all logging locks before fork and releasing them afterwards.
A regression test that fails before this change is included.
Within the new unittest itself: There is a small _potential_ due to mixing of fork and a thread in the child process if the parent's thread happened to hold a non-reentrant library call lock (malloc?) when the os.fork() happens. buildbots and time will tell if this actually manifests itself in this test or not. :/ A functionality test that avoids that would be a challenge.
An alternate test that isn't trying to produce the deadlock itself but just checking that the release and acquire calls are made would be the next best alternative if so.
8 years ago
Benjamin Peterson
ea13740a37
bpo-34674: Assume unistd.h exists on Unix. (GH-9290)
8 years ago
Windson yang
1aeba7458d
bpo-34552: Clarify built-in types comparisons (GH-9035)
Some updates to ancient text about comparisons; fixes bp-34552.
8 years ago
Raymond Hettinger
1401018da1
Remove wording that could be deemed to be perjorative (GH-9287)
8 years ago
Carol Willing
4e824e9649
bpo-33649: Polish asyncio subprocess and sync docs (GH-9285)
Second pass for asyncio subprocess and sync docs.
https://bugs.python.org/issue33649
8 years ago
Andrew Svetlov
11194c877c
bpo-34666: Implement stream.awrite() and stream.aclose() (GH-9274)
8 years ago
Michael Felt
413118ebf3
Fix test_asyncio for AIX - do not call transport.get_extra_info('sockname') ( #8907 )
8 years ago
Carol Willing
a3c8ba7235
polish exceptions and platforms (GH-9272)
8 years ago
Benjamin Peterson
01e0afa994
bpo-31132: Remove prlimit permission test. (GH-9280)
This test is doesn't work when the test process is privledged, which is hard to detect.
https://bugs.python.org/issue34668
8 years ago
Benjamin Peterson
84db4a9978
closes bpo-34664: Only check file permission bits of newly created directories. (GH-9273)
8 years ago
Ned Deily
66755cbb1e
bpo-34247: add porting note to 3.7 What's New (GH-9223)
8 years ago
Benjamin Peterson
e78734d579
bpo-34661: Fix test skipping call. (GH-9266)
8 years ago
Benjamin Peterson
a710ebd21b
closes bpo-34661: Fix test_shutil if unzip doesn't support -t. (GH-9262)
8 years ago
Eric V. Smith
53c427e839
bpo-34653: Removed unused function PyParser_SimpleParseStringFilename. (GH-9260)
This function was not in any .h file and was not used by Python, so removing it is safe.
https://bugs.python.org/issue34653
8 years ago
Gregory P. Smith
a20b6adb5a
bpo-34658: Fix rare subprocess prexec_fn fork error. (GH-9255)
[bpo-34658](https://www.bugs.python.org/issue34658 ): Fix a rare interpreter unhandled exception state SystemError only
seen when using subprocess with a preexec_fn while an after_parent handler has
been registered with os.register_at_fork and the fork system call fails.
https://bugs.python.org/issue34658
8 years ago
Carol Willing
1abba455d1
Polish doc as part of asyncio doc improvement (GH-9185)
8 years ago
Gregory P. Smith
4ae8ece5cd
bpo-34200: Fix non-determinism of test_pkg (GH-9248)
This causes the tearDown code to only unimport the test modules specifically created as part of each test via the self.mkhier method rather than abusing test.support.modules_setup() and the scary test.support.modules_cleanup() code.
https://bugs.python.org/issue34200
8 years ago