[issue40005] Getting different result in python 2.7 and 3.7.

2020-03-18 Thread Bharat Solanki
Bharat Solanki added the comment: Hi Tim, Thank you for clearing that up. I ran the same code in 2.7 and 3.7 on Windows, Its showing the same error. Yes, Its running in Linux-y systems. It depends on OS. Regards, Bharat On Thu, Mar 19, 2020 at 2:25 AM Tim Peters wrote: > > Tim Peters add

[issue40007] An attempt to make asyncio.transport.writelines (selector) use Scatter I/O

2020-03-18 Thread tzickel
tzickel added the comment: BTW, if wanted a much more simpler PR can be made, where writelines simply calls sendmsg on the input if no buffer exists, and if not only then concats and acts like the current code base. -- ___ Python tracker

[issue39974] A race condition with GIL releasing exists in stringlib_bytes_join

2020-03-18 Thread Bruce Merry
Bruce Merry added the comment: +tzickel I'd suggest reading the discussion in issue 36051, and maybe raising a new issue about it if you still have concerns. In short, dropping the GIL in more bytes.join cases wouldn't necessarily be wrong, but it might break code that made the assumption th

[issue39984] Move some ceval fields from _PyRuntime.ceval to PyInterpreterState.ceval

2020-03-18 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue40011] Tkinter widget events are of type Tuple

2020-03-18 Thread Hênio Tierra Sampaio
Hênio Tierra Sampaio added the comment: Sorry for the similar messages. The second one was to remove the paragraph stating that it would be possible to circumvent the problem of the Listbox - it is not. -- ___ Python tracker

[issue40011] Tkinter widget events are of type Tuple

2020-03-18 Thread Hênio Tierra Sampaio
Hênio Tierra Sampaio added the comment: I'm maintainer for a project for the RaspberryPi, a GUI for OMXPlayer called TBOPlayer. This GUI was originally made for Python 2, but with Python 2 deprecation, I decided to convert it to Python 3. After (supposedly) converting all of it I had a surpri

[issue38500] PEP 523: Add private _PyInterpreterState_SetEvalFrameFunc() function to the C API (Python 3.8 regression)

2020-03-18 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue39947] Make the PyThreadState structure opaque (move it to the internal C API)

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: I added PyInterpreterState_Get() and PyThreadState_GetInterpreter() functions to get the interpreter. -- ___ Python tracker ___

[issue31200] address sanitizer build fails

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: FYI there is bpo-1635741 which tries to cleanup more things at Python exit. -- nosy: +vstinner ___ Python tracker ___ ___

[issue36479] Exit threads when interpreter is finalizing rather than runtime.

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: I suggest to close this issue, I don't think that it can be implemented because of daemon threads. -- > This behavior should instead be triggered by the thread's interpreter > finalizing rather than the runtime. What is the motivation for that? -- take_g

[issue36225] Lingering subinterpreters should be implicitly cleared on shutdown

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-38865: "Can Py_Finalize() be called if the current interpreter is not the main interpreter?". -- nosy: +vstinner ___ Python tracker ___

[issue38865] Can Py_Finalize() be called if the current interpreter is not the main interpreter?

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-36225: "Lingering subinterpreters should be implicitly cleared on shutdown". -- ___ Python tracker ___

[issue40011] Tkinter widget events are of type Tuple

2020-03-18 Thread Hênio Tierra Sampaio
Change by Hênio Tierra Sampaio : -- title: Widget events are of type Tuple -> Tkinter widget events are of type Tuple ___ Python tracker ___ ___

[issue40011] Widget events are of type Tuple

2020-03-18 Thread Hênio Tierra Sampaio
New submission from Hênio Tierra Sampaio : I'm maintainer for a project for the RaspberryPi, a GUI for OMXPlayer called TBOPlayer. This GUI was originally made for Python 2, but with Python 2 deprecation, I decided to convert it to Python 3. After (supposedly) converting all of it I had a surp

[issue39984] Move some ceval fields from _PyRuntime.ceval to PyInterpreterState.ceval

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 50e6e991781db761c496561a995541ca8d83ff87 by Victor Stinner in branch 'master': bpo-39984: Move pending calls to PyInterpreterState (GH-19066) https://github.com/python/cpython/commit/50e6e991781db761c496561a995541ca8d83ff87 -- ___

[issue38576] CVE-2019-18348: CRLF injection via the host part of the url passed to urlopen()

