[issue37689] Add Path.is_relative_to()

2019-08-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 82642a052dc46b2180679518bc8d87e1a28a88b5 by Antoine Pitrou (Hai Shi) in branch 'master': bpo-37689: add Path.is_relative_to() method (GH-14982) https://github.com/python/cpython/commit/82642a052dc46b2180679518bc8d87e1a28a88b5

[issue24413] Inconsistent behavior between set and dict_keys/dict_items: for non-iterable object x, set().__or__(x) returns NotImplemented, but {}.keys().__or__(x) raises TypeError

2019-08-07 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: -pitrou ___ Python tracker <https://bugs.python.org/issue24413> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34101] PyBuffer_GetPointer() not documented

2019-07-31 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker <https://bugs.python.or

[issue34101] PyBuffer_GetPointer() not documented

2019-07-31 Thread Antoine Pitrou
Change by Antoine Pitrou : -- versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue34101> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34101] PyBuffer_GetPointer() not documented

2019-07-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 353306137176985f1a2995ff964b0c00eccd1434 by Antoine Pitrou (Miss Islington (bot)) in branch '3.7': bpo-34101: Add doc of PyBuffer_GetPointer (GH-14994) (GH-15055) https://github.com/python/cpython/commit/353306137176985f1a2995ff964b0c00eccd1434

[issue34101] PyBuffer_GetPointer() not documented

2019-07-31 Thread Antoine Pitrou
New submission from Antoine Pitrou : New changeset 1b29af83bc17e773b0c0d117f5fe1018fde46b0d by Antoine Pitrou (Hai Shi) in branch 'master': bpo-34101: Add doc of PyBuffer_GetPointer (GH-14994) https://github.com/python/cpython/commit/1b29af83bc17e773b0c0d117f5fe1018fde46b0d

[issue37689] Add Path.is_relative_to()

2019-07-26 Thread Antoine Pitrou
New submission from Antoine Pitrou : Right now, to know whether a Path is relative to another one, you have to call Path.relative_to(), catch ValueError, and act in consequence. It would be nice to have a Path.is_relative_to() that does the equivalent for you and returns True/False

[issue37688] The results from os.path.isdir(...) an Path(...).is_dir() are not equivalent for empty path strings.

2019-07-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: If "equivalent" is deceiving, perhaps replace it with "similary" or "roughly equivalent". Feel free to post a PR with your preferred wording. -- ___ Python tracker <h

[issue37635] Using constant for whence arg in seek()

2019-07-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't know. "whence" is the official name of the argument in the POSIX API: https://pubs.opengroup.org/onlinepubs/9699919799/functions/lseek.html Perhaps "from_what" is assumed to be more understandable by the average reader? Also,

[issue37502] Fix default argument handling for buffers argument in pickle.loads

2019-07-25 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue37502] Fix default argument handling for buffers argument in pickle.loads

2019-07-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 898318b53d921298d1f1fcfa0f415844afbeb318 by Antoine Pitrou (Markus Mohrhard) in branch 'master': bpo-37502: handle default parameter for buffers argument of pickle.loads correctly (GH-14593) https://github.com/python/cpython/commit

[issue37652] Multiprocessing shared_memory ValueError on race with ShareableList

2019-07-25 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +pierreglaser ___ Python tracker <https://bugs.python.org/issue37652> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30685] Multiprocessing Send to Manager Fails for Large Payload

2019-07-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: That's right. Thanks Zackery! -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> problem using multiprocessing with really big objects? ___ Python tra

[issue37635] Using constant for whence arg in seek()

2019-07-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: I would agree with changing the tutorial. The rest doesn't need to be changed. -- ___ Python tracker <https://bugs.python.org/issue37

[issue37558] Shared memory tests are failing due to double slashes

2019-07-11 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue37507] multiprocessing: Add a stop() method to ForkServer

2019-07-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: There is no reason to expose "stop the forkserver" to users. How the forkserver process works, what tasks it handles, is an implementation detail. If users start "stopping the forkserver" in their applications for no good to reason, the

