[issue43592] test_importlib: test_multiprocessing_pool_circular_import() fails with "Too many open files" error on os.pipe()

2021-10-21 Thread miss-islington
miss-islington added the comment: New changeset 216c040bb1fdf73e78d67ab82a43563d7593f874 by Miss Islington (bot) in branch '3.9': bpo-43592: Raise RLIMIT_NOFILE in test.libregrtest (GH-29127) https://github.com/python/cpython/commit/216c040bb1fdf73e78d67ab82a43563d7593f874 -- _

[issue43592] test_importlib: test_multiprocessing_pool_circular_import() fails with "Too many open files" error on os.pipe()

2021-10-21 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> commit review status: open -> closed ___ Python tracker ___ ___

[issue43592] test_importlib: test_multiprocessing_pool_circular_import() fails with "Too many open files" error on os.pipe()

2021-10-21 Thread miss-islington
miss-islington added the comment: New changeset 8f6aa48cb2dc827a2cb76e35e91bf02d099875c5 by Miss Islington (bot) in branch '3.10': bpo-43592: Raise RLIMIT_NOFILE in test.libregrtest (GH-29127) https://github.com/python/cpython/commit/8f6aa48cb2dc827a2cb76e35e91bf02d099875c5 --

[issue45545] chdir __exit__ is not safe

2021-10-21 Thread Eryk Sun
Eryk Sun added the comment: Sorry, I seem to have missed your post last month when I scanned over the thread on python-ideas [1]. In POSIX, it could try to handle ENAMETOOLONG by walking the path forward with a relative chdir(). This could try to consume as many components as possible in e

[issue43706] enumerate() instantiation time reducing by using PEP 590 vectorcall

2021-10-21 Thread Dong-hee Na
Dong-hee Na added the comment: @vstinner I noticed that the msg390083 was based on a non-optimized build. https://github.com/python/cpython/pull/25154#issuecomment-949061515 ran with the same build option condition. Here is the PGO + LTO based benchmark. Still fast. +-+-

[issue45560] sys.last_* not set for SyntaxErrors with IDLE

2021-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: #43476 is clearly an enhancement request. It proposes to stash info in the GUI process in a way that lets it be into from the other process by non-standard means. This is closer to a bugfix request in that successive lines have a different response in REPL

[issue45530] Improve listobject.c's unsafe_tuple_compare()

2021-10-21 Thread Tim Peters
Tim Peters added the comment: > I see you mentioned that PyObject_RichCompareBool(..., Py_EQ) might be > faster for example because it checks identity. For example, in tupsort.py replace xs = [random() for _ in range(length)] with xs = ['z' * 100 for _ in range(length)] Then sortin

[issue43592] test_importlib: test_multiprocessing_pool_circular_import() fails with "Too many open files" error on os.pipe()

2021-10-21 Thread miss-islington
Change by miss-islington : -- message_count: 10.0 -> 11.0 nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +27420 pull_request: https://github.com/python/cpython/pull/29144 ___ Python tracker _

[issue43592] test_importlib: test_multiprocessing_pool_circular_import() fails with "Too many open files" error on os.pipe()

2021-10-21 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 843b890334ca30cf6af27dffe29cecd06b49f7d9 by Gregory P. Smith in branch 'main': bpo-43592: Raise RLIMIT_NOFILE in test.libregrtest (GH-29127) https://github.com/python/cpython/commit/843b890334ca30cf6af27dffe29cecd06b49f7d9 -- __

[issue43592] test_importlib: test_multiprocessing_pool_circular_import() fails with "Too many open files" error on os.pipe()

2021-10-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +27421 pull_request: https://github.com/python/cpython/pull/29145 ___ Python tracker ___ __

[issue45560] sys.last_* not set for SyntaxErrors with IDLE

2021-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: The method to run just code in userspace, without involving the debugger or history list, is runcommand. It needs a code string. The hard part is the code needed to recreate the exception instance in the user space. It will be different for SyntaxError ve

[issue45560] sys.last_* not set for SyntaxErrors with IDLE

2021-10-21 Thread Andre Roberge
Andre Roberge added the comment: If this can be implemented, then I believe that https://bugs.python.org/issue43476 could be closed as well. -- ___ Python tracker ___ ___

[issue45560] sys.last_* not set for SyntaxErrors with IDLE

2021-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is most likely an oversight. It affects both normal and -n mode. The three sys attributes can be written. Given the error instance e caught in the IDLE process, we need to execute, *in the user namespace*, sys.last_type, sys.last_value, sys.tracebac