2020-03-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset e176e0c105786e9f476758eb5438c57223b65e7f by Matěj Cepl in branch '2.7': [2.7] closes bpo-38576: Disallow control characters in hostnames in http.client. (GH-19052) https://github.com/python/cpython/commit/e176e0c105786e9f476758eb5438c57223b65

[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: I found this issue while working on PR 19066 of bpo-39984. -- stage: patch review -> ___ Python tracker ___

[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-18 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +18421 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19067 ___ Python tracker ___ _

[issue39939] Add str methods to remove prefixes or suffixes

2020-03-18 Thread Guido van Rossum
Guido van Rossum added the comment: Sounds good. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue39939] Add str methods to remove prefixes or suffixes

2020-03-18 Thread Dennis Sweeney
Dennis Sweeney added the comment: If no one has started, I can draft such a PEP. -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-18 Thread STINNER Victor
Change by STINNER Victor : -- type: -> performance ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue40010] Inefficient sigal handling in multithreaded applications

2020-03-18 Thread STINNER Victor
New submission from STINNER Victor : When a thread gets a signal, SIGNAL_PENDING_SIGNALS() sets signals_pending to 1 and eval_breaker to 1. In this case, _PyEval_EvalFrameDefault() calls handle_signals(), but since it's not the main thread, it does nothing and signals_pending value remains 1.

[issue39982] FreeBSD: SCTP tests of test_socket fails on AMD64 FreeBSD Shared 3.x

2020-03-18 Thread Kubilay Kocak
Kubilay Kocak added the comment: I've been in touch with the FreeBSD SCTP maintainer and will continue to investigate that avenue. In the meantime, I'm re-running the last successful 3.x build (382 [1]) to see if that fails or not to isolate Cpython code changes as contributing causes [1]

[issue39984] Move some ceval fields from _PyRuntime.ceval to PyInterpreterState.ceval

2020-03-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18420 pull_request: https://github.com/python/cpython/pull/19066 ___ Python tracker ___ __

[issue39985] str.format and string.Formatter subscript behaviors diverge

2020-03-18 Thread Maxwell Bernstein
Change by Maxwell Bernstein : -- keywords: +patch pull_requests: +18418 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19065 ___ Python tracker __

[issue39576] Surprising MemoryError in `decimal` with MAX_PREC

2020-03-18 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue39576] Surprising MemoryError in `decimal` with MAX_PREC

2020-03-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I will try to investigate that but it think this is because without OBJECT_MODE=64 the value of decimal.MAX_PREC is much lower (42500 instead 99) so whatever is happening downstream with the higher does not happen with the lower one

[issue22699] Module source files not found when cross-compiling

2020-03-18 Thread Steve Dower
Steve Dower added the comment: Perhaps sysconfig needs an overhaul to be able to handle _PYTHON_PROJECT_BASE properly? I see so many values in there that are taken from the running interpreter (sys.prefix, for example) that ought to come from the cross-compilation target. Wouldn't surprise m

[issue39220] constant folding affects annotations despite 'from __future__ import annotations'

2020-03-18 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- versions: +Python 3.9 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue39220] constant folding affects annotations despite 'from __future__ import annotations'

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

[issue39220] constant folding affects annotations despite 'from __future__ import annotations'

2020-03-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset d112c600ab3f5e2910345bcc4bfc39439917ed87 by Pablo Galindo in branch 'master': bpo-39220: Do not optimise annotation if 'from __future__ import annotations' is used (GH-17866) https://github.com/python/cpython/commit/d112c600ab3f5e2910345

[issue22699] Module source files not found when cross-compiling

2020-03-18 Thread Steve Dower
Steve Dower added the comment: Trimmed a bit from setup.py here, but I think this is the cause: def build_extensions(self): self.srcdir = sysconfig.get_config_var('srcdir') self.srcdir = os.path.abspath(self.srcdir) [SNIP] # Fix up the autodetected modules

[issue22699] cross-compilation of Python3.4

2020-03-18 Thread Steve Dower
Steve Dower added the comment: I'm now hitting this too, on nearly all the compiled modules in the stdlib. One example: building '_codecs_jp' extension x86_64-my-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/opt/my-generic/0.0.1-dev/sysroots/core2-64-my-linux -fPIC

[issue40008] Spam

2020-03-18 Thread Zachary Ware
Change by Zachary Ware : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-b

[issue40009] Spam