[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record

2019-07-03 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +asvetlov, yselivanov versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue37355> ___ ___ Python-bugs-list m

[issue31517] MainThread association logic is fragile

2019-07-03 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +aldwinaldwin, fabioz, int19h, vstinner ___ Python tracker <https://bugs.python.org/issue31517> ___ ___ Python-bugs-list m

[issue31517] MainThread association logic is fragile

2019-07-03 Thread Antoine Pitrou
Change by Antoine Pitrou : -- versions: +Python 3.8, Python 3.9 -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue31517> ___ ___ Python-bug

[issue37416] If threading is not imported from the main thread it sees the wrong thread as the main thread.

2019-07-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is a duplicate of #31517. -- nosy: +pitrou resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> MainThread association logic is fragile ___ Python tra

[issue37486] pathlib.Path('.').parent is itself rather than parent

2019-07-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is by design. The "parent" attribute is a *lexical operation*. If you want to walk the actual filesystem, first call resolve(). It's even documented: https://docs.python.org/3/library/pathlib.html#pathlib.PurePath.parent --

[issue37209] Add what's new entries for pickle enhancements

2019-07-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset e224d2865aa0f021b25d68de9a6c2be617341f4c by Antoine Pitrou (Miss Islington (bot)) in branch '3.8': bpo-37209: Add pickle entry for 3.8 whatsnew (GH-14503) (GH-14512) https://github.com/python/cpython/commit

[issue37209] Add what's new entries for pickle enhancements

2019-07-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset ec6c1bd0491590f3c0e2908a7b2dfb91b6acdae9 by Antoine Pitrou (Pierre Glaser) in branch 'master': bpo-37209: Add pickle entry for 3.8 whatsnew (GH-14503) https://github.com/python/cpython/commit/ec6c1bd0491590f3c0e2908a7b2dfb91b6acdae9

[issue36785] Implement PEP 574

2019-06-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Now complete, closing :-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue37130] pathlib does not handle '..' directory

2019-06-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm sorry, but I don't understand the issue here. Instead of posting isolated snippets, could you explain what are you trying to do? -- ___ Python tracker <https://bugs.python.org/issue37

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, closing then. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue37232] Parallel compilation fails because of low ulimit.

2019-06-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: I guess you'd get a similar problem if you were compiling on all cores simultaneously? 256 simultaneous open files is very low. -- ___ Python tracker <https://bugs.python.org/issue37

[issue37232] Parallel compilation fails because of low ulimit.

2019-06-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can't you just up the ulimit? What the current ulimit for your user? -- ___ Python tracker <https://bugs.python.org/issue37

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Right, it is probably not possible to write a pure Python PickleBuffer. There's a reason it's written in C... When you said "make PickleBuffer an optional dependency", I thought you intended to have a usable pure Python Pickler, but witho

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: In short I'm not against making PickleBuffer optional but I'm not sure it makes a lot of sense. Would you make memoryview optional because it's written in C? Is anyone annoyed by the fact that something comes from _pickle.c. (note that the pure Python

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Note that PickleBuffer is really a built-in type (it's defined in Objects/picklebufobject.c). However it's exposed from _pickle.c because it doesn't make sense to expose it in the `builtins` module. -- ___ Python

[issue37209] Add what's new entries for pickle enhancements

2019-06-09 Thread Antoine Pitrou
New submission from Antoine Pitrou : The various pickle enhancements in 3.8 (apart from PEP 574) need to be mentioned in the What's New document (`Doc/whatsnew/3.8.rst`). -- assignee: docs@python components: Documentation, Library (Lib) messages: 345080 nosy: docs@python, ogrisel

[issue36785] Implement PEP 574

2019-06-09 Thread Antoine Pitrou
Change by Antoine Pitrou : -- pull_requests: +13797 pull_request: https://github.com/python/cpython/pull/13931 ___ Python tracker <https://bugs.python.org/issue36

[issue36786] "make install" should run compileall in parallel

2019-06-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ah, I had forgotten to close this issue. Thanks. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-05 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +eryksun ___ Python tracker <https://bugs.python.org/issue28708> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The actual number of descriptors is passed in Yes, but: """The nfds parameter is included only for compatibility with Berkeley sockets.""" ... according to https://docs.microsoft.com/en-us/windows/desktop/api/Winsock2/n

[issue37135] test_multiprocessing_spawn segfaults on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Would be nice if someone could post a gdb backtrace of the core dump. -- ___ Python tracker <https://bugs.python.org/issue37

[issue26836] Add memfd_create to os module

2019-05-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Davin, Pierre, it looks like this could simplify lifetime management of shared memory pools, what do you think? -- nosy: +davin, pierreglaser, pitrou ___ Python tracker <https://bugs.python.org/issue26

[issue30006] Deadlocks in `concurrent.futures.ProcessPoolExecutor`

2019-05-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, closing as duplicate then. -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Deadlocks in `concurrent.futures.ProcessPoolExecutor` with pi

[issue32388] Remove cross-version binary compatibility

2019-05-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset ada319bb6d0ebcc68d3e0ef2b4279ea061877ac8 by Antoine Pitrou in branch 'master': bpo-32388: Remove cross-version binary compatibility requirement in tp_flags (GH-4944) https://github.com/python/cpython/commit

[issue32388] Remove cross-version binary compatibility

2019-05-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: PR is merged now! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32941] mmap should expose madvise()