[issue45548] Update Modules/Setup

2021-10-21 Thread Brett Cannon
Brett Cannon added the comment: New changeset 01cf4fb9c1aa567484c2ffb1b11f9b3fe9949b05 by Brett Cannon in branch 'main': bpo-45548: Make `Modules/Setup` easier to read (GH-29143) https://github.com/python/cpython/commit/01cf4fb9c1aa567484c2ffb1b11f9b3fe9949b05 -- __

[issue29844] Windows Python installers not installing DLL to System32/SysWOW64

2021-10-21 Thread Zachary Ware
Zachary Ware added the comment: New changeset 098a33f6a60ca2df88e03024ac9d8da507cfa5c8 by Zachary Ware in branch 'main': bpo-29844: Remove obsolete paragraph from Tools/msi/README.txt (GH-29141) https://github.com/python/cpython/commit/098a33f6a60ca2df88e03024ac9d8da507cfa5c8 -- __

[issue27544] Document the ABCs for instance/subclass checks of dict view types

2021-10-21 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2021-10-21 Thread Irit Katriel
Irit Katriel added the comment: This seems abandoned. Shall we close? -- nosy: +iritkatriel ___ Python tracker ___ ___ Python-bugs-

[issue43706] enumerate() instantiation time reducing by using PEP 590 vectorcall

2021-10-21 Thread Dong-hee Na
Change by Dong-hee Na : -- versions: +Python 3.11 -Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26597] Document how to cite Python

2021-10-21 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list m

[issue21358] Augmented assignment doc: clarify 'only evaluated once'

2021-10-21 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___

[issue43706] enumerate() instantiation time reducing by using PEP 590 vectorcall

2021-10-21 Thread Dong-hee Na
Dong-hee Na added the comment: Thanks Victor! -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43706] enumerate() instantiation time reducing by using PEP 590 vectorcall

2021-10-21 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 83f202a802b0810e2f0900c6d298fd104390f2ba by Dong-hee Na in branch 'main': bpo-43706: Use PEP 590 vectorcall to speed up enumerate() (GH-25154) https://github.com/python/cpython/commit/83f202a802b0810e2f0900c6d298fd104390f2ba -- _

[issue43706] enumerate() instantiation time reducing by using PEP 590 vectorcall

2021-10-21 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +kj ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue43706] enumerate() instantiation time reducing by using PEP 590 vectorcall

2021-10-21 Thread Dong-hee Na
Dong-hee Na added the comment: See my last benchmark https://github.com/python/cpython/pull/25154#issuecomment-949061515 Same result in both Linux VM and Macbook pro. -- ___ Python tracker

[issue45530] Improve listobject.c's unsafe_tuple_compare()

2021-10-21 Thread Stefan Pochmann
Stefan Pochmann added the comment: I see you mentioned that PyObject_RichCompareBool(..., Py_EQ) might be faster for example because it checks identity. Why not do an identity check before the ms->tuple_elem_compare calls? Too expensive and rarely successful? > Extending the idea to positio

[issue45548] Update Modules/Setup

2021-10-21 Thread Brett Cannon
Change by Brett Cannon : -- pull_requests: +27419 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29143 ___ Python tracker ___

[issue41050] class multiprocessing.Value calls set_start_method

2021-10-21 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.11 -Python 3.5, Python 3.8 ___ Python tracker ___ ___

[issue28375] cgi.py spam in Apache server logs

2021-10-21 Thread Irit Katriel
Change by Irit Katriel : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue44019] operator.call/operator.__call__

2021-10-21 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +27418 pull_request: https://github.com/python/cpython/pull/29142 ___ Python tracker ___ _

[issue44019] operator.call/operator.__call__

2021-10-21 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 37fad7d3b7154c44b9902a2ab0db8641f1a0284b by Dong-hee Na in branch 'main': bpo-44019: Add test_all_exported_names for operator module (GH-29124) https://github.com/python/cpython/commit/37fad7d3b7154c44b9902a2ab0db8641f1a0284b --

[issue45528] mmap: constants not listed in the documentation

2021-10-21 Thread Michael Wayne Goodman
Michael Wayne Goodman added the comment: Also, the first sentences of third paragraph have some problems: > For both the Unix and Windows versions of the constructor, > access may be specified as an optional keyword > parameter. access accepts one of four values: ACCESS_READ, > ACCESS_WRITE, o

[issue41592] Make _SubParsersAction public

