[issue44439] stdlib wrongly uses len() for bytes-like object

2021-06-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +25426 pull_request: https://github.com/python/cpython/pull/26845 ___ Python tracker _

[issue44439] stdlib wrongly uses len() for bytes-like object

2021-06-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset bc6c12c72a9536acc96e7b9355fd69d1083a43c1 by Ma Lin in branch 'main': bpo-44439: BZ2File.write() / LZMAFile.write() handle buffer protocol correctly (GH-26764) https://github.com/python/cpython/commit/bc6c12c72a9536acc96e7b9355fd69d1083a43c1

[issue44458] Duplicate symbol _BUFFER_BLOCK_SIZE when statically linking multiple modules

2021-06-22 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset cf739332bd039cd2303b58663a804f784883820d by Miss Islington (bot) in branch '3.10': bpo-44458: Ensure BUFFER_BLOCK_SIZE symbol is statically allocated. (GH-26808) (GH-26844) https://github.com/python/cpython/commit/cf739332bd039cd2303b58663a80

[issue44458] Duplicate symbol _BUFFER_BLOCK_SIZE when statically linking multiple modules

2021-06-22 Thread Gregory P. Smith
Gregory P. Smith added the comment: Good catch. We don't have buildbots statically linking the modules in these days, that'd be useful to prevent things like this from happening. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue44439] stdlib wrongly uses len() for bytes-like object

2021-06-22 Thread Christian Heimes
Change by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue44439] stdlib wrongly uses len() for bytes-like object

2021-06-22 Thread Ma Lin
Change by Ma Lin : -- pull_requests: +25427 pull_request: https://github.com/python/cpython/pull/26846 ___ Python tracker ___ ___ Py

[issue44484] test_concurrent_futures: failure on Windows (x64)

2021-06-22 Thread Erlend E. Aasland
New submission from Erlend E. Aasland : https://github.com/python/cpython/pull/26840/checks?check_run_id=2879802998 2021-06-21T22:34:41.2973359Z Current runner version: '2.278.0' 2021-06-21T22:34:41.3112811Z ##[group]Operating System 2021-06-21T22:34:41.3113619Z Microsoft Windows Server 2019 202

[issue44485] TKinter docs page does not provide actual documentation

2021-06-22 Thread Chris Trent
New submission from Chris Trent : The documentation pages for the tkinter module are not actually documentation. They are tutorials, which belong on the wiki. "Documentation" is not documentation if it does not provide at bare minimum a structured list of all names exposed by the module's pub

[issue44485] TKinter docs page does not provide actual documentation

2021-06-22 Thread Chris Trent
Change by Chris Trent : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue44287] test_asyncio: test_popen() failed on AMD64 Windows8.1 Refleaks 3.9

2021-06-22 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11 ___ Python tracker ___ __

[issue44485] TKinter docs page does not provide actual documentation

2021-06-22 Thread Steven D'Aprano
Steven D'Aprano added the comment: Are you referring to this? https://docs.python.org/3/library/tkinter.html I acknowledge that there are legitimate criticism of the tkinter docs, and its weaknesses, but you overstate your case. - Tutorials are documentation, they just aren't *reference* do

[issue44468] Shouldn't `typing.get_type_hints()` default `globalns` to `{}` instead of skipping base classes?

2021-06-22 Thread Ken Jin
Ken Jin added the comment: > Ken, if you feel like it, a fix should not be too complicated, right? Yup. Will's proposal is to change the try-except to: base_globals = getattr(sys.modules.get(base.__module__, None), '__dict__', {}) @Will, would you like to submit a PR for this? You'd need to

[issue44486] Modules should alway have a dictionary

2021-06-22 Thread Mark Shannon
New submission from Mark Shannon : It is possible to create a module without a dictionary: m = types.ModuleType.__new__(types.ModuleType) But that is the only way to create to a module without a dict; all other means of creating a module, both in Python and in the C API, result in a fully form

[issue44486] Modules should alway have a dictionary

2021-06-22 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +25428 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26847 ___ Python tracker ___ ___

[issue38291] Deprecate the typing.io and typing.re pseudo-modules