2019-05-27 Thread Antoine Pitrou
Change by Antoine Pitrou : -- pull_requests: +13503 pull_request: https://github.com/python/cpython/pull/13596 ___ Python tracker <https://bugs.python.org/issue32

[issue32941] mmap should expose madvise()

2019-05-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Josh, sorry, I hadn't seen your message. Those are low-levels operations, so I don't know if it makes sense to implement madvise() in terms of PrefetchVirtualMemory(), or expose a separate wrapper to PrefetchVirtualMemory(). One complication is that we

[issue32941] mmap should expose madvise()

2019-05-27 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32941] mmap should expose madvise()

2019-05-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 02db696732c031d9a0265dc9bbf4f5b1fad042b3 by Antoine Pitrou (Zackery Spytz) in branch 'master': bpo-32941: Add madvise() for mmap objects (GH-6172) https://github.com/python/cpython/commit/02db696732c031d9a0265dc9bbf4f5b1fad042b3

[issue37054] Ignored exceptions in test_memoryio

2019-05-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Or to add `_buffer = None` at the class level. -- ___ Python tracker <https://bugs.python.org/issue37054> ___ ___ Python-bug

[issue36785] Implement PEP 574

2019-05-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 91f4380cedbae32b49adbea2518014a5624c6523 by Antoine Pitrou in branch 'master': bpo-36785: PEP 574 implementation (GH-7076) https://github.com/python/cpython/commit/91f4380cedbae32b49adbea2518014a5624c6523

[issue37054] Ignored exceptions in test_memoryio

2019-05-26 Thread Antoine Pitrou
New submission from Antoine Pitrou : I see the following kind of exceptions when running test_memoryio: Exception ignored in: Traceback (most recent call last): File "/home/antoine/cpython/default/Lib/_pyio.py", line 409, in __del__ self.close() File "/home/antoine/cpyt

[issue1230540] sys.excepthook doesn't work in threads

2019-05-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 25/05/2019 à 23:09, STINNER Victor a écrit : > > I don't see the relationship between the API (signature) and the ability to > set a per-thread hook. > > I'm not convinced that a per-thread hook is needed. Indeed, if you write your own Th

[issue1230540] sys.excepthook doesn't work in threads

2019-05-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sorry, I had overlooked the issue with global variables at shutdown. Though that issue only occurs with daemonic threads, since non-daemonic threads are joined before global variables are cleared. In any case, I think the namedtuple / structseq solution

[issue1230540] sys.excepthook doesn't work in threads

2019-05-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: A Thread.excepthook() method does not allow to notify exceptions raised in C-created threads ("dummy threads"). Also, as I said already, you can get the current thread by calling threading.current_thread() in the except hook. There is no ne

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2019-05-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is what I've found for (32-bit) ARM: - "long double" is 8 bytes long, so it's probably the same as "double" (see http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0274b/index.html) - the standard alignment for "doub

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2019-05-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: And of course, someone who has this issue can at worse recompile Python without pymalloc. -- ___ Python tracker <https://bugs.python.org/issue27