2021-10-21 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +kj ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue39247] dataclass defaults and property don't work together

2021-10-21 Thread Thomas
Thomas added the comment: > An example of multiple descriptors would be to have: > @cached_property > @property > def expensive_calc(self): > #Do something expensive That's decorator chaining. The example you gave is not working code (try to return something from expensive_calc and print(

[issue41104] IMAPlib debug errors

2021-10-21 Thread Irit Katriel
Irit Katriel added the comment: This function was rewritten in PR15206 and this line is no longer there. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue1353344] python.desktop

2021-10-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: patch review -> needs patch versions: +Python 3.11 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker ___ ___

[issue29844] Windows Python installers not installing DLL to System32/SysWOW64

2021-10-21 Thread Zachary Ware
Change by Zachary Ware : -- keywords: +patch pull_requests: +27417 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/29141 ___ Python tracker

[issue31382] CGI upload error when file ~< 10kb

2021-10-21 Thread Irit Katriel
Irit Katriel added the comment: There isn't enough information here to understand what your issue is. If you are still having this problem on a current python version (3.9+), please create a new issue and provide instructions how to reproduce it and information about the environment in which

[issue45395] Frozen stdlib modules are discarded if custom frozen modules added.

2021-10-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: I have an initial version of PyRun for Python 3.10 running as well. This created a few more headaches in order to make it work with setuptools and some glitches which appear to be bugs in 3.10 (https://bugs.python.org/issue45563 and https://bugs.python.org/

[issue31000] Test failure in resource module on some ZFS systems

2021-10-21 Thread Gregory P. Smith
Gregory P. Smith added the comment: It doesn't happen on the zfs ubuntu 20.04 machine i've got. Figuring out an appropriate workaround when refactoring the test for this is best done by someone with a system it fails on. It'd be guesswork otherwise. -- title: Test failure in resour

[issue42074] setup error on windows

2021-10-21 Thread Zachary Ware
Zachary Ware added the comment: Closing due to lack of response. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ _

[issue42358] Python 3.9.0 unable to detect ax_cv_c_float_words_bigendian value on bigendian system

2021-10-21 Thread Zachary Ware
Change by Zachary Ware : -- resolution: -> out of date stage: -> resolved status: open -> closed title: Python 3.9.0 unable to detect ax_cv_c_float_words_bigendian value on nigendan system -> Python 3.9.0 unable to detect ax_cv_c_float_words_bigendian value on bigendian system

[issue39247] dataclass defaults and property don't work together

2021-10-21 Thread Thomas
Thomas added the comment: Just to rephrase, because the explanation in my last message can be ambiguous: At dataclass construction time (when the @dataclass decorator inspects and enhances the class): for field in fields: if descriptor := getattr(field, 'descriptor'): setattr(cls

[issue42413] Replace custom exceptions for timeouts with TimeoutError

2021-10-21 Thread Christian Heimes
Christian Heimes added the comment: Andrew, could you please rebase your PR and get it submitted? -- assignee: christian.heimes -> asvetlov versions: +Python 3.11 -Python 3.10 ___ Python tracker

[issue5120] Change _tkinter initialization for new versions of Aqua Tk on OS X

2021-10-21 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue18276] posixpath.c:_fd_converter() should use PyObject_AsFileDescriptor()

2021-10-21 Thread Christian Heimes
Christian Heimes added the comment: Fine with me! Thanks for your feedback. -- resolution: -> rejected stage: needs patch -> resolved status: open -> closed ___ Python tracker __

[issue18276] posixpath.c:_fd_converter() should use PyObject_AsFileDescriptor()

2021-10-21 Thread STINNER Victor
STINNER Victor added the comment: I like calling .fileno() explicitly. It seems like it's not really needed to call it implicitly, since this issue doesn't get much activity. I suggest to reject it. -- status: pending -> open ___ Python tracker <

[issue45562] python -d creates lots of tokenizer messages

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

[issue20952] OpenSSL and RDRAND

2021-10-21 Thread Christian Heimes
Christian Heimes added the comment: Thankfully RDRAND is no longer a concern for us. All OpenSSL versions in official Python.org installers and supported by recent Python versions have a strong and fork-safe RNG. -- resolution: -> fixed stage: -> resolved status: open -> closed __

[issue45562] python -d creates lots of tokenizer messages

2021-10-21 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Yeah, those are expected in 3.10, but this should not appear in release versions (only on debug ones). Python -d is normally used to debug the parser: -d : turn on parser debugging output (for experts only, only works on debug builds); al

[issue17181] SSLContext.set_servername_callback should be able to set argument

2021-10-21 Thread Christian Heimes
Christian Heimes added the comment: As Antoine said, you can use a partial function, closure, or an instance method as a callable. Besides nobody else has requested an additional argument in the past eight years. I see this as a strong indication that an argument is not required. --

[issue45564] shutil.rmtree and os.walk are implemented using recursion, fail on deep hierarchies

2021-10-21 Thread Alexander Patrakov
New submission from Alexander Patrakov : It is possible to create deep directory hierarchies that cannot be removed via shutil.rmtree or walked via os.walk, because these functions exceed the interpreter recursion limit. This may have security implications for web services (e.g. various webdi

[issue29370] "./configure --enable-optimizations && make install" does not install files in ${BINDIR} and ${LIBDIR}

2021-10-21 Thread Zachary Ware
Zachary Ware added the comment: I can't reproduce this one with current main, so I'm closing as out of date. If someone can still reproduce with a current version, please reopen or leave a message with details. -- nosy: +zach.ware resolution: -> out of date stage: -> resolved stat

[issue45563] inspect.getframeinfo() doesn't handle frames without lineno

2021-10-21 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- components: -Parser ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue45563] inspect.getframeinfo() doesn't handle frames without lineno

2021-10-21 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +Mark.Shannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue39247] dataclass defaults and property don't work together