2020-03-18 Thread Zachary Ware
Change by Zachary Ware : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-b

[issue40009] Spam

2020-03-18 Thread Zachary Ware
Change by Zachary Ware : -- nosy: -Jack Reigns title: Best Mac Cleaner Apps to Optimize and Speed up your Mac -> Spam type: performance -> ___ Python tracker ___

[issue40009] Spam

2020-03-18 Thread Zachary Ware
Change by Zachary Ware : -- Removed message: https://bugs.python.org/msg364572 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue40009] Spam

2020-03-18 Thread Zachary Ware
Change by Zachary Ware : Removed file: https://bugs.python.org/file48981/MacOptimizerPro.jpg ___ Python tracker ___ ___ Python-bugs-list mai

[issue40008] Spam

2020-03-18 Thread Zachary Ware
Change by Zachary Ware : -- Removed message: https://bugs.python.org/msg364570 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue40008] Spam

2020-03-18 Thread Zachary Ware
Change by Zachary Ware : Removed file: https://bugs.python.org/file48980/MacOptimizerPro.jpg ___ Python tracker ___ ___ Python-bugs-list mai

[issue40008] Spam

2020-03-18 Thread Zachary Ware
Change by Zachary Ware : -- nosy: -Jack Reigns title: Best Mac Cleaner Software and Optimization Utilities -> Spam type: performance -> ___ Python tracker ___ ___

[issue40009] Best Mac Cleaner Apps to Optimize and Speed up your Mac

2020-03-18 Thread Jack Reigns
New submission from Jack Reigns : Mac Optimizer Pro's simple drag and drop functionality makes it the best program to clean up Mac. Apart from this, you can also select an app and view its detailed information so that you know what is hogging up your device’s space. Moreover, it lets you clean

[issue38865] Can Py_Finalize() be called if the current interpreter is not the main interpreter?

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: This issue became a blocker issue while working on bpo-39984, when I tried to move pending calls from _PyRuntimeState to PyInterpreterState. I wrote PR 19063 to deny calling Py_FinalizeEx() from a subinterpreter. Eric: > On the other hand, if the "main" int

[issue38865] Can Py_Finalize() be called if the current interpreter is not the main interpreter?

2020-03-18 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +18417 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19063 ___ Python tracker ___ _

[issue39917] new_compiler() called 2nd time causes error

2020-03-18 Thread Todd Levi
Todd Levi added the comment: In looking through the setup.py file for uvloop, I see that they purposely do not call super().initialize_options() or super().finalize_options() in their code if they've already been called once. I think that is why their code is revealing this problem - the 2nd

[issue40008] Best Mac Cleaner Software and Optimization Utilities

2020-03-18 Thread Jack Reigns
New submission from Jack Reigns : Mac Optimizer Pro a bunch of tools that can be used to perform various actions on your Mac. A number of the tools on offer can be used to clean your Mac. -- files: MacOptimizerPro.jpg messages: 364570 nosy: Jack Reigns priority: normal severity: normal

[issue40002] Cookie load error inconsistency

2020-03-18 Thread Bar Harel
Bar Harel added the comment: Patch done, ready for upload. No http experts for nosy, triage needed. -- type: -> behavior ___ Python tracker ___ __

[issue28009] Fix uuid.uuid1() core logic of uuid.getnode() needs refresh

2020-03-18 Thread Tal Einat
Tal Einat added the comment: Your fix LGTM, Victor. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue28686] py.exe ignored PATH when using python3 shebang