[issue23395] _thread.interrupt_main() errors if SIGINT handler in SIG_DFL, SIG_IGN

2019-05-24 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue23395] _thread.interrupt_main() errors if SIGINT handler in SIG_DFL, SIG_IGN

2019-05-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: It's just a bugfix to avoid a rogue exception. It sounds gratuitous to add markers for bug fixes in the documentation. -- versions: +Python 3.7, Python 3.8 -Python 2.7, Python 3.5 ___ Python tracker <ht

[issue23395] _thread.interrupt_main() errors if SIGINT handler in SIG_DFL, SIG_IGN

2019-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 608876b6b1eb59538e6c29671a733033fb8b5be7 by Antoine Pitrou (Matěj Cepl) in branch 'master': bpo-23395: Fix PyErr_SetInterrupt if the SIGINT signal is ignored or not handled (GH-7778) https://github.com/python/cpython/commit

[issue1230540] sys.excepthook doesn't work in threads

2019-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Moreover, when sys.excepthook is called, the hook doesn't get access to the > thread object You can get it with threading.current_thread(), no? -- ___ Python tracker <https://bugs.python.org/iss

[issue33110] Adding a done callback to a concurrent.futures Future once it has already completed, may raise an exception, contrary to docs

2019-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you Sam for your contribution! -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue24882] ThreadPoolExecutor doesn't reuse threads until #threads == max_workers

2019-05-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you for your contribution iunknwn! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33110] Adding a done callback to a concurrent.futures Future once it has already completed, may raise an exception, contrary to docs

2019-05-22 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed versions: +Python 3.7, Python 3.8 -Python 3.6 ___ Python tracker <https://bugs.python.org/issue33110> ___ _

[issue24882] ThreadPoolExecutor doesn't reuse threads until #threads == max_workers

2019-05-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 904e34d4e6b6007986dcc585d5c553ee8ae06f95 by Antoine Pitrou (Sean) in branch 'master': bpo-24882: Let ThreadPoolExecutor reuse idle threads before creating new thread (#6375) https://github.com/python/cpython/commit

[issue33110] Adding a done callback to a concurrent.futures Future once it has already completed, may raise an exception, contrary to docs

2019-05-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 2a3a2ece502c05ea33c95dd0db497189e0354bfd by Antoine Pitrou (Sam Martin) in branch 'master': bpo-33110: Catch errors raised when running add_done_callback on already completed futures (GH-13141) https://github.com/python/cpython/commit

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2019-05-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Neil, I don't see the point of having this discussion here. -- ___ Python tracker <https://bugs.python.org/issue27987> ___ ___

[issue36035] pathlib.Path().rglob() breaks with broken symlinks

2019-05-21 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6 ___ Python tracker <https://bugs.python.or

[issue36035] pathlib.Path().rglob() breaks with broken symlinks

2019-05-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset d5c120f7eb6f2a9cdab282a5d588afed307a23df by Antoine Pitrou (Jörg Stucke) in branch 'master': bpo-36035: fix Path.rglob for broken links (GH-11988) https://github.com/python/cpython/commit/d5c120f7eb6f2a9cdab282a5d588afed307a23df

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Jake, would you like to submit a new PR that implements Victor's suggestion (i.e. only define and test the attribute on supported systems)? -- ___ Python tracker <https://bugs.python.org/issue36

[issue36888] Create a way to check that the parent process is alive for deamonized processes

2019-05-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Waiting for the next PR now :-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.9 ___ Python tracker <https://bugs.python.or

[issue36888] Create a way to check that the parent process is alive for deamonized processes

2019-05-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset c09a9f56c08d80567454cae6f78f738a89e1ae94 by Antoine Pitrou (Thomas Moreau) in branch 'master': bpo-36888: Add multiprocessing.parent_process() (GH-13247) https://github.com/python/cpython/commit/c09a9f56c08d80567454cae6f78f738a89e1ae94

[issue24882] ThreadPoolExecutor doesn't reuse threads until #threads == max_workers

2019-05-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thomas, I think that's a good argument, so perhaps we should do this (strive to reuse threads) after all. -- ___ Python tracker <https://bugs.python.org/issue24

[issue33123] Path.unlink should have a missing_ok parameter

2019-05-15 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36786] "make install" should run compileall in parallel

