[issue45120] Windows cp encodings "UNDEFINED" entries update

2021-09-16 Thread Eryk Sun
Eryk Sun added the comment: > in CP1252, bytes \x81 \x8d \x8f \x90 \x9d map to "UNDEFINED", > whereas in bestfit1252, they map to \u0081 \u008d \u008f > \u0090 \u009d respectively This is the normal mapping in Windows, not a best-fit encoding. Within Windows, you can access the native encodi

[issue45020] Freeze all modules imported during startup.

2021-09-16 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +26812 pull_request: https://github.com/python/cpython/pull/28398 ___ Python tracker ___ ___

[issue44848] Upgrade macOS and Windows installers to use SQLite 3.36.0

2021-09-16 Thread Steve Dower
Steve Dower added the comment: I (finally) posted the updated SQLite sources to the repo, so PR 27622 should build now. (I also retriggered CI) That said, it *might* need to merge from main again to take a fix for a CI-blocking issue. -- ___ Pyth

[issue45055] Fresh build on Windows fails the first time for zlib.c

2021-09-16 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +26813 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28399 ___ Python tracker ___

[issue42627] urllib.request.getproxies() misparses Windows registry proxy settings

2021-09-16 Thread Steve Dower
Steve Dower added the comment: I think the PR is basically ready, unfortunately it's stuck behind a CI issue we only just fixed, and needs to merge from main before it'll clear. Posting here once CI is green will get attention faster than on GitHub. -- versions: +Python 3.11 -Python

[issue45013] os.path.isfile fails on path exactly 260 Chars long in Windows

2021-09-16 Thread Steve Dower
Change by Steve Dower : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue45226] Misleading error message when pathlib.Path.symlink_to() fails with permissions error

2021-09-16 Thread Maor Feldinger
New submission from Maor Feldinger : Reproduction Steps: --- Create a symlink in a directory without permissions: >>> from pathlib import Path >>> >>> target = Path('/tmp/tmp/target') >>>

[issue45226] Misleading error message when pathlib.Path.symlink_to() fails with permissions error

2021-09-16 Thread Maor Feldinger
Change by Maor Feldinger : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue45120] Windows cp encodings "UNDEFINED" entries update

2021-09-16 Thread Rafael Belo
Rafael Belo added the comment: As encodings are indeed a complex topic, debating this seems like a necessity. I researched this topic when i found an encoding issue regarding a mysql connector: https://github.com/PyMySQL/mysqlclient/pull/502 In MySQL itself there is a mislabel of "latin1" and

[issue38085] Interrupting class creation in __init_subclass__ may lead to incorrect isinstance() and issubclass() results

2021-09-16 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue38085] Interrupting class creation in __init_subclass__ may lead to incorrect isinstance() and issubclass() results

2021-09-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: Confirmed that this weird behavior is still present. Am not sure when someone will have the time and inclination to drill into the cause. -- nosy: +rhettinger ___ Python tracker

[issue20853] pdb "args" crashes when an arg is not printable

2021-09-16 Thread Andrei Kulakov
Change by Andrei Kulakov : -- nosy: +andrei.avk nosy_count: 3.0 -> 4.0 pull_requests: +26814 pull_request: https://github.com/python/cpython/pull/28400 ___ Python tracker ___ _

[issue20853] pdb "args" crashes when an arg is not printable

2021-09-16 Thread Andrei Kulakov
Andrei Kulakov added the comment: p/pp commands were fixed in this commit: https://github.com/python/cpython/commit/6544b2532df -- ___ Python tracker ___ _

[issue43413] tuple subclasses allow arbitrary kwargs

2021-09-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Subclass of set can now define a __new__() method with > additional keyword parameters without overriding also __init__(). Is there any use case for this? Offhand, I can't think of any reason. The new code in set.__init__ is somewhat opaque and is lik

[issue45227] Control reaches end of non-void function in specialize.c

2021-09-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Python/specialize.c: In function ‘load_method_fail_kind’: Python/specialize.c:878:1: warning: control reaches end of non-void function [-Wreturn-type] 878 | } | ^ -- components: Interpreter Core messages: 402001 nosy: serhiy.storchaka prior

[issue43413] tuple subclasses allow arbitrary kwargs

2021-09-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +26815 pull_request: https://github.com/python/cpython/pull/28403 ___ Python tracker ___

[issue43413] tuple subclasses allow arbitrary kwargs

2021-09-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I do not have any particular use case. It was a side effect of unification code that uses _PyArg_NoKeywords(). -- ___ Python tracker ___ _

[issue45228] Stack buffer overflow in parsing J1939 network address

2021-09-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : It can be reproduced when run test.test_socket.J1939Test (omitted in regrtests now, see issue45187) with Address Sanitizer. See for example https://github.com/python/cpython/pull/28317/checks?check_run_id=3625390397. It can be reproduced when run test.te

[issue45187] Some tests in test_socket are not run

2021-09-16 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +Stack buffer overflow in parsing J1939 network address ___ Python tracker ___ ___ Pyt

[issue45187] Some tests in test_socket are not run

2021-09-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Running omitted tests exposed some real bugs. See issue45212, issue45228. -- ___ Python tracker ___ ___

<    1   2