[issue44494] Overhaul of Doc/library/__main__.rst

2021-06-22 Thread Jack DeVries
Change by Jack DeVries : -- keywords: +patch pull_requests: +25442 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26867 ___ Python tracker ___

[issue44494] Overhaul of Doc/library/__main__.rst

2021-06-22 Thread Jack DeVries
New submission from Jack DeVries : I made a proposal on discourse to redraft Doc/library/__main__.rst as it is currently quite terse and there have been a series of bpo's asking for more. See my discourse post:

[issue44493] Missing terminated NUL in the length of sockaddr_un

2021-06-22 Thread ty
Change by ty : -- keywords: +patch pull_requests: +25441 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26866 ___ Python tracker ___

[issue44493] Missing terminated NUL in the length of sockaddr_un

2021-06-22 Thread ty
New submission from ty : https://github.com/python/cpython/blob/main/Modules/socketmodule.c#L1700 -- components: Library (Lib) messages: 396379 nosy: zonyitoo priority: normal severity: normal status: open title: Missing terminated NUL in the length of sockaddr_un type: behavior

[issue44175] What do "cased" and "uncased" mean?

2021-06-22 Thread Andrei Kulakov
Andrei Kulakov added the comment: I've put up a PR that adds a footnote, clarifies 'uncased' meaning and also adds notes in regard to discrepancy between standard publishing definition of "title case" and what we use in the four title-related methods. --

[issue44175] What do "cased" and "uncased" mean?

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

[issue44492] Building a C extension on Big Sur and SDK v10.15 fails

2021-06-22 Thread Phil Thompson
New submission from Phil Thompson : I am running macOS v11 (Big Sur) and using Xcode v12.1 (because this is the latest that includes SDK v10.15 rather than v11) to build a C extension. I'm using the older SDK because of 3rd party libraries that are not tested against the newer SDK. This

[issue41636] distutils.util.strtobool documented behaviour

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43977] Implement the latest semantics for PEP 634 for matching collections

2021-06-22 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +25439 pull_request: https://github.com/python/cpython/pull/26864 ___ Python tracker ___

[issue32855] Add documention stating supported Platforms

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- resolution: works for me -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2021-06-22 Thread Will Chen
Will Chen added the comment: I opened a PR with a fix and a couple comments on its method: https://github.com/python/cpython/pull/26862 I also *think* I signed the CLA correctly. Not sure. I used my login name here, rather than my Github login, but my account is linked. Didn't add any

[issue44491] [sqlite3] allow clearing the authoriser callback

2021-06-22 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- keywords: +patch pull_requests: +25438 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26863 ___ Python tracker

[issue32855] Add documention stating supported Platforms

2021-06-22 Thread Ned Deily
Ned Deily added the comment: While there's is useful information on that web page, I don't think it is a satisfactory answer to what I believe is being requrested here, namely, "How do I determine to what extent platform X is supported by cPython?" First, the information on the web pate is

[issue44491] [sqlite3] allow clearing the authoriser callback

2021-06-22 Thread Erlend E. Aasland
New submission from Erlend E. Aasland : Currently, it is possible to clear both the sqlite3 trace callback and progress handler by passing 'None' as the callback/handler, however it is not possible to clear the authoriser callback. Suggesting to allow clearing the authoriser callback with

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

2021-06-22 Thread Will Chen
Change by Will Chen : -- keywords: +patch pull_requests: +25437 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26862 ___ Python tracker ___

[issue20178] Derby #9: Convert 52 sites to Argument Clinic across 11 files

2021-06-22 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: FYI, sqlite3 was converted to Argument Clinic in bpo-40956. -- ___ Python tracker ___ ___

[issue35183] os.path.splitext documentation needs typical example

2021-06-22 Thread Irit Katriel
Change by Irit Katriel : -- components: +Library (Lib) keywords: +easy versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.6 ___ Python tracker ___

[issue20109] TestProgram is mentioned in the unittest docs but is not documented

2021-06-22 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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

[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

[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
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

[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:

[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

[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

[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

[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

[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 ___

[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

[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 ___

[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:

[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

[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

[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 ___ ___

[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

[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 ___

[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

[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

[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 ___

[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

[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

[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

[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 ___

[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

[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 ___

[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

[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,

[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 --

[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

[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 ___ ___

[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 ___

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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:

[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:

[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,

[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

[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:

[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

[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

[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 ___

[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 --

[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

[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

[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

[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 ___

[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

[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)

[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 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 --

[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 --

[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

[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

[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 ___

[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 ___

[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

[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

[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

[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:

[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)

[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

[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

[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

[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 ___

[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

[issue28533] Replace asyncore

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

[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 ___

[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

[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

[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) |

[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

  1   2   >