[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes

2020-10-21 Thread Yury Selivanov
Yury Selivanov added the comment: > Imagine that we have a secondary copy of the bytecode in the cache inside the > code object and we mutate that instead. The key difference with the current > cache infrastructure is that we don't accumulate all the optimizations on the > same opcode,

[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes

2020-10-21 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > - Rewriting code objects in place is wrong, IMO: you always need to have a > way to deoptimize the entire thing, so you need to keep the original one. It > might be that you have well defined and static types for the first 1 > invocations and

[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes

2020-10-21 Thread Yury Selivanov
Yury Selivanov added the comment: Few thoughts in no particular order: - I'd suggest implementing the cache for 2-3 more opcodes on top of the existing infrastructure to get more experience and then refactoring it to make it more generic. - Generalizing LOAD_METHOD to work for methods with

[issue42097] Python 3.7.9 logging/threading/fork hang

2020-10-21 Thread Gregory P. Smith
Gregory P. Smith added the comment: If you use os.fork() or any of the multiprocessing start methods that call os.fork() with a process involving threads, this is expected behavior. os.fork() cannot be used in processes that have threads without potential for deadlock. Specifically, make

[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes

2020-10-21 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Also, many of these ideas are not new, and many of them are inspired or taken from Yury's email (https://mail.python.org/pipermail/python-dev/2016-January/142945.html) but I wanted to add that I think that with some coordination between us we can

[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes

2020-10-21 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: To clarify what I mean with: > - We could also do the same for operations like "some_container[]" if the > container is some builtin. We can substitute/specialize the opcode for > someone that directly uses built-in operations instead of the generic

[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes

2020-10-21 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : After https://bugs.python.org/issue42093 and https://bugs.python.org/issue26219 is being clear that we can leverage some cache for different information in the evaluation loop to speed up CPython. This observation is also based on the fact that

[issue42057] peephole optimizer bug relating to JUMP_IF_NOT_EXC_MATCH

2020-10-21 Thread Inada Naoki
Inada Naoki added the comment: Thank you for reporting with reproducer. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32431] Two bytes objects of zero length don't compare equal

2020-10-21 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42057] peephole optimizer bug relating to JUMP_IF_NOT_EXC_MATCH

2020-10-21 Thread Inada Naoki
Inada Naoki added the comment: New changeset 8f6787d93db1b6022db44b1e1d22460c2b74f60b by Inada Naoki in branch '3.9': bpo-42057: Add a test case (GH-22878) https://github.com/python/cpython/commit/8f6787d93db1b6022db44b1e1d22460c2b74f60b -- ___

[issue42057] peephole optimizer bug relating to JUMP_IF_NOT_EXC_MATCH

2020-10-21 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +21820 pull_request: https://github.com/python/cpython/pull/22878 ___ Python tracker ___

[issue41910] Document that object.__eq__ implements `a is b`

2020-10-21 Thread Brett Cannon
Brett Cannon added the comment: Thanks, Terry! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42057] peephole optimizer bug relating to JUMP_IF_NOT_EXC_MATCH

2020-10-21 Thread Inada Naoki
Inada Naoki added the comment: New changeset 07a44d9572c7746568a7fe2fbcd42127fd6d4019 by Inada Naoki in branch '3.9': bpo-42057: Fix peephole optimizer (GH-22802) https://github.com/python/cpython/commit/07a44d9572c7746568a7fe2fbcd42127fd6d4019 --

[issue41910] Document that object.__eq__ implements `a is b`

2020-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Brett, I presume you want this closed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue42113] Replace _asyncio.TaskWakeupMethWrapper with PyCFunction

2020-10-21 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41910] Document that object.__eq__ implements `a is b`

2020-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b2b3803081f07600710273b4f902b5be6e5596e7 by Miss Skeleton (bot) in branch '3.8': bpo-41910: specify the default implementations of object.__eq__ and object.__ne__ (GH-22874) (#22877)

[issue41910] Document that object.__eq__ implements `a is b`

2020-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c3538b83816663d7b767391a375179a0ce923990 by Miss Skeleton (bot) in branch '3.9': bpo-41910: specify the default implementations of object.__eq__ and object.__ne__ (GH-22874) (#22876)

[issue41910] Document that object.__eq__ implements `a is b`

2020-10-21 Thread miss-islington
miss-islington added the comment: New changeset 3c69f0c933d4790855929f1fcd74e4a0fefb5d52 by Brett Cannon in branch 'master': bpo-41910: specify the default implementations of object.__eq__ and object.__ne__ (GH-22874)

[issue41910] Document that object.__eq__ implements `a is b`

2020-10-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +21818 pull_request: https://github.com/python/cpython/pull/22876 ___ Python tracker ___

[issue41910] Document that object.__eq__ implements `a is b`

2020-10-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +21819 pull_request: https://github.com/python/cpython/pull/22877 ___ Python tracker ___

[issue42114] Documentation of ctypes.CDLL does not correspond to code

2020-10-21 Thread Joseph Fox-Rabinovitz
Joseph Fox-Rabinovitz added the comment: Last attempt before I give up: ctypes.CDLL initializer defined in version 3.8 and beyond as ``` def __init__(self, name, mode=DEFAULT_MODE, handle=None, use_errno=False, use_last_error=False, winmode=None): ```

[issue42114] Documentation of ctypes.CDLL does not correspond to code

2020-10-21 Thread Joseph Fox-Rabinovitz
Joseph Fox-Rabinovitz added the comment: Company firewall mutilated the text. Here is another attempt: ctypes.CDLL initializer defined in version 3.8 and beyond as ``` def __init__(self, name, mode=DEFAULT_MODE, handle=None, use_errno=False, use_last_error=False,

[issue42114] Documentation of ctypes.CDLL does not correspond to code

2020-10-21 Thread Joseph Fox-Rabinovitz
Change by Joseph Fox-Rabinovitz : -- title: Documentation of -> Documentation of ctypes.CDLL does not correspond to code ___ Python tracker ___

[issue42114] Documentation of

2020-10-21 Thread Joseph Fox-Rabinovitz
New submission from Joseph Fox-Rabinovitz : ctypes.CDLL initializer defined in version 3.8 and beyond as ``` def __init__(self, name, mode=DEFAULT_MODE, handle=None, use_errno=False, use_last_error=False, winmode=None): ``` Documentation says

[issue35181] Doc: Namespace Packages: Inconsistent documentation of __loader__ being None

2020-10-21 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: @maggyero - I haven't merged PR 10016, but I left some additional comments. Are you still interested in shepherding this PR? -- ___ Python tracker

[issue41911] Language reference for expressions incorrectly specifies what type of object(s) are expected

2020-10-21 Thread Brett Cannon
Brett Cannon added the comment: It turns out the "expressions" page of the language reference makes multiple claims about types which do not hold, e.g. for multiplication, "The arguments must either both be numbers, or one argument must be an integer and the other must be a sequence", or

[issue42113] Replace _asyncio.TaskWakeupMethWrapper with PyCFunction

2020-10-21 Thread Vladimir Matveev
Change by Vladimir Matveev : -- keywords: +patch pull_requests: +21817 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22875 ___ Python tracker

[issue42113] Replace _asyncio.TaskWakeupMethWrapper with PyCFunction

2020-10-21 Thread Vladimir Matveev
New submission from Vladimir Matveev : `TaskWakeupMethWrapper` looks like a more limited version of `PyCFunction` so it can be replaced with one. Pros: remove a bunch of code, use better calling convention Cons: now `wakeup` object will expose slightly more properties but I'm not sure whether

[issue38980] Compile libpython with -fno-semantic-interposition

2020-10-21 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset b451b0e9a772f009f4161f7a46476190d0d17ac1 by Pablo Galindo in branch 'master': bpo-38980: Add -fno-semantic-interposition when building with optimizations (GH-22862)

[issue38980] Compile libpython with -fno-semantic-interposition

2020-10-21 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35181] Doc: Namespace Packages: Inconsistent documentation of __loader__ being None

2020-10-21 Thread miss-islington
miss-islington added the comment: New changeset 6e842bcdf8a47fe081c9f2edc2b8875e1f3e2f18 by Miss Skeleton (bot) in branch '3.9': bpo-35181: Correct importlib documentation for some module attributes (GH-15190) https://github.com/python/cpython/commit/6e842bcdf8a47fe081c9f2edc2b8875e1f3e2f18

[issue42103] [security] DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format

2020-10-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are two issues here. The simple one is building a large format string for struct.unpack(). It has simple solution: use f'>{n}{_BINARY_FORMAT[size]}'. The hard issue is that read(n) allocates n bytes in memory even if there are not so many bytes in

[issue35181] Doc: Namespace Packages: Inconsistent documentation of __loader__ being None

2020-10-21 Thread miss-islington
miss-islington added the comment: New changeset 916ac9520108831d2099b13992a45884b112b193 by Miss Skeleton (bot) in branch '3.8': bpo-35181: Correct importlib documentation for some module attributes (GH-15190) https://github.com/python/cpython/commit/916ac9520108831d2099b13992a45884b112b193

[issue41910] Document that object.__eq__ implements `a is b`

2020-10-21 Thread Brett Cannon
Change by Brett Cannon : -- keywords: +patch pull_requests: +21816 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22874 ___ Python tracker ___

[issue35181] Doc: Namespace Packages: Inconsistent documentation of __loader__ being None

2020-10-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +21815 pull_request: https://github.com/python/cpython/pull/22873 ___ Python tracker ___

[issue35181] Doc: Namespace Packages: Inconsistent documentation of __loader__ being None

2020-10-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +21814 pull_request: https://github.com/python/cpython/pull/22872 ___ Python tracker ___

[issue35181] Doc: Namespace Packages: Inconsistent documentation of __loader__ being None

2020-10-21 Thread miss-islington
miss-islington added the comment: New changeset 27f1bd8787d24ac53cc3dc6ea5eb00b8a3499839 by Géry Ogam in branch 'master': bpo-35181: Correct importlib documentation for some module attributes (GH-15190) https://github.com/python/cpython/commit/27f1bd8787d24ac53cc3dc6ea5eb00b8a3499839

[issue42112] ZipFIle.write remove slash at the beginning of member's path

2020-10-21 Thread Matan Perelman
Change by Matan Perelman : -- keywords: +patch pull_requests: +21813 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22871 ___ Python tracker ___

[issue39416] Document default numeric string formats

2020-10-21 Thread miss-islington
miss-islington added the comment: New changeset 224ed378b9aadad9dbbd890064677433188aecd9 by Miss Skeleton (bot) in branch '3.9': Fix bpo-39416: Change "Numeric" to lower case; an english word, not a class name (GH-22867)

[issue41052] Opt out serialization/deserialization for heap type

2020-10-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I came to the same conclusion after trying to fix it. But we cannot just do it now. We have to fix bugs in Python 3.9 and support protocols 0 and 1 for some deprecation period. Also protocols 0 and 1 are used in some third-party implementations for other

[issue41052] Opt out serialization/deserialization for heap type

2020-10-21 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +21812 pull_request: https://github.com/python/cpython/pull/22870 ___ Python tracker ___

[issue41959] Doc/library/asyncio-policy.rst grammar error

2020-10-21 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39416] Document default numeric string formats

2020-10-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +21811 pull_request: https://github.com/python/cpython/pull/22869 ___ Python tracker ___

[issue39416] Document default numeric string formats

2020-10-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +21810 pull_request: https://github.com/python/cpython/pull/22868 ___ Python tracker ___

[issue39416] Document default numeric string formats

2020-10-21 Thread miss-islington
miss-islington added the comment: New changeset f8b1ccd63c94bcde1c15d56d24add89861b6ceee by kpinc in branch 'master': Fix bpo-39416: Change "Numeric" to lower case; an english word, not a class name (GH-22867) https://github.com/python/cpython/commit/f8b1ccd63c94bcde1c15d56d24add89861b6ceee

[issue41959] Doc/library/asyncio-policy.rst grammar error

2020-10-21 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset c3442fd8a7f6e34ba888efea085c3701b75c0b71 by Miss Skeleton (bot) in branch '3.9': bpo-41959: Fix grammar around class asyncio.MultiLoopChildWatcher text (GH-22580) (#22865)

[issue41959] Doc/library/asyncio-policy.rst grammar error

2020-10-21 Thread miss-islington
miss-islington added the comment: New changeset ba666747af83aa465ffa8b55efbbb7f992647e12 by Miss Skeleton (bot) in branch '3.8': [3.8] bpo-41959: Fix grammar around class asyncio.MultiLoopChildWatcher text (GH-22580) (GH-22866)

[issue41626] port shebang of tools from python2 to python3

2020-10-21 Thread Ned Deily
Change by Ned Deily : -- Removed message: https://bugs.python.org/msg379245 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue41626] port shebang of tools from python2 to python3

2020-10-21 Thread Ned Deily
Ned Deily added the comment: To address some of the concerns: - The shebang line in Mac/BuildScript/build-installer.py can be safely removed. - "Lib/idlelib/pyshell.py for example, maybe the IDLE entry point is just a symlink to that file" It's not, at least for unix-y builds. In

[issue41626] port shebang of tools from python2 to python3

2020-10-21 Thread Ned Deily
Ned Deily added the comment: To address some of the concerns: - The shebang line in Mac/BuildScript/build-installer.py can be safely removed. - "Lib/idlelib/pyshell.py for example, maybe the IDLE entry point is just a symlink to that file" It's not, at least for unix-y builds. In

[issue42096] zipfile.is_zipfile incorrectly identifying a gzipped file as a zip archive

2020-10-21 Thread Irit Katriel
Irit Katriel added the comment: Are you able to attach a file with which you see this problem? Have you tried with newer Python versions? -- nosy: +iritkatriel ___ Python tracker

[issue41626] port shebang of tools from python2 to python3

2020-10-21 Thread Éric Araujo
Éric Araujo added the comment: This is a minor thing, and not a particularly visible bug, but it could create confusion about how to run scripts so could be fixed. 1) For stdlib modules, I think the intended usage is `python3 -m encodings.rot_13`; I don’t expect anyone to run `python3

[issue39416] Document default numeric string formats

2020-10-21 Thread Karl O. Pinc
Change by Karl O. Pinc : -- pull_requests: +21809 pull_request: https://github.com/python/cpython/pull/22867 ___ Python tracker ___

[issue42112] ZipFIle.write remove slash at the beginning of member's path

2020-10-21 Thread Matan Perelman
Change by Matan Perelman : -- components: Library (Lib) nosy: matan1008 priority: normal severity: normal status: open title: ZipFIle.write remove slash at the beginning of member's path type: behavior versions: Python 3.9 ___ Python tracker

[issue42103] [security] DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format

2020-10-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: One Apple implementation of binary plist parsing is here: https://opensource.apple.com/source/CF/CF-550/CFBinaryPList.c. That seems to work from a buffer (or mmap) of the entire file, making consistency checks somewhat easier, and I don't think they have a

[issue33754] f-strings should be part of the Grammar

2020-10-21 Thread Eric V. Smith
Eric V. Smith added the comment: Just some notes to consider before work starts on this in earnest: We need to decide what sort of changes we'll accept, if any. For at least the first round of this, I'm okay with "absolutely no change will be acceptable". For example, here's a good change

[issue42111] Make the xxlimited module an example of best extension module practices

2020-10-21 Thread Petr Viktorin
New submission from Petr Viktorin : The "xxlimited" module (Modules/xxlimited.c) was added as part of PEP 384 (Defining a Stable ABI), and is undocumented. As far as I can tell, it was added partly to test the stable ABI, and partly as an example of how to write a module (like "xx" from

[issue41746] Add optional type information to asdl_seq objects

2020-10-21 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: Last bit of work is now done. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41056] minor NULL pointer and sign issues reported by Coverity

2020-10-21 Thread Paul Ganssle
Change by Paul Ganssle : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41746] Add optional type information to asdl_seq objects

2020-10-21 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: New changeset 2e5ca9e3f68b33abb7d2c66d22ffc18dec40641a by Lysandros Nikolaou in branch 'master': bpo-41746: Cast to typed seqs in CHECK macros to avoid type erasure (GH-22864)

[issue30155] Add ability to get tzinfo from a datetime instance in C API

2020-10-21 Thread Paul Ganssle
Change by Paul Ganssle : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42103] [security] DoS (MemError via CPU and RAM exhaustion) when processing malformed Apple Property List files in binary format

2020-10-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: Thanks for the report. I can reproduce the issue. -- ___ Python tracker ___ ___

[issue41959] Doc/library/asyncio-policy.rst grammar error

2020-10-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +21807 pull_request: https://github.com/python/cpython/pull/22865 ___ Python tracker ___

[issue41959] Doc/library/asyncio-policy.rst grammar error

2020-10-21 Thread miss-islington
miss-islington added the comment: New changeset caff2934f46510920a6169e192707d59e9c55f6b by Raúl Cumplido in branch 'master': bpo-41959: Fix grammar around class asyncio.MultiLoopChildWatcher text (GH-22580) https://github.com/python/cpython/commit/caff2934f46510920a6169e192707d59e9c55f6b

[issue41959] Doc/library/asyncio-policy.rst grammar error

2020-10-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +21808 pull_request: https://github.com/python/cpython/pull/22866 ___ Python tracker ___

[issue41746] Add optional type information to asdl_seq objects

2020-10-21 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- pull_requests: +21806 pull_request: https://github.com/python/cpython/pull/22864 ___ Python tracker ___

[issue37048] ssl module: QUIC support for HTTP/3

2020-10-21 Thread Jeremy Lainé
Jeremy Lainé added the comment: The OpenSSL authors make a fair point, QUIC seems to be taking a long time to stabilize with little consideration for backwards compatibility at this stage. As stated previously though it's perfectly feasible to implement a QUIC stack by linking to an

[issue42025] zoneinfo: wrong time difference across transition when tzinfo is equal

2020-10-21 Thread Paul Ganssle
Paul Ganssle added the comment: Yeah, people are very confused by this, which is why I wrote that article. Maybe there is a place for big warnings somewhere? I have been mulling over the possibility of proposing a backwards-incompatible (though minimally so, hopefully) change to arithmetic

[issue39416] Document default numeric string formats

2020-10-21 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the patch! -- nosy: +eric.araujo resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.8, Python 3.9 ___ Python tracker

[issue39416] Document default numeric string formats

2020-10-21 Thread miss-islington
miss-islington added the comment: New changeset ec62b47ebc8f29007942c8e9f3f260af91ca58cb by Miss Skeleton (bot) in branch '3.9': [3.9] bpo-39416: Document some restrictions on the default string representations of numeric classes (GH-18111) (GH-22860)

[issue42107] Monotonic time on macOS 10.12+ should use mach_continuous_time()

2020-10-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: See also #41303, which discusses using mach_continuous_time in another context. If using a different clock is necessary I'd prefer to use clock_gettime(CLOCK_MONOTONIC_RAW) instead of mach_continuous_time(), as the former is a more cross-platform API.

[issue39416] Document default numeric string formats

2020-10-21 Thread miss-islington
miss-islington added the comment: New changeset 89fac4c3748aa7eb23d09922331e90a62ce782fd by Miss Skeleton (bot) in branch '3.8': [3.8] bpo-39416: Document some restrictions on the default string representations of numeric classes (GH-18111) (GH-22861)

[issue41100] Build failure on macOS 11 (beta)

2020-10-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: https://github.com/python/cpython/pull/22855 is currently the most complete PR, and should be almost ready for merging (although there hasn't been any code review at this point). -- ___ Python tracker

[issue42110] race condition in ThreadChildWatcher (default) and MultiLoopChildWatcher

2020-10-21 Thread Alan Jenkins
New submission from Alan Jenkins : ## Test program ## import asyncio import time import os import signal import sys # This bug happens with the default, ThreadedChildWatcher # It also happens with MultiLoopChildWatcher, # but not the other three watcher types.

[issue19438] Where is NoneType in Python 3?

2020-10-21 Thread Andrés Delfino
Andrés Delfino added the comment: As per https://github.com/python/cpython/pull/22336 I believe this issue can be closed now. My PR is not relevant to the problem stated by OP, so I'm "unlinking" it. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue35181] Doc: Namespace Packages: Inconsistent documentation of __loader__ being None

2020-10-21 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Apologies for the long delay in reviewing this bug. I'm looking at it now, however since Python 3.7 is in security-only mode, this will only apply to 3.10, 3.9, and 3.8. -- versions: +Python 3.10, Python 3.9 -Python 3.7

[issue42107] Monotonic time on macOS 10.12+ should use mach_continuous_time()

2020-10-21 Thread Ned Deily
Change by Ned Deily : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42109] Use hypothesis for testing the standard library, falling back to stubs

