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
Change by Antoine Pitrou :
--
nosy: -pitrou
___
Python tracker
<https://bugs.python.org/issue24413>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Antoine Pitrou :
--
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issue34101>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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,
Change by Antoine Pitrou :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
Change by Antoine Pitrou :
--
nosy: +pierreglaser
___
Python tracker
<https://bugs.python.org/issue37652>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Change by Antoine Pitrou :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
Change by Antoine Pitrou :
--
nosy: +asvetlov, yselivanov
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issue37355>
___
___
Python-bugs-list m
Change by Antoine Pitrou :
--
nosy: +aldwinaldwin, fabioz, int19h, vstinner
___
Python tracker
<https://bugs.python.org/issue31517>
___
___
Python-bugs-list m
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
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
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
--
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
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
Antoine Pitrou added the comment:
Now complete, closing :-)
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
Antoine Pitrou added the comment:
Ok, closing then.
--
resolution: -> wont fix
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
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
Change by Antoine Pitrou :
--
pull_requests: +13797
pull_request: https://github.com/python/cpython/pull/13931
___
Python tracker
<https://bugs.python.org/issue36
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
Change by Antoine Pitrou :
--
nosy: +eryksun
___
Python tracker
<https://bugs.python.org/issue28708>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
Antoine Pitrou added the comment:
PR is merged now!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Antoine Pitrou :
--
pull_requests: +13503
pull_request: https://github.com/python/cpython/pull/13596
___
Python tracker
<https://bugs.python.org/issue32
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
Change by Antoine Pitrou :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
Antoine Pitrou added the comment:
Or to add `_buffer = None` at the class level.
--
___
Python tracker
<https://bugs.python.org/issue37054>
___
___
Python-bug
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
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
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
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
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
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
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
Change by Antoine Pitrou :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
Change by Antoine Pitrou :
--
resolution: -> fixed
versions: +Python 3.7, Python 3.8 -Python 3.6
___
Python tracker
<https://bugs.python.org/issue33110>
___
_
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
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
Antoine Pitrou added the comment:
Neil, I don't see the point of having this discussion here.
--
___
Python tracker
<https://bugs.python.org/issue27987>
___
___
Change by Antoine Pitrou :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: -Python 3.6
___
Python tracker
<https://bugs.python.or
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
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
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
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
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
Change by Antoine Pitrou :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
Change by Antoine Pitrou :
--
pull_requests: +13200
___
Python tracker
<https://bugs.python.org/issue36867>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Antoine Pitrou :
--
keywords: +patch
pull_requests: +13199
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
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
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
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
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
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
Change by Antoine Pitrou :
--
nosy: +pierreglaser
___
Python tracker
<https://bugs.python.org/issue34128>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Antoine Pitrou added the comment:
I'd like to know about the use case too :-)
--
___
Python tracker
<https://bugs.python.org/issue36512>
___
___
Python-bug
Change by Antoine Pitrou :
--
nosy: +tomMoral
___
Python tracker
<https://bugs.python.org/issue36512>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
Antoine Pitrou added the comment:
I updated the PR (sorry to let this sleep).
--
___
Python tracker
<https://bugs.python.org/issue32388>
___
___
Python-bug
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
Change by Antoine Pitrou :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
Change by Antoine Pitrou :
--
keywords: +patch
pull_requests: +12993
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Change by Antoine Pitrou :
--
assignee: -> pitrou
___
Python tracker
<https://bugs.python.org/issue36785>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Antoine Pitrou :
--
keywords: +patch
pull_requests: +12992
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
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
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
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
Change by Antoine Pitrou :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
301 - 400 of 16564 matches
Mail list logo