2021-10-21 Thread Michael Robellard
Michael Robellard added the comment: An example of multiple descriptors would be to have: @cached_property @property def expensive_calc(self): #Do something expensive -- ___ Python tracker _

[issue39247] dataclass defaults and property don't work together

2021-10-21 Thread Thomas
Thomas added the comment: Agreed on everything but that last part, which I'm not sure I understand: > If we allow descriptor to accept an iterable as well you could have multiple > descriptors just like normal. Could you give an example of what you mean with a regular class? I've had a bit mo

[issue44547] fraction.Fraction does not implement __int__.

2021-10-21 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the patch, Mark! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44547] fraction.Fraction does not implement __int__.

2021-10-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d1b24775b462f4f28aa4929fd031899170793388 by Mark Dickinson in branch 'main': bpo-44547: Make Fractions objects instances of typing.SupportsInt (GH-27851) https://github.com/python/cpython/commit/d1b24775b462f4f28aa4929fd031899170793388 --

[issue44344] Documentation for pow() should include the possibility of complex numbers as a return type

2021-10-21 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Mark! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11 ___ Python tracker _

[issue44344] Documentation for pow() should include the possibility of complex numbers as a return type

2021-10-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c53428fe8980aab6eda3e573bafed657e6798e6e by Miss Islington (bot) in branch '3.9': bpo-44344: Document that pow can return a complex number for non-complex inputs. (GH-27853) (GH-29134) https://github.com/python/cpython/commit/c53428fe8980aab6eda3e

[issue44344] Documentation for pow() should include the possibility of complex numbers as a return type

2021-10-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 9b3cda56870d087cf50f605e91f3d26964868640 by Miss Islington (bot) in branch '3.10': bpo-44344: Document that pow can return a complex number for non-complex inputs. (GH-27853) (GH-29135) https://github.com/python/cpython/commit/9b3cda56870d087cf50f

[issue41983] Missing Documentation AF_PACKET

2021-10-21 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Andrei! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.8 ___ Python tracker

[issue41983] Missing Documentation AF_PACKET

2021-10-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 8fd7e8965d0ff9f76401b86aec2166cc59a40637 by Miss Islington (bot) in branch '3.10': bpo-41983: add availability info to socket docs (GH-27519) (GH-29136) https://github.com/python/cpython/commit/8fd7e8965d0ff9f76401b86aec2166cc59a40637 --

[issue41983] Missing Documentation AF_PACKET

2021-10-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b26eae54e98f44eebc1599ca458228dae0568ffa by Miss Islington (bot) in branch '3.9': bpo-41983: add availability info to socket docs (GH-27519) (GH-29137) https://github.com/python/cpython/commit/b26eae54e98f44eebc1599ca458228dae0568ffa --

[issue17181] SSLContext.set_servername_callback should be able to set argument

2021-10-21 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue45563] inspect.getframeinfo() doesn't handle frames without lineno

2021-10-21 Thread Marc-Andre Lemburg
Change by Marc-Andre Lemburg : -- components: +Interpreter Core, Library (Lib), Parser nosy: +lys.nikolaou, pablogsal ___ Python tracker ___ ___