2019-05-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 1a2dd82f56bd813aacc570e172cefe55a8a41504 by Antoine Pitrou in branch 'master': bpo-36786: Run compileall in parallel during "make install" (GH-13078) https://github.com/python/cpython/commit/1a2dd82f56bd813aacc570e172cefe

[issue36867] Make semaphore_tracker track other system resources

2019-05-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset b1dfcad6f0d3a52c9ac31fb9763fc7962a84b27c by Antoine Pitrou (Pierre Glaser) in branch 'master': bpo-36867: Create the resource_tracker before launching SharedMemoryManagers (GH-13276) https://github.com/python/cpython/commit

[issue36894] test_multiprocessing_spawn regression on Windows

2019-05-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 95da83d9bac698d420cc308e8699ef6e4fae2aca by Antoine Pitrou in branch 'master': bpo-36894: Fix regression in test_multiprocessing_spawn (no tests run on Windows) (GH-13290) https://github.com/python/cpython/commit

[issue36867] Make semaphore_tracker track other system resources

2019-05-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 50466c66509de556a8579172f82d1abb1560d8e4 by Antoine Pitrou (Pierre Glaser) in branch 'master': bpo-36867: DOC update multiprocessing.rst (GH-13289) https://github.com/python/cpython/commit/50466c66509de556a8579172f82d1abb1560d8e4

[issue36867] Make semaphore_tracker track other system resources

2019-05-13 Thread Antoine Pitrou
Change by Antoine Pitrou : -- pull_requests: +13200 ___ Python tracker <https://bugs.python.org/issue36867> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36894] test_multiprocessing_spawn regression on Windows

2019-05-13 Thread Antoine Pitrou
Change by Antoine Pitrou : -- keywords: +patch pull_requests: +13199 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you Jake for your contribution! -- components: +Library (Lib) resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 4959c33d2555b89b494c678d99be81a65ee864b0 by Antoine Pitrou (Jake Tesler) in branch 'master': bpo-36084: Add native thread ID to threading.Thread objects (GH-11993) https://github.com/python/cpython/commit

[issue36894] test_multiprocessing_spawn regression on Windows

2019-05-12 Thread Antoine Pitrou
New submission from Antoine Pitrou : After bpo-36867, test_multiprocessing_spawn fails running any test on Windows (but it isn't noticed as a fail build). https://ci.appveyor.com/project/python/cpython/builds/24485897#L1264 0:04:05 load avg: 5.39 [389/421] test_multiprocessing_spawn run

[issue36867] Make semaphore_tracker track other system resources

2019-05-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset f22cc69b012f52882d434a5c44a004bc3aa5c33c by Antoine Pitrou (Pierre Glaser) in branch 'master': bpo-36867: Make semaphore_tracker track other system resources (GH-13222) https://github.com/python/cpython/commit

[issue36368] server process of shared_memory shuts down if KeyboardInterrupt

2019-05-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset d0d64ad1f5f1dc1630004091d7f8209546c1220a by Antoine Pitrou (Pierre Glaser) in branch 'master': bpo-36368: Ignore SIGINT in SharedMemoryManager servers. (GH-12483) https://github.com/python/cpython/commit/d0d64ad1f5f1dc1630004091d7f8209546c1220a

[issue34128] Release GIL periodically in _pickle module

2019-05-10 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +pierreglaser ___ Python tracker <https://bugs.python.org/issue34128> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35983] tp_dealloc trashcan shouldn't be called for subclasses

2019-05-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 351c67416ba4451eb3928fa0b2e933c2f25df1a3 by Antoine Pitrou (Jeroen Demeyer) in branch 'master': bpo-35983: skip trashcan for subclasses (GH-11841) https://github.com/python/cpython/commit/351c67416ba4451eb3928fa0b2e933c2f25df1a3

[issue36512] future_factory argument for Thread/ProcessPoolExecutor

2019-05-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'd like to know about the use case too :-) -- ___ Python tracker <https://bugs.python.org/issue36512> ___ ___ Python-bug

[issue36512] future_factory argument for Thread/ProcessPoolExecutor

2019-05-10 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +tomMoral ___ Python tracker <https://bugs.python.org/issue36512> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35900] Add pickler hook for the user to customize the serialization of user defined functions and types.

2019-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Both PRs are now merged. Thank you Pierre! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35900] Add pickler hook for the user to customize the serialization of user defined functions and types.