2021-06-22 Thread Ken Jin
Ken Jin added the comment: That specific buildbot is now green. Thanks everyone :)! https://dev.azure.com/Python/cpython/_build/results?buildId=82931&view=results I'm closing the issue now as it seems there isn't anything left to do. -- resolution: -> fixed stage: patch review -> res

[issue44487] Regression

2021-06-22 Thread Erik Faye-Lund
New submission from Erik Faye-Lund : This commit lead to a regression when using Meson on Windows to build the Mesa project: https://github.com/python/cpython/commit/4827483f47906fecee6b5d9097df2a69a293a85c The reason is that pathlib.read_text now uses the locale as the encoding when reading

[issue44487] Regression in pathlib.path.read_text

2021-06-22 Thread Erik Faye-Lund
Change by Erik Faye-Lund : -- title: Regression -> Regression in pathlib.path.read_text ___ Python tracker ___ ___ Python-bugs-list

[issue28533] Replace asyncore

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: There is actually one usage outside of the tests: Lib/smtpd.py There is a note in the doc saying " The aiosmtpd package is a recommended replacement for this module. It is based on asyncio and provides a more straightforward API. smtpd should be considered dep

[issue44483] Fatal error in type union

2021-06-22 Thread Ken Jin
Change by Ken Jin : -- keywords: +patch nosy: +kj nosy_count: 1.0 -> 2.0 pull_requests: +25429 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26848 ___ Python tracker ___

[issue44483] Fatal error in type union

2021-06-22 Thread Ken Jin
Ken Jin added the comment: A possible simple fix is to change these lines https://github.com/python/cpython/blob/main/Objects/unionobject.c#L294-L301 to: ``` return ( is_typevar(obj) | is_new_type(obj) | is_special_form(obj) | PyType_Check(obj) | Py

[issue44485] TKinter docs page does not provide actual documentation

2021-06-22 Thread Chris Trent
Chris Trent added the comment: To put it bluntly, having me submit patches to that section of the docs is just about the last thing you want. I know precious little about TKinter, which is precisely why I'm calling for something more than a half-assed tutorial. Regarding using the TCL/TK doc

[issue38291] Deprecate the typing.io and typing.re pseudo-modules

2021-06-22 Thread Sebastian Rittau
Sebastian Rittau added the comment: Ken: We still need to remove these modules in Python 3.12+. Should we open a separate issue, reopen this one, or just handle it after the Python 3.11 branch has been created? -- ___ Python tracker

[issue28533] Replace asyncore

2021-06-22 Thread STINNER Victor
STINNER Victor added the comment: So the first step is to decide if it's ok to remove smtpd right now. -- ___ Python tracker ___ __

[issue28533] Replace asyncore

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue32005] multiprocessing.Array misleading error message in slice assignment

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list

[issue44487] Regression in pathlib.path.read_text

2021-06-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +methane, paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ _

[issue38291] Deprecate the typing.io and typing.re pseudo-modules

2021-06-22 Thread Ken Jin
Ken Jin added the comment: @Sebastian, Woops, thanks for the reminder. I think both options are fine. But I'm leaning towards creating a new issue. The title of the current issue is "Deprecate the typing.io and typing.re pseudo-modules" not "Remove the typing.io and typing.re pseudo-modules

[issue44488] ERROR: No matching distribution found for kivy

2021-06-22 Thread NIKDISSV
New submission from NIKDISSV : An error occurred when installing kiwi on python 3.10.0b3, on Python 3.9.5 there are no errors, but on 3.10 there are: Collecting kivy Using cached Kivy-2.0.0.tar.gz (23.7 MB) Installing build dependencies ... error ERROR: Command errored out with exit stat

[issue44488] ERROR: No matching distribution found for kivy

2021-06-22 Thread Mark Dickinson
Mark Dickinson added the comment: I'd suggest reporting this on the kivy bug tracker: https://github.com/kivy/kivy This tracker is for the Python core language, and this doesn't look like a problem caused by a bug in Python. -- nosy: +mark.dickinson resolution: -> third party stage:

[issue44489] _handle_existing_loggers should respect loggers that were manually disabled

2021-06-22 Thread Ron Serruya
New submission from Ron Serruya : The method `_handle_existing_loggers` in the logging lib (called when configuring loggers using dictConfig) iterates over all existing loggers and sets their .disabled attribute according to the `disable_existing_loggers` parameter (usually set to false) How