2020-03-18 Thread Riccardo Polignieri
Riccardo Polignieri added the comment: Three years later, this problem seems on the way to fix itself (https://xkcd.com/1822/). Versioned shebangs (and versioned "/env" shebangs) used to be a more prominent issue when you needed a way to tell Python 2 / Python 3 scripts apart. With the suns

[issue39980] importlib.resources.path() may return incorrect path when using custom loader

2020-03-18 Thread Jason R. Coombs
Jason R. Coombs added the comment: How's that for service ;) Glad to hear it worked. I'm going to close this as won't fix (as it was reported against 3.7 and 3.8 and changing it for them would be backward-incompatible, even if more correct). Please report back if that outcome is unsatisfact

[issue39980] importlib.resources.path() may return incorrect path when using custom loader

2020-03-18 Thread Jason R. Coombs
Change by Jason R. Coombs : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python

[issue40007] An attempt to make asyncio.transport.writelines (selector) use Scatter I/O

2020-03-18 Thread tzickel
New submission from tzickel : I have a code that tries to be smart and prepare data to be chunked efficiently before sending, so I was happy to read about: https://docs.python.org/3/library/asyncio-protocol.html#asyncio.WriteTransport.writelines Only to see that it simply does: self.write(b'

[issue40005] Getting different result in python 2.7 and 3.7.

2020-03-18 Thread Tim Peters
Tim Peters added the comment: u1 is a global _only_ in a process that runs `function()`, which declares u1 global and assigns it a value. You have no sane expectation that a worker process (none of which run `function()`) will know anything about it. Are you sure you're running 2.7 and 3.7

[issue40005] Getting different result in python 2.7 and 3.7.

2020-03-18 Thread Bharat Solanki
Bharat Solanki added the comment: u1 is global variable. So I can use it any where. Rigth! Thanks Bharat On Thu, Mar 19, 2020, 2:09 AM Bharat Solanki wrote: > > Bharat Solanki added the comment: > > When you run this test.py in 2.7. you will get output (10 11 20), But in > 3.7, Its getting

[issue40005] Getting different result in python 2.7 and 3.7.

2020-03-18 Thread Bharat Solanki
Bharat Solanki added the comment: When you run this test.py in 2.7. you will get output (10 11 20), But in 3.7, Its getting failed. Its showing below error: "Traceback (most recent call last): File "test.py", line 14, in function process_pool.map(add, l1, 1) File "C:\Users\Bharat Sol

[issue40006] enum: Add documentation for _create_pseudo_member_ and composite members

2020-03-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +barry, eli.bendersky, ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailin

[issue40006] enum: Add documentation for _create_pseudo_member_ and composite members

2020-03-18 Thread Ram Rachum
New submission from Ram Rachum : Looking at the enum source code, there's a method `_create_pseudo_member_` that's used in a bunch of places. Its docstring says "Create a composite member iff value contains only members", which would have been useful if I had any idea what "composite member"

[issue40005] Getting different result in python 2.7 and 3.7.

2020-03-18 Thread Eric V. Smith
Eric V. Smith added the comment: Note that 2.7 is no longer supported. If you think you found a bug in 3.7, then please: - Reformat your code so that we can understand it. - Show us what output you actually get. - Show us what output you expect, and why. -- nosy: +eric.smith

[issue40005] Getting different result in python 2.7 and 3.7.

2020-03-18 Thread Bharat Solanki
New submission from Bharat Solanki : Hi Team, Below code is giving different result in python 2.7 and 3.7 version. Code is running fine when i am using 2.7 but in 3.7, it is showing error. from multiprocessing import Pool import traceback class Utils: def __init__(self): self.count = 10 de

[issue21087] imp.frozen_init() incorrectly removes module during reload

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: No one has cared in nearly 6 years, so I'm closing as "won't fix". :) -- resolution: -> wont fix stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue20890] Miscellaneous PEP 101 additions

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: These parts of the devguide don't seem to exist anymore, so I'm closing as outdated. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue40002] Cookie load error inconsistency

2020-03-18 Thread Bar Harel
Bar Harel added the comment: For reference, docs already state: "On encountering an invalid cookie, CookieError is raised, so if your cookie data comes from a browser you should always prepare for invalid data and catch CookieError on parsing." -- __

[issue20899] Nested namespace imports do not work inside zip archives

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20613] Wrong line information in bytecode generated by compiler module

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: Since 2.7 development is done there is no compiler packages anymore to worry about. :) -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue21078] multiprocessing.managers.BaseManager.__init__'s "serializer" argument is not documented

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20459] No Argument Clinic documentation on how to specify a return converter

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20360] inspect.Signature could provide readable expressions for default values for builtins

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20439] inspect.Signature: Add Signature.format method to match formatargspec functionality

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20341] Argument Clinic: add "nullable ints"

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20461] Argument Clinic included return converters hard code use of ``_return_value``

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20506] Command to display all available Import Library

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20506] Command to display all available Import Library

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: When a replacement for pkgutil.walk_packages() is added to importlib to work appropriately with the import system then this should be doable. See https://bugs.python.org/issue19939 for work to replace pkgutil as appropriate. -- ___