[issue45562] python -d creates lots of tokenizer messages

2021-10-21 Thread Marc-Andre Lemburg
Change by Marc-Andre Lemburg : -- components: +Parser nosy: +lys.nikolaou, pablogsal ___ Python tracker ___ ___ Python-bugs-list mai

[issue45562] python -d creates lots of tokenizer messages

2021-10-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: What's even worse is that those debug lines get written to stdout, not stderr. -- ___ Python tracker ___

[issue45563] inspect.getframeinfo() doesn't handle frames without lineno

2021-10-21 Thread Marc-Andre Lemburg
New submission from Marc-Andre Lemburg : In Python 3.10, it seems that top-level frames generated by running exec() have their f_lineno attribute set to None. inspect.getframeinfo() tries to build context lines and fails on this line in such a case: start = lineno - 1 - context//2 b

[issue16621] sched module enhancement request

2021-10-21 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> sched.scheduler.run() blocks scheduler ___ Python tracker ___ _

[issue45559] pprint tests do not test pprint.pprint()

2021-10-21 Thread Eric V. Smith
Change by Eric V. Smith : -- title: pprint module does not test pprint.pprint() -> pprint tests do not test pprint.pprint() ___ Python tracker ___

[issue45557] pprint -> underscore_numbers argument not working

2021-10-21 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11 ___ Python tracker ___ ___

[issue45562] python -d creates lots of tokenizer messages

2021-10-21 Thread Marc-Andre Lemburg
New submission from Marc-Andre Lemburg : python3.9 -d: Python 3.9.7 (default, Oct 21 2021, 20:51:19) [GCC 7.5.0] on linux Type "help", "copyright", "credits" or "license" for more information. Loaded pyinteractive.py. >>> python3.10 -d: Python 3.10.0 (default, Oct 21 2021, 23:13:32) [GCC 7.5

[issue12675] tokenize module happily tokenizes code with syntax errors

2021-10-21 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.11 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker ___ ___

[issue45561] Run smelly.py and multissltests.py from $(srcdir)

2021-10-21 Thread Neil Schemenauer
Change by Neil Schemenauer : -- keywords: +patch pull_requests: +27415 pull_request: https://github.com/python/cpython/pull/29138 ___ Python tracker ___ ___

[issue45561] Run smelly.py and multissltests.py from $(srcdir)

2021-10-21 Thread Neil Schemenauer
New submission from Neil Schemenauer : Some makefile rules don't work if you build in a separate folder. -- messages: 404671 nosy: nascheme priority: normal severity: normal stage: patch review status: open title: Run smelly.py and multissltests.py from $(srcdir) type: behavior ___

[issue28375] cgi.py spam in Apache server logs

2021-10-21 Thread Irit Katriel
Irit Katriel added the comment: There's been quite a few changes in finalization (thanks to Victor) since 3.5/3.6. Are you seeing this problem on 3.9+? Can you provide instructions how to reproduce it? -- nosy: +iritkatriel, vstinner ___ Python

[issue45560] sys.last_* not set for SyntaxErrors with IDLE

2021-10-21 Thread Andre Roberge
New submission from Andre Roberge : As stated in the documentation, sys.last_type, sys.last_value and sys.last_traceback ... are set when an exception is not handled and the interpreter prints an error message and a stack traceback. This is true whether the exception is a SyntaxError or some

[issue18056] Document importlib._bootstrap.NamespaceLoader

2021-10-21 Thread Brett Cannon
Brett Cannon added the comment: This was taken care of by https://github.com/python/cpython/pull/29049/. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue45540] module.__package__ and module.__spec__.parent have different semantics

2021-10-21 Thread Brett Cannon
Brett Cannon added the comment: Sure, if you want to go full PEP on this I'm happy to be a co-author if the end goal is to ditch the (now) extraneous attributes. -- ___ Python tracker __

[issue45547] Modernize the importlib loaders

2021-10-21 Thread Brett Cannon
Brett Cannon added the comment: It's an interesting question. Probably should add the new APIs. As for dropping the old ones, we would have to check if we have been raising deprecation warnings as appropriate or if it's just a documentation thing. --

[issue19336] No API to get events from epoll without allocating a list

2021-10-21 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue43592] test_importlib: test_multiprocessing_pool_circular_import() fails with "Too many open files" error on os.pipe()

2021-10-21 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +27414 pull_request: https://github.com/python/cpython/pull/29127 ___ Python tracker ___ ___