2020-10-21 Thread Paul Ganssle
Change by Paul Ganssle : -- keywords: +patch pull_requests: +21805 pull_request: https://github.com/python/cpython/pull/22863 ___ Python tracker ___

[issue42109] Use hypothesis for testing the standard library, falling back to stubs

2020-10-21 Thread Paul Ganssle
New submission from Paul Ganssle : Following up on this year's language summit, I would like to propose that we start integrating property tests into the standard library. Zac Hatfield-Dodds (along with myself and Carl Friedrich Bolz-Tereick) have put together this repository of tests that

[issue38980] Compile libpython with -fno-semantic-interposition

2020-10-21 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Victor is on vacation for some weeks, so I am creating a PR to push this forward. -- ___ Python tracker ___

[issue38980] Compile libpython with -fno-semantic-interposition

2020-10-21 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +21804 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22862 ___ Python tracker

[issue42097] Python 3.7.9 logging/threading/fork hang

2020-10-21 Thread Antoine Pitrou
Change by Antoine Pitrou : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39416] Document default numeric string formats

2020-10-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +21803 pull_request: https://github.com/python/cpython/pull/22861 ___ Python tracker ___

[issue39416] Document default numeric string formats

2020-10-21 Thread miss-islington
miss-islington added the comment: New changeset c60394c7fc9cc09b16e9675a3eeb5844b6d8523f by kpinc in branch 'master': bpo-39416: Document some restrictions on the default string representations of numeric classes (GH-18111)