[issue44489] _handle_existing_loggers should respect loggers that were manually disabled

2021-06-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue41621] Document collections.defaultdict parameter default_factory

2021-06-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: defaultdict miss behave when using default_factory passed as kwargs -> Document collections.defaultdict parameter default_factory versions: +Python 3.11 -Python 3.8 ___ Python tracker

[issue44487] Regression in pathlib.path.read_text

2021-06-22 Thread Erik Faye-Lund
Erik Faye-Lund added the comment: After digging some more, I no longer suspect that this commit is to blame, but instead some logic in Meson that effectively disabled the problematic code under in our use-case before we upgraded our Visual Studio version. The reason is that I was able to rep

[issue44490] PEP 604 Union (int | str) doesn't have __parameters__

2021-06-22 Thread Ken Jin
New submission from Ken Jin : Recently I noticed that the new PEP 604 Union type doesn't collect type variables: from typing import TypeVar T = TypeVar('T') (int | list[T]).__parameters__ Traceback (most recent call last): File "", line 1, in AttributeError: 'types.Union' object has no at

[issue44487] Regression in pathlib.path.read_text

2021-06-22 Thread Inada Naoki
Inada Naoki added the comment: Please write a link to the original issue next time. https://github.com/mesonbuild/meson/issues/8916 -- ___ Python tracker ___ _

[issue44487] Regression in pathlib.path.read_text

2021-06-22 Thread Inada Naoki
Inada Naoki added the comment: Another upstream issue: https://github.com/mesonbuild/meson/issues/8263 -- ___ Python tracker ___ __

[issue26545] [doc] os.walk is limited by python's recursion limit

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy title: os.walk is limited by python's recursion limit -> [doc] os.walk is limited by python's recursion limit versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5 ___ Python tracker

[issue43547] support ZIP files with zeroed out fields (e.g. for reproducible builds)

2021-06-22 Thread Felix C. Stegerman
Felix C. Stegerman added the comment: https://github.com/obfusk/apksigcopier currently produces reproducible ZIP files identical to those produced by apksigner using this code: DATETIMEZERO = (1980, 0, 0, 0, 0, 0) class ReproducibleZipInfo(zipfile.ZipInfo): """Reproducible ZipInfo hack

[issue44483] Fatal error in type union

2021-06-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset adfa1ba398c74720b42f16f06fd3ec0353599fa5 by Ken Jin in branch 'main': bpo-44483: Fix crash in union object with bad ``__module__`` (GH-26848) https://github.com/python/cpython/commit/adfa1ba398c74720b42f16f06fd3ec0353599fa5 -- _

[issue44439] stdlib wrongly uses len() for bytes-like object

2021-06-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8bc26d8c9d092840054f57f9b4620de0d40d8423 by Ma Lin in branch '3.9': bpo-44439: BZ2File.write()/LZMAFile.write() handle length correctly (GH-26846) https://github.com/python/cpython/commit/8bc26d8c9d092840054f57f9b4620de0d40d8423 --

[issue44439] stdlib wrongly uses len() for bytes-like object

2021-06-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Ma Lin. -- components: +Library (Lib) resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 ___

[issue44439] stdlib wrongly uses len() for bytes-like object

2021-06-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 01858fbe31e8e0185edfbd3f10172f7c61391c9d by Miss Islington (bot) in branch '3.10': bpo-44439: BZ2File.write() / LZMAFile.write() handle buffer protocol correctly (GH-26764) (GH-26845) https://github.com/python/cpython/commit/01858fbe31e8e0185

[issue22654] issue with PYTHON_FOR_BUILD

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: There has been no followup in over 6 years, so I am closing. If you are still having this problem with a current python version, please create a new issue. -- nosy: +iritkatriel resolution: -> not a bug stage: -> resolved status: open -> closed _

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2021-06-22 Thread Ken Jin
Change by Ken Jin : -- nosy: +kj nosy_count: 10.0 -> 11.0 pull_requests: +25430 pull_request: https://github.com/python/cpython/pull/26848 ___ Python tracker ___ __

[issue25947] Installation problem

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: Version 3.5 is no longer supported. If you are having issues installing a current version (3.9+) please create a new issue. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___

[issue39232] asyncio crashes when tearing down the proactor event loop