2019-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 289f1f80ee87a4baf4567a86b3425fb3bf73291d by Antoine Pitrou (Pierre Glaser) in branch 'master': bpo-35900: Enable custom reduction callback registration in _pickle (GH-12499) https://github.com/python/cpython/commit

[issue35900] Add pickler hook for the user to customize the serialization of user defined functions and types.

2019-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 65d98d0f53f558d7c799098da0abf376068c15fd by Antoine Pitrou (Pierre Glaser) in branch 'master': bpo-35900: Add a state_setter arg to save_reduce (GH-12588) https://github.com/python/cpython/commit/65d98d0f53f558d7c799098da0abf376068c15fd

[issue32388] Remove cross-version binary compatibility

2019-05-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: I updated the PR (sorry to let this sleep). -- ___ Python tracker <https://bugs.python.org/issue32388> ___ ___ Python-bug

[issue36795] "make venv" failed in Docs

2019-05-04 Thread Antoine Pitrou
New submission from Antoine Pitrou : $ make venv python3 -m venv ./venv ./venv/bin/python3 -m pip install -U Sphinx blurb python-docs-theme /home/antoine/cpython/default/Doc/venv/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/__init__.py:80: RequestsDependencyWarning

[issue26978] Implement pathlib.Path.link (Using os.link)

2019-05-04 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue26978] Implement pathlib.Path.link (Using os.link)

2019-05-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 6b5b013bcc22a27d6231c2796882e44ddb42be67 by Antoine Pitrou (Joannah Nanjekye) in branch 'master': bpo-26978: Implement pathlib.Path.link_to (Using os.link) (GH-12990) https://github.com/python/cpython/commit

[issue36786] "make install" should run compileall in parallel

2019-05-03 Thread Antoine Pitrou
Change by Antoine Pitrou : -- keywords: +patch pull_requests: +12993 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue36785] Implement PEP 574

2019-05-03 Thread Antoine Pitrou
Change by Antoine Pitrou : -- assignee: -> pitrou ___ Python tracker <https://bugs.python.org/issue36785> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue36785] Implement PEP 574

2019-05-03 Thread Antoine Pitrou
Change by Antoine Pitrou : -- keywords: +patch pull_requests: +12992 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue36786] "make install" should run compileall in parallel

2019-05-03 Thread Antoine Pitrou
New submission from Antoine Pitrou : Title says it all. Currently, "make install" will bytecode-compile Python sources sequentially even though compileall supports doing it in parallel. -- components: Build messages: 341350 nosy: pitrou priority: normal severity: normal st

[issue36785] Implement PEP 574

2019-05-03 Thread Antoine Pitrou
New submission from Antoine Pitrou : Now that PEP 574 (Pickle protocol 5 with out-of-band data) has been accepted, it should be implemented. -- components: Extension Modules, Library (Lib) messages: 341349 nosy: ncoghlan, pitrou priority: normal severity: normal stage: needs patch

[issue36668] semaphore_tracker is not reused by child processes

2019-04-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 004b93ea8947bcbe85b6fa16fe0999bfa712d5c1 by Antoine Pitrou (Thomas Moreau) in branch 'master': bpo-36668: FIX reuse semaphore tracker for child processes (#5172) https://github.com/python/cpython/commit/004b93ea8947bcbe85b6fa16fe0999bfa712d5c1

[issue36668] semaphore_tracker is not reused by child processes

2019-04-24 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue21536] extension built with a shared python cannot be loaded with a static python

2019-04-24 Thread Antoine Pitrou
Change by Antoine Pitrou : -- versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker <https://bugs.python.org/issue21536> ___ ___ Python-bugs-list m

<    1   2   3   4   5   6   7   8   9   10   >