[issue39416] Document default numeric string formats

2020-10-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +21802 pull_request: https://github.com/python/cpython/pull/22860 ___ Python tracker ___

[issue41052] Opt out serialization/deserialization for heap type

2020-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: At some point, pickle protocols 0 and 1 should be deprecated and slated for removal. Protocol 2 is 17 years ago already, and protocol 3 has become the default in Python 3. That would probably be a better use of contributor time than trying to make heap

[issue41061] Incorrect expressions / assert with side effect in hashtable

2020-10-21 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

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

2020-10-21 Thread Christian Heimes
Change by Christian Heimes : -- assignee: christian.heimes -> versions: +Python 3.10 -Python 3.9 ___ Python tracker ___ ___

[issue37048] ssl module: QUIC support for HTTP/3

2020-10-21 Thread Christian Heimes
Christian Heimes added the comment: OpenSSL 3.0.0 is not going support QUIC, https://www.openssl.org/blog/blog/2020/02/17/QUIC-and-OpenSSL/ -- versions: +Python 3.10 -Python 3.9 ___ Python tracker

[issue36709] Asyncio SSL keep-alive connections raise errors after loop close.

2020-10-21 Thread Christian Heimes
Christian Heimes added the comment: This seems to be an asyncio problem. -- assignee: christian.heimes -> ___ Python tracker ___