2021-06-22 Thread Joe
Joe added the comment: We are running into this all the time, ever since the Proactor became the default on Windows in 3.8. Usually it comes up when the program terminates due to an unhandled exception during a highly concurrent operation. The resulting cascade of RuntimeErrors often obscu

[issue41621] Document collections.defaultdict parameter default_factory

2021-06-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +25431 pull_request: https://github.com/python/cpython/pull/26850 ___ Python tracker _

[issue41621] Document collections.defaultdict parameter default_factory

2021-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d1ae57027fc39ff60dcfc1b63881400e5ca3ce56 by Dennis Sweeney in branch 'main': bpo-41621: Document defaultdict's default_factory parameter (GH-21945) https://github.com/python/cpython/commit/d1ae57027fc39ff60dcfc1b63881400e5ca3ce56 -- no

[issue41621] Document collections.defaultdict parameter default_factory

2021-06-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +25432 pull_request: https://github.com/python/cpython/pull/26851 ___ Python tracker ___ __

[issue38829] Make the function flush_io accessible in the C-API

2021-06-22 Thread Petr Viktorin
Petr Viktorin added the comment: To follow up on the StackOverflow discussion: A call to PyErr_Print should invoke sys.excepthook. Unless sys.excepthook was changed, this should print the message *and* flush standard output. If it doesn't, I recommend investigating why. If that does not work

[issue39078] __function.__defaults__ breaks for __init__ of dataclasses with default factory

2021-06-22 Thread Petr Viktorin
Change by Petr Viktorin : -- components: +Library (Lib) -C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2021-06-22 Thread Ken Jin
Change by Ken Jin : -- pull_requests: -25430 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue44483] Fatal error in type union

2021-06-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +25433 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26852 ___ Python tracker _

[issue39123] PyThread_xxx() not available when using limited API

2021-06-22 Thread Petr Viktorin
Petr Viktorin added the comment: In Python 3.10, the functions: PyThread_allocate_lock, PyThread_exit_thread, PyThread_free_lock, PyThread_get_stacksize, PyThread_get_thread_ident, PyThread_get_thread_native_id, PyThread_init_thread, PyThread_release_lock, PyThread_set_stacksize, PyThread_st

[issue39355] The Python library will not compile with a C++2020 compiler because the code uses the reserved “module” keyword

2021-06-22 Thread Petr Viktorin
Change by Petr Viktorin : -- nosy: +petr.viktorin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue39620] PyObject_GetAttrString and tp_getattr do not agree

2021-06-22 Thread Petr Viktorin
Change by Petr Viktorin : -- nosy: +petr.viktorin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue41621] Document collections.defaultdict parameter default_factory

2021-06-22 Thread miss-islington
miss-islington added the comment: New changeset a65df3f9fc9a51f3e8d710492aafe07b13f0be0f by Miss Islington (bot) in branch '3.9': bpo-41621: Document defaultdict's default_factory parameter (GH-21945) https://github.com/python/cpython/commit/a65df3f9fc9a51f3e8d710492aafe07b13f0be0f

[issue39767] create multiprocessing.SharedMemory by pointing to existing memoryview

2021-06-22 Thread Petr Viktorin
Change by Petr Viktorin : -- components: +Library (Lib) -C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39078] __function.__defaults__ breaks for __init__ of dataclasses with default factory

2021-06-22 Thread Eric V. Smith
Eric V. Smith added the comment: I don't think there's any action to be done here, so I'm going to close this. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker _

[issue41255] Argparse.parse_args exits on unrecognized option with exit_on_error=False

2021-06-22 Thread Peter V
Peter V added the comment: I'm new to Python bugtracker and I may misunderstand the discussion. But I think this is a real bug in argparse, not a documentation problem. My usecase was that I wanted to add argparse to a GUI application where print and exit is a wrong option. So I set `argpar

[issue44490] PEP 604 Union (int | str) doesn't have __parameters__

2021-06-22 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: I agree that this is a bug. `types.Union` is also missing a __getitem__ implementation. And `typing.Union` supports pickling while `types.Union` doesn't: >>> pickle.loads(pickle.dumps(int | str)) Traceback (most recent call last): File "", line 1, in Type

[issue40939] Remove the old parser