[issue20123] pydoc.synopsis fails to load binary modules

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20131] warnings module offers no documented, programmatic way to reset "seen-warning" flag

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20205] inspect.getsource(), P302 loader and '<..>' filenames

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20125] We need a good replacement for direct use of load_module(), post-PEP 451

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: I don't think this is still needed as the importlib docs now has enough examples to show people how to get to get similar results with a few method calls. -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___

[issue39995] test_concurrent_futures: ProcessPoolSpawnExecutorDeadlockTest.test_crash() fails with OSError: [Errno 9] Bad file descriptor

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: > Same bug on AMD64 FreeBSD Non-Debug 3.x: > https://buildbot.python.org/all/#/builders/214/builds/472 Oh, test_crash failed twice, but not on the same test case: * ERROR: test_crash (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) [crash

[issue21242] Generalize configure check for working Python executable

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37127] Handling pending calls during runtime finalization may cause problems.

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8849e5962ba481d5d414b3467a256aba2134b4da by Victor Stinner in branch 'master': bpo-39984: trip_signal() uses PyGILState_GetThisThreadState() (GH-19061) https://github.com/python/cpython/commit/8849e5962ba481d5d414b3467a256aba2134b4da -

[issue21459] DragonFlyBSD support

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21108] Add examples for importlib in doc

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: There are now examples in the importlib docs. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue21249] removing pythonXY.zip from sys.path results in additional test failures

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue39984] Move some ceval fields from _PyRuntime.ceval to PyInterpreterState.ceval

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8849e5962ba481d5d414b3467a256aba2134b4da by Victor Stinner in branch 'master': bpo-39984: trip_signal() uses PyGILState_GetThisThreadState() (GH-19061) https://github.com/python/cpython/commit/8849e5962ba481d5d414b3467a256aba2134b4da -

[issue21199] [2.7] Python on 64-bit Windows uses signed 32-bit type for read length

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: Python 3 doesn't have this issue. Python 2 no longer accepts bugfixes. I close the issue. Note: there was a similar issue specific to macOS: bpo-24658 and PR 9938 (closed since Python 2 moved to end of life). -- resolution: -> wont fix stage: patch

[issue21243] Auto-generate exceptions.c from a Python file

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- versions: +Python 3.9 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21242] Generalize configure check for working Python executable

2020-03-18 Thread Brett Cannon
Brett Cannon added the comment: `make regen-all` has probably taken care of this. -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue39995] test_concurrent_futures: ProcessPoolSpawnExecutorDeadlockTest.test_crash() fails with OSError: [Errno 9] Bad file descriptor

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: Same bug on AMD64 FreeBSD Non-Debug 3.x: https://buildbot.python.org/all/#/builders/214/builds/472 == ERROR: test_crash (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) [cr

[issue37127] Handling pending calls during runtime finalization may cause problems.

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: trip_signal() has another problem. If pending->finishing is non-zero, _PyEval_AddPendingCall() uses the C API whereas the current thread may not hold the GIL. That's forbidden by the C API. The more I think about it, the more I think that pending->finishing

[issue21199] Python on 64-bit Windows uses signed 32-bit type for read length

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21614] Case sensitivity problem in multiprocessing.

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue37127] Handling pending calls during runtime finalization may cause problems.

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: My notes on Python finalization: https://pythondev.readthedocs.io/finalization.html -- ___ Python tracker ___ __

[issue21577] Help for ImportError should show a more useful signature.

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- versions: +Python 3.9 -Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue37127] Handling pending calls during runtime finalization may cause problems.

2020-03-18 Thread STINNER Victor
STINNER Victor added the comment: > pending->finishing was addd in bpo-33608 by the change: commit > 842a2f07f2f08a935ef470bfdaeef40f87490cfc Since this change, Py_AddPendingCall() now requires the thread to have a Python thread state: it is used if pending->finishing is non-zero. The functi

[issue21550] Add Python implementation of the tar utility

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21760] inspect documentation describes module type inaccurately

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21737] runpy.run_path() fails with frozen __main__ modules

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21736] Add __file__ attribute to frozen modules

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21724] resetwarnings doesn't reset warnings registry

2020-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue37127] Handling pending calls during runtime finalization may cause problems.

2020-03-18 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +18415 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/19061 ___ Python tracker __

[issue39984] Move some ceval fields from _PyRuntime.ceval to PyInterpreterState.ceval

2020-03-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18414 pull_request: https://github.com/python/cpython/pull/19061 ___ Python tracker ___ __

  1   2   >