[issue43592] test_importlib: test_multiprocessing_pool_circular_import() fails with "Too many open files" error on os.pipe()

2021-10-21 Thread Gregory P. Smith
Gregory P. Smith added the comment: macOS often has an unreasonably low default max number of file descriptors. This is easy to raise from user code, it's a soft limit. https://github.com/python/cpython/pull/29127 is out to try that from regrtest itself. -- assignee: -> gregory.p.

[issue45557] pprint -> underscore_numbers argument not working

2021-10-21 Thread miss-islington
miss-islington added the comment: New changeset 6b75ad5fd47e5b34a04197927f748d0391898de7 by Miss Islington (bot) in branch '3.10': bpo-45557: Fix underscore_numbers in pprint.pprint(). (GH-29129) https://github.com/python/cpython/commit/6b75ad5fd47e5b34a04197927f748d0391898de7 -- _

[issue41983] Missing Documentation AF_PACKET

2021-10-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +27413 pull_request: https://github.com/python/cpython/pull/29137 ___ Python tracker ___ __

[issue41983] Missing Documentation AF_PACKET

2021-10-21 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +27412 pull_request: https://github.com/python/cpython/pull/29136 ___ Python tracker _

[issue41983] Missing Documentation AF_PACKET

2021-10-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 51375388bee7287be2d942906b48c8cf3f691e8b by andrei kulakov in branch 'main': bpo-41983: add availability info to socket docs (GH-27519) https://github.com/python/cpython/commit/51375388bee7287be2d942906b48c8cf3f691e8b -- nosy: +lukasz.lan

[issue45526] Set ADDRESS_BITS to 64 for obmalloc radix tree

2021-10-21 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Neil! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker ___

[issue45526] Set ADDRESS_BITS to 64 for obmalloc radix tree

2021-10-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0224b7180b280794b9fba62057b278ffb536c86f by Neil Schemenauer in branch 'main': bpo-45526: obmalloc radix use 64 addr bits (GH-29062) https://github.com/python/cpython/commit/0224b7180b280794b9fba62057b278ffb536c86f -- nosy: +lukasz.langa

[issue23120] installation order of 32bit and 64bit python seems to matter

2021-10-21 Thread Zachary Ware
Change by Zachary Ware : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python

[issue45160] ttk.OptionMenu radiobuttons change variable value twice

2021-10-21 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the fix, E. Paine, and fhdrsdg for the report! ✨ 🍰 ✨ -- ___ Python tracker ___ ___ Python

[issue45160] ttk.OptionMenu radiobuttons change variable value twice

2021-10-21 Thread Łukasz Langa
Change by Łukasz Langa : -- Removed message: https://bugs.python.org/msg404659 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue45160] ttk.OptionMenu radiobuttons change variable value twice

2021-10-21 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the fix, E. Paine, and fhdrsdg for the fix! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue45160] ttk.OptionMenu radiobuttons change variable value twice

2021-10-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 98f157de1260801fd26c72eb6bfae0d9295e5ab3 by Miss Islington (bot) in branch '3.10': bpo-45160: Ttk optionmenu only set variable once (GH-28291) (GH-29131) https://github.com/python/cpython/commit/98f157de1260801fd26c72eb6bfae0d9295e5ab3 --

[issue40906] Unable to import module due to python unable to resolve dependecies

2021-10-21 Thread Zachary Ware
Change by Zachary Ware : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-b

[issue45160] ttk.OptionMenu radiobuttons change variable value twice

2021-10-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 04485ac9886cd807aae854fb905a88c791cfdde6 by Miss Islington (bot) in branch '3.9': bpo-45160: Ttk optionmenu only set variable once (GH-28291) (GH-29132) https://github.com/python/cpython/commit/04485ac9886cd807aae854fb905a88c791cfdde6 --

[issue31000] Test failure in resource module on ZFS

2021-10-21 Thread Larry Hastings
Larry Hastings added the comment: FWIW the test still fails in exactly the same way. This was building with main, on Pop!_OS 21.04 64-bit. -- ___ Python tracker ___

[issue44344] Documentation for pow() should include the possibility of complex numbers as a return type

2021-10-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +27411 pull_request: https://github.com/python/cpython/pull/29135 ___ Python tracker ___ __

[issue44344] Documentation for pow() should include the possibility of complex numbers as a return type

2021-10-21 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +27410 pull_request: https://github.com/python/cpython/pull/29134 ___ Python tracker _

  1   2   3   >