2021-06-22 Thread Petr Viktorin
Change by Petr Viktorin : -- nosy: +petr.viktorin nosy_count: 11.0 -> 12.0 pull_requests: +25434 pull_request: https://github.com/python/cpython/pull/26855 ___ Python tracker _

[issue22329] Windows installer can't recover partially installed state

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: > This does not affect Python 3.5 or later. Closing as out of date as 3.4 is no longer maintained. -- nosy: +iritkatriel resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tr

[issue40939] Remove the old parser

2021-06-22 Thread Petr Viktorin
Petr Viktorin added the comment: - The removed functions are still listed in the documentation; this is confusing. - `struct _node` is not very usable in the C API, but what I saw in mod_wsgi was giving gave PyParser_* output to PyNode_Compile. I tried to write porting notes for this usage.

[issue24425] Installer Vender Issue

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: Closing as 3.4 and 2.7 are no longer maintained and the installer was rewritten for 3.5. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue24499] Python Installer text piles up during installation process

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: Version 3.5 is no longer maintained. Are you seeing this in current (3.9+) versions? -- nosy: +iritkatriel status: open -> pending ___ Python tracker

[issue44490] PEP 604 Union (int | str) doesn't have __parameters__

2021-06-22 Thread Guido van Rossum
Guido van Rossum added the comment: Let's first see whether the type (int | list[T]) is accepted by static checkers. IMO introspecting unions should be done by looking at __args__, nothing more. -- ___ Python tracker

[issue22782] Python 3.4.2 Windows installer - cannot install 32 bit then 64 bit version

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: Steve, if this was fixed post-3.4 can we close this? -- nosy: +iritkatriel status: open -> pending ___ Python tracker ___ _

[issue24836] Consistent failure in test_email on OS X Snow Leopard buildbot for Python 3.5

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue12681] unittest expectedFailure could take a message argument like skip does

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40528] Improve / Clear ASDL generator

2021-06-22 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: New changeset 35ad425866d591c33d7f2be2b9da8bce2bff9523 by Batuhan Taskaya in branch 'main': bpo-40528: Implement a metadata system for ASDL Generator (GH-20193) https://github.com/python/cpython/commit/35ad425866d591c33d7f2be2b9da8bce2bff9523 -- _

[issue43476] Enabling access to showsyntaxerror for IDLE's shell