[issue37553] SendfileUsingSendTest tests timeout too short for Windows ARM32

2020-10-21 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35749] Rewrite asyncio signal handler

2020-10-21 Thread Alan Jenkins
Alan Jenkins added the comment: Here's a simple test case that fails on the main branch. https://github.com/sourcejedi/cpython/commit/50184ea3b354fd775866d036ccee058ec6734927 > the patch assumes that python signal handler will be called *before* reading > from self-pipe. > Otherwise, a

[issue35324] ssl: FileNotFoundError when do handshake

2020-10-21 Thread Christian Heimes
Christian Heimes added the comment: I'm not able to reproduce the issue. Please re-open this issue if you are still having issue with more recent version of Python and OpenSSL. -- resolution: -> fixed stage: -> resolved status: open -> closed

[issue33570] OpenSSL 1.1.1 / TLS 1.3 cipher suite changes

2020-10-21 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34915] LWPCookieJar.save() creates *.lwp file in 644 mode

2020-10-21 Thread Christian Heimes
Change by Christian Heimes : -- assignee: christian.heimes -> nosy: -christian.heimes versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue28022] SSL releated deprecation for 3.6

2020-10-21 Thread Christian Heimes
Change by Christian Heimes : -- versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue32549] Travis: Test with OpenSSL 1.1.0

2020-10-21 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue26835] Add file-sealing ops to fcntl

2020-10-21 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue31432] Documention for CERT_OPTIONAL is misleading

2020-10-21 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40592] `Shutil.which` incosistent with windows's `where`

2020-10-21 Thread Christopher Marchfelder
Christopher Marchfelder added the comment: @steve.dower Added the changes in the PR - could you please re-check? Thank you! -- ___ Python tracker ___

  1   2   >