2021-06-22 Thread Andre Roberge
Andre Roberge added the comment: I can confirm that, if the existing line type, value, tb = sys.exc_info() in pyshell.ModifiedInterpreter.showsyntaxerror is replaced by e_type, value, tb = sys.exc_info() err = str((type(e_type).__name__, *value)+'\n' linecache.cache[""] = (len(err), 0, [err]

[issue44485] TKinter docs page does not provide actual documentation

2021-06-22 Thread E. Paine
E. Paine added the comment: > full, complete, useful documentation of everything Please see msg384022 on why I'm personally against such changes. I was working on 'translating' the Tk man pages into something (hopefully) understandable by tkinter users (as reference documentation), however l

[issue40528] Improve / Clear ASDL generator

2021-06-22 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +25435 pull_request: https://github.com/python/cpython/pull/26858 ___ Python tracker ___ _

[issue44213] LIST_TO_TUPLE placed below the sentence "all of the following use their opcodes" in dis library documentaiton.

2021-06-22 Thread Andrei Kulakov
Change by Andrei Kulakov : -- keywords: +patch nosy: +andrei.avk nosy_count: 2.0 -> 3.0 pull_requests: +25436 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26859 ___ Python tracker

[issue44213] LIST_TO_TUPLE placed below the sentence "all of the following use their opcodes" in dis library documentaiton.

2021-06-22 Thread Andrei Kulakov
Andrei Kulakov added the comment: I think the arg to dict_merge was just missing, I've put up a PR that adds it. -- ___ Python tracker ___

[issue16386] imp.find_module does not specify registry key it searches on windows

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue28661] Fix code example in Python 3.5 telnetlib documentation

2021-06-22 Thread Norman Lorrain
Norman Lorrain added the comment: How about a simpler example (this relies on an outside service, fwiw) See attached file. -- nosy: +Norman Lorrain Added file: https://bugs.python.org/file50124/weather.py ___ Python tracker

[issue44482] Possible resource leeak in glob in non-refcount implementations

2021-06-22 Thread Guido van Rossum
Guido van Rossum added the comment: So this is a problem because the generator owns a resource that it will only release once its .close() method is called, right? And we have no control over when that happens -- we can't make it the responsibility of list() to close the iterator passed into

[issue22782] Python 3.4.2 Windows installer - cannot install 32 bit then 64 bit version

2021-06-22 Thread Zachary Ware
Zachary Ware added the comment: Yes, this is out of date. -- resolution: -> out of date stage: -> resolved status: pending -> closed ___ Python tracker ___ _

[issue44485] TKinter docs page does not provide actual documentation

2021-06-22 Thread Zachary Ware
Zachary Ware added the comment: I'm closing this as a duplicate of bpo-42560 (and probably several others). Chris: in short, we know the Tkinter docs are incomplete and we welcome improvements to them, but it costs just as much to say "I don't have the time to spend on this" as it does to sa

[issue44297] Frame with -1 line number

2021-06-22 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Here presumably the error is occurring somewhere near unittest. I've tested this and wrote a minimal reproducible example. ``` import unittest class TestingError(unittest.TestCase): def test_negative_one(self): with self.assertRaisesRegex(Asser

[issue20859] Context of documentation for conditional expressions

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker ___

[issue44140] WeakKeyDictionary should support lookup by id instead of hash

2021-06-22 Thread Andrei Kulakov
Andrei Kulakov added the comment: Maybe I am misunderstanding, but if an object is deleted, and another object created with the same ID, wouldn't WeakRefDict now be pointing to the wrong object? -- nosy: +andrei.avk ___ Python tracker

[issue24466] extend_path explanation in documentation is ambiguous

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4 ___ Python tracker ___ ___ Pytho

[issue25050] windows installer does not allow 32 and 64 installs side by side

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Python 3.4.2 Windows installer - cannot install 32 bit then 64 bit version ___ Python tracker

[issue43918] anext builtin docstring has no signature text or info about default argument

2021-06-22 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 6af4e6b266cb19d646ad7e4051fc7974c3096d23 by Erik Welch in branch 'main': bpo-43918: document signature and default argument of `anext` builtin (#25551) https://github.com/python/cpython/commit/6af4e6b266cb19d646ad7e4051fc7974c3096d23 ---

[issue27074] Confusing text about __all__ in __init__.py in tutorial

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue28395] Remove unnecessary semicolons in tests

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: The patch needs to be converted to a github PR. -- keywords: +easy nosy: +iritkatriel title: Remove unnecessary semicolons -> Remove unnecessary semicolons in tests versions: +Python 3.10, Python 3.11, Python 3.9 ___

[issue28953] Use `raise from` when raising new IncompleteRead

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +easy versions: +Python 3.11 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue29422] add socket independent timeout to httplib/http.client read

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___ _

[issue30889] distutils extra_link_args not working because it is added to cmd last. should before -llibs

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue32079] version install 3.6.3 hangs in test_socket

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: There isn't enough information here to know what the cause was, and version 3.6 is no longer maintained. So I am closing the issue and request that you create a new one if you are seeing this problem on a current version (3.9+). -- nosy: +iritkatriel r

[issue32855] Add documention stating supported Platforms

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: We have this: https://pythondev.readthedocs.io/platforms.html -- nosy: +iritkatriel resolution: -> works for me status: open -> pending ___ Python tracker ___

[issue32948] clang compiler warnings on Travis

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: 2.7-specific issue. -- nosy: +iritkatriel resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue23316] Incorrect evaluation order of function arguments with *args

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: See also issue33492. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue34389] CPython may fail to build in the presence of a ~/.pydistutils.cfg

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue34389] CPython may fail to build in the presence of a ~/.pydistutils.cfg

2021-06-22 Thread Éric Araujo
Éric Araujo added the comment: This one is about Python’s build itself, that still uses parts of distutils, so probably should stay open if reproducible. -- ___ Python tracker ___

[issue34389] CPython may fail to build in the presence of a ~/.pydistutils.cfg

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: out of date -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue41636] distutils.util.strtobool documented behaviour

2021-06-22 Thread Irit Katriel
Irit Katriel added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

  1   2   >