[issue44050] Exceptions in a subinterpreter are changed by another subinterpreter

2021-05-05 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> eric.snow nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43976] Allow Python distributors to add custom site install schemes

2021-05-05 Thread Steve Dower
Steve Dower added the comment: >> The best option for restricting the import while still having it be a Python >> import is to find the file (if it's present in the expected location under >> sys.whatever), and then use importlib to import it: >>

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-05-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 60ba0b68470a584103e28958d91e93a6db37ec92 by Miss Islington (bot) in branch '3.10': bpo-44022: Fix http client infinite line reading (DoS) after a HTTP 100 Continue (GH-25916) (GH-25931)

[issue43882] [security] urllib.parse should sanitize urls containing ASCII newline and tabs.

2021-05-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: Mike: There may be multiple ways to read that WHATWG recommendation? The linked to section is about implementing a state machine for parsing a URL into parts safely. But that may not imply that anything that passed through that state machine should be

[issue43976] Allow Python distributors to add custom site install schemes

2021-05-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Steve: I think the point of discussing whether "pip install" can be used to manage system wide packages is moot. It's been like that for ages, not only for pip, but also for the distutils setup.py install process and the old Makefile.pre.in approach before

[issue43972] Simple HTTP Request Handler in http.server does not set a content-length and does not close connections on 301s

2021-05-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Stephen, With the example, I couldn't reproduce the problem with curl 7.65.3 That said, I do recognize that this change is a positive improvement, but I cannot see this a bug-fix (and for client misbehavior, which I couldn't verify). To take a call, I

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-05-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: The bug: Our http client can get stuck infinitely reading len(line) < 64k lines after receiving a '100 Continue' http response. So yes, this could lead to our client being a bandwidth sink for anyone in control of a server. Clear issue: That's a denial

[issue44046] When writing to the Registry using winreg, it currently allows you to write ONLY to HKEY_CURRENT_USERS.

2021-05-05 Thread Paul
Paul added the comment: *** Again, I am using a LOCAL ADMINISTRATIVE account. *** "Actually behind the scenes, winreg uses win32api which doesn't allow setting HKEY_LOCAL_MACHINE keys for unprivileged users. Running the application in admin mode may work because at that point your

[issue39511] [subinterpreters] Per-interpreter singletons (None, True, False, etc.)

2021-05-05 Thread Mateusz Loskot
Change by Mateusz Loskot : -- nosy: +mloskot ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36515] unaligned memory access in the _sha3 extension

2021-05-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +24597 pull_request: https://github.com/python/cpython/pull/25930 ___ Python tracker ___

[issue44046] When writing to the Registry using winreg, it currently allows you to write ONLY to HKEY_CURRENT_USERS.

2021-05-05 Thread William Pickard
William Pickard added the comment: Do you mind ticking the box, "Run as Administrator" in the Compatibility tab for python.exe and try winreg again? -- nosy: +WildCard65 ___ Python tracker

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-05-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +24601 pull_request: https://github.com/python/cpython/pull/25934 ___ Python tracker ___

[issue43882] [security] urllib.parse should sanitize urls containing ASCII newline and tabs.

2021-05-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 24f1d1a8a2c4aa58a606b4b6d5fa4305a3b91705 by Miss Islington (bot) in branch '3.10': bpo-43882 Remove the newline, and tab early. From query and fragments. (GH-25936)

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-05-05 Thread miss-islington
miss-islington added the comment: New changeset ea9327036680acc92d9f89eaf6f6a54d2f8d78d9 by Miss Islington (bot) in branch '3.9': bpo-44022: Fix http client infinite line reading (DoS) after a HTTP 100 Continue (GH-25916)

[issue44046] When writing to the Registry using winreg, it currently allows you to write ONLY to HKEY_CURRENT_USERS.

2021-05-05 Thread Eryk Sun
Eryk Sun added the comment: > There is no reason why a user should be able to write to > HKCU but not HKLM. Modifying system keys is limited to SYSTEM, administrators, and various privileged accounts and services such as TrustedInstaller. Standard users are not allowed to modify system

[issue36515] unaligned memory access in the _sha3 extension

2021-05-05 Thread miss-islington
miss-islington added the comment: New changeset 3b2a45ff95a68acc8276b37678c98740a232f6d4 by Miss Islington (bot) in branch '3.10': bpo-36515: Disable unaligned memory access in _sha3 on ARM (GH-25927) https://github.com/python/cpython/commit/3b2a45ff95a68acc8276b37678c98740a232f6d4

[issue40617] sqlite3: expose sqlite3_create_window_function

2021-05-05 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Add create_window_function() to sqlite3.Connection ___ Python tracker

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-05-05 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith nosy: +gregory.p.smith title: "urllib" will result to deny of service -> urllib http client possible infinite loop on a 100 Continue response versions: +Python 3.10, Python 3.11, Python 3.9

[issue44030] Markup with_traceback code example

2021-05-05 Thread Miguel Brito
Change by Miguel Brito : -- keywords: +patch nosy: +miguendes nosy_count: 2.0 -> 3.0 pull_requests: +24596 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25929 ___ Python tracker

[issue44051] Virtualalloc wrong return type

2021-05-05 Thread Eryk Sun
Eryk Sun added the comment: > ctypes.windll.kernel32.VirtuAlloc function return by default > a ctypes.c_long In Windows, ctypes.c_int is an alias for ctypes.c_long, which is a signed 32-bit integer. This is the default conversion type for the integer parameters of an FFI (foreign function

[issue42095] plistlib: Add tests that compare with plutil(1)

2021-05-05 Thread Hasan
Change by Hasan : Added file: https://bugs.python.org/file50017/test_plistlib_plutil.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue44026] IDLE: print "Did you mean?" for AttributeError and NameError

2021-05-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is only backported to 3.10 and not 3.9 because the fix recommendations were only added in 3.10. If the code difference became a problem, this could be backported because the roundabout method for name and attribute errors would work in 3.9. --

[issue41491] plistlib can't load macOS BigSur system LaunchAgent

2021-05-05 Thread Hasan
Change by Hasan : Added file: https://bugs.python.org/file50019/test_plistlib_plutil.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42095] plistlib: Add tests that compare with plutil(1)

2021-05-05 Thread Hasan
Change by Hasan : Removed file: https://bugs.python.org/file50017/test_plistlib_plutil.py ___ Python tracker ___ ___ Python-bugs-list

[issue42095] plistlib: Add tests that compare with plutil(1)

2021-05-05 Thread Hasan
Change by Hasan : Added file: https://bugs.python.org/file50018/test_plistlib_plutil.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue43882] [security] urllib.parse should sanitize urls containing ASCII newline and tabs.

2021-05-05 Thread Mike Lissner
Mike Lissner added the comment: > I'd wonder how to pass through valid exceptions without urlparse raising > something. Oops, meant to say "valid URLs", not valid exceptions, sorry. -- ___ Python tracker

[issue44043] 3.10 b1 armhf Bus Error in hashlib test: test_gil

2021-05-05 Thread Gregory P. Smith
Change by Gregory P. Smith : -- dependencies: +unaligned memory access in the _sha3 extension ___ Python tracker ___ ___

[issue36515] unaligned memory access in the _sha3 extension

2021-05-05 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +24594 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25927 ___ Python tracker ___

[issue37903] IDLE Shell sidebar.

2021-05-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: As described above in msg392163, the other fix is to put the prompt on a line by itself. I hoped to get a switch between fixes into b1 but ran out of time and energy. I intend to have in in the next, along with other improvements. --

[issue44051] Virtualalloc wrong return type

2021-05-05 Thread Steve Dower
Steve Dower added the comment: The return type of a ctypes function is set by whoever is accessing it. If that is you, then you should do: ctypes.windll.kernel32.VirtualAlloc.restype = ctypes.c_void_p If it's not you, can you point out which code is getting this wrong? ctypes defaults to

[issue36515] unaligned memory access in the _sha3 extension

2021-05-05 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +24595 pull_request: https://github.com/python/cpython/pull/25928 ___ Python tracker

[issue44030] Markup with_traceback code example

2021-05-05 Thread Miguel Brito
Miguel Brito added the comment: If we make it a code snippet it works. Just adding a `::` after the paragraph. Here's a print on Firefox locally: https://imgur.com/a/g2vsqf2 I created a PR for that if you think it's a good solution, feel free to merge :) --

[issue17681] Work with an extra field of gzip and zip files

2021-05-05 Thread Benjamin Sergeant
Benjamin Sergeant added the comment: type Header struct { Comment string// comment Extra []byte// "extra data" ModTime time.Time // modification time Namestring// file name OS byte // operating system type } This is what the header/extra things

[issue43972] Simple HTTP Request Handler in http.server does not set a content-length and does not close connections on 301s

2021-05-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: I am also hesitant to fix something that is not broken. So, please share the broken behavior that could be verified, and this will give us greater confidence to commit this patch. -- ___ Python tracker

[issue44046] When writing to the Registry using winreg, it currently allows you to write ONLY to HKEY_CURRENT_USERS.

2021-05-05 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: > I can also add, modify, and delete Registry entries in HKLM (or any other > hive) by hand with no problem, so it is definitely not a permissions issue. When you run regedit you get an admin pop up, right? Like that also run python in admin mode. > I can

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-05-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +24599 pull_request: https://github.com/python/cpython/pull/25932 ___ Python tracker ___

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-05-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +24600 pull_request: https://github.com/python/cpython/pull/25933 ___ Python tracker ___

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-05-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +24602 pull_request: https://github.com/python/cpython/pull/25935 ___ Python tracker ___

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-05-05 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +24598 pull_request: https://github.com/python/cpython/pull/25931 ___ Python tracker

[issue44022] urllib http client possible infinite loop on a 100 Continue response

2021-05-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: Thanks guangli dong (leveryd)! This is in and the 3.10-3.6 PRs should automerge (thru 3.9) after the CI runs, or be merged by the release managers (3.6-3.8). -- resolution: -> fixed stage: patch review -> commit review status: open -> closed

[issue43882] [security] urllib.parse should sanitize urls containing ASCII newline and tabs.

2021-05-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +24603 pull_request: https://github.com/python/cpython/pull/25936 ___ Python tracker ___

[issue17681] Work with an extra field of gzip and zip files

2021-05-05 Thread Benjamin Sergeant
Benjamin Sergeant added the comment: There is a comment field too which would be nice to support. The Go gzip module has a Header class that describe all the metadata. I see in 3.8 mtime was made configurable, so hopefully we can add comment and extra.

[issue42095] plistlib: Add tests that compare with plutil(1)

2021-05-05 Thread Hasan
Change by Hasan : Added file: https://bugs.python.org/file50020/test_plistlib_plutil.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue41491] plistlib can't load macOS BigSur system LaunchAgent

2021-05-05 Thread Hasan
Change by Hasan : Removed file: https://bugs.python.org/file50019/test_plistlib_plutil.py ___ Python tracker ___ ___ Python-bugs-list

[issue40137] TODO list when PEP 573 "Module State Access from C Extension Methods" will be implemented

2021-05-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: Victor, thanks for the work to mitigate the costs of _PyType_GetModuleByDef(). It now has much lower overhead. -- ___ Python tracker

[issue42095] plistlib: Add tests that compare with plutil(1)

2021-05-05 Thread Hasan
Change by Hasan : Removed file: https://bugs.python.org/file50018/test_plistlib_plutil.py ___ Python tracker ___ ___ Python-bugs-list

[issue43354] xmlrpc.client: Fault.faultCode erroneously documented to be a string, should be int

2021-05-05 Thread Jürgen Gmach
Jürgen Gmach added the comment: This was merged already. I did not know I have to manually close the issue, but here we go! -- stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue44045] canonicalize "upper-case" -> "uppercase"; "lower-case" -> "lowercase"

2021-05-05 Thread Jürgen Gmach
New submission from Jürgen Gmach : Yesterday, I was bitten by ConfigParser' default behavior to lowercase keys on reading. When I looked in the documentation and the source code, I found that lowercase was sometimes written as "lower-case", e.g. here

[issue44043] 3.10 b1 armhf Bus Error in hashlib test: test_gil

2021-05-05 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44044] ConfigParser: cannot link to ConfigParser.optionxform(option)

2021-05-05 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: If that's the problem then what about merging the two sections together? -- ___ Python tracker ___

[issue44043] 3.10 b1 armhf Bus Error in hashlib test: test_gil

2021-05-05 Thread Christian Heimes
Christian Heimes added the comment: Are you able to get a C stack trace somehow, e.g. from a dump or by login into the build system interactively and running gdb? The Python traceback isn't much helpful. -- nosy: +christian.heimes ___ Python

[issue44043] 3.10 b1 armhf Bus Error in hashlib test: test_gil

2021-05-05 Thread Christian Heimes
Christian Heimes added the comment: I have talked to our Fedora release engineers. They don't see any issues with armv7hl builds of Python 3.10.0b1. All tests are passing. https://koji.fedoraproject.org/koji/taskinfo?taskID=67234161 Ubuntu's armhf and Fedora's armv7hl both have the platform

[issue44043] 3.10 b1 armhf Bus Error in hashlib test: test_gil

2021-05-05 Thread Christian Heimes
Christian Heimes added the comment: Have you already tried ./python -X faulthandler -m test ... ? Could you please also run tests with "./python -m test -j1 ..." in a new job? This executes every test module in a subprocess. I like to see if other tests are segfaulting, too. --

[issue44044] ConfigParser: cannot link to ConfigParser.optionxform(option)

2021-05-05 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: No there's a hyperlink. See here https://docs.python.org/3/library/configparser.html#configparser.ConfigParser.optionxform. There's two duplicate definitions of ConfigParser.optionxform in configparser.html. One gives examples, the other one gives

[issue44044] ConfigParser: cannot link to ConfigParser.optionxform(option)

2021-05-05 Thread Jürgen Gmach
Jürgen Gmach added the comment: Shreyan Avigyan, thanks for your feedback, but you are linking to the wrong section. And yes I know, there are two sections describing `optionxform`, which is the root cause for this problem in the first place. Anyway, I wanted to reference the section which

[issue44044] ConfigParser: cannot link to ConfigParser.optionxform(option)

2021-05-05 Thread Jürgen Gmach
New submission from Jürgen Gmach : I wanted to copy a hyperlink to the documentation section for ConfigParser's optionxform method, but in https://docs.python.org/3/library/configparser.html you cannot link to this one section, as the paragraph was marked with `:noindex:` via

[issue44046] When writing to the Registry using winreg, it currently allows you to write ONLY to HKEY_CURRENT_USERS.

2021-05-05 Thread Paul
New submission from Paul : DETAILS: "[WinError 5] Access is denied" error is thrown when user attempts to use a different Registry hive other than HKEY_CURRENT_USER. The first example below will demonstrate that the code snippet works just fine and is implemented correctly. However, when

[issue43976] Allow Python distributors to add custom site install schemes

2021-05-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 04.05.2021 22:58, Steve Dower wrote: >> "pip install as root" will need to continue to work and thus distros >> need to get a way to make sure that it doesn't corrupt the system >> installed packages > > Excuse my ignorance, but does "as root" imply

[issue44040] Update broken link in pathlib source

2021-05-05 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +24579 pull_request: https://github.com/python/cpython/pull/25910 ___ Python tracker

[issue44040] Update broken link in pathlib source

2021-05-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +24580 pull_request: https://github.com/python/cpython/pull/25911 ___ Python tracker ___

[issue44046] When writing to the Registry using winreg, it currently allows you to write ONLY to HKEY_CURRENT_USERS.

2021-05-05 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Is it working if you run, whatever application you're running python on, in admin mode? -- nosy: +shreyanavigyan ___ Python tracker ___

[issue43882] [security] urllib.parse should sanitize urls containing ASCII newline and tabs.

2021-05-05 Thread Michał Górny
Michał Górny added the comment: In my opinion, raising an exception would have been safer. Botocore and django do precisely what you say — provide a validator. To make this validator easier, they do the validation on splitted up URL parts. I disagree with the premise that they were stupid

[issue44043] 3.10 b1 armhf Bus Error in hashlib test: test_gil

2021-05-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Given that this happens in hashlib, could this be related to the OpenSSL version? -- ___ Python tracker ___

[issue44046] When writing to the Registry using winreg, it currently allows you to write ONLY to HKEY_CURRENT_USERS.

2021-05-05 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Actually behind the scenes, winreg uses win32api which doesn't allow setting HKEY_LOCAL_MACHINE keys for unprivileged users. Running the application in admin mode may work because at that point your application getting admin privileges but it also may not

[issue44001] typing.Literal: args must be hashable, not immutable

2021-05-05 Thread Ken Jin
Change by Ken Jin : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39934] Fatal Python error "XXX block stack overflow" when exception stacks >10

2021-05-05 Thread Irit Katriel
Irit Katriel added the comment: This was fixed in 3.9+ and 3.8 is in security fix now, so closing. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue43743] BlockingIOError: [Errno 11] Resource temporarily unavailable: on GPFS.

2021-05-05 Thread PEAR
PEAR added the comment: Most probably related: https://www.ibm.com/support/pages/apar/IJ28891 -- ___ Python tracker ___ ___

[issue33927] Allow json.tool to have identical infile and outfile

2021-05-05 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- versions: +Python 3.11 -Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43976] Allow Python distributors to add custom site install schemes

2021-05-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 05.05.2021 10:01, Christian Heimes wrote: > >> "as root" imply that there's no user site-packages directory at all > ^ > > Steve is talking about user site-packages, not global site-packages directory. You

[issue43976] Allow Python distributors to add custom site install schemes

2021-05-05 Thread Christian Heimes
Christian Heimes added the comment: I mean that Steve and you are talking about different things. Neither Steve nor you or I are are Linux distro packaging experts. I suggest that we listen to the expertise of downstream packagers like Filipe or Miro. They deal with packaging on a daily

[issue44026] IDLE: print "Did you mean?" for AttributeError and NameError

2021-05-05 Thread E. Paine
Change by E. Paine : -- keywords: +patch nosy: +epaine nosy_count: 4.0 -> 5.0 pull_requests: +24581 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25912 ___ Python tracker

[issue44040] Update broken link in pathlib source

2021-05-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thank you for your contribution, I have merged your PR in main and backported to 3.10 (future stable) and 3.9 (bugfix). -- ___ Python tracker

[issue44040] Update broken link in pathlib source

2021-05-05 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44040] Update broken link in pathlib source

2021-05-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset ce4fee210bb604726e5da0ff15952a60c2098f88 by Miss Islington (bot) in branch '3.10': bpo-44040: Update broken link in pathlib source (GH-25905) (GH-25910) https://github.com/python/cpython/commit/ce4fee210bb604726e5da0ff15952a60c2098f88

[issue44043] 3.10 b1 armhf Bus Error in hashlib test: test_gil

2021-05-05 Thread Christian Heimes
Christian Heimes added the comment: That's possible. I suspect it's related to test_gil itself. Hash providers don't release the GIL for inputs < 2048 bytes. Hashing of small inputs is faster than releasing and re-acquiring the GIL. For inputs >= 2048 hashlib creates a per-object lock and

[issue15907] move doctest test-data files into a subdirectory of Lib/test

2021-05-05 Thread Kerwin(Kaihui) Sun
Change by Kerwin(Kaihui) Sun : -- nosy: +00Kai0 nosy_count: 5.0 -> 6.0 pull_requests: +24583 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25914 ___ Python tracker

[issue41756] Do not always use exceptions to return result from coroutine

2021-05-05 Thread Andrew Svetlov
Change by Andrew Svetlov : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue44044] ConfigParser: cannot link to ConfigParser.optionxform(option)

2021-05-05 Thread Jürgen Gmach
Jürgen Gmach added the comment: > If that's the problem then what about merging the two sections together? That would be one solution, which I suggested in my initial comment: > Looks like a possible fix to this problem would involve a major restructuring > of the configparser documentation,

[issue43976] Allow Python distributors to add custom site install schemes

2021-05-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 05.05.2021 10:29, Christian Heimes wrote: > > I mean that Steve and you are talking about different things. Could be. I was addressing the point Steve made about not allowing or making it hard to run "pip install" as root user. > Neither Steve nor

[issue25872] multithreading traceback KeyError when modifying file

2021-05-05 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 8.0 -> 9.0 pull_requests: +24582 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/25913 ___ Python tracker

[issue28874] test_logging fails and freezes

2021-05-05 Thread Nak
Nak added the comment: And the day came... Thank you very much wim.glenn I had this issue when building python 3.6.4 -- nosy: +NaKroTeK ___ Python tracker ___

[issue43976] Allow Python distributors to add custom site install schemes

2021-05-05 Thread Christian Heimes
Christian Heimes added the comment: > "as root" imply that there's no user site-packages directory at all ^ Steve is talking about user site-packages, not global site-packages directory. -- nosy: +christian.heimes

[issue44040] Update broken link in pathlib source

2021-05-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset bc8b93c9a9fd4faf942cdbaba3e1e0440c594e28 by Miss Islington (bot) in branch '3.9': bpo-44040: Update broken link in pathlib source (GH-25905) (GH-25911) https://github.com/python/cpython/commit/bc8b93c9a9fd4faf942cdbaba3e1e0440c594e28

[issue44047] [sqlite3] remove unused argument from _pysqlite_seterror()

2021-05-05 Thread Erlend Egeberg Aasland
New submission from Erlend Egeberg Aasland : Suggesting to remove the statement pointer argument from _pysqlite_seterror(), as it has been unused since commit 525269430a3f9fbb7287e4bb6b365ac216004980. -- components: Extension Modules messages: 393001 nosy: berker.peksag,

[issue44047] [sqlite3] remove unused argument from _pysqlite_seterror()

2021-05-05 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- keywords: +patch pull_requests: +24584 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25915 ___ Python tracker

[issue44048] test_hashlib failure for "AMD64 RHEL8 FIPS Only Blake2 Builtin Hash" buildbot

2021-05-05 Thread Charalampos Stratakis
New submission from Charalampos Stratakis : The buildbot started experiencing some failures. First after https://github.com/python/cpython/commit/ddbef71a2c166a5d5dd168e26493973053a953d6 this test started failing with: ==

[issue44040] Update broken link in pathlib source

2021-05-05 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- versions: +Python 3.11, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44043] 3.10 b1 armhf Bus Error in hashlib test: test_gil

2021-05-05 Thread Miro Hrončok
Miro Hrončok added the comment: In Fedora, our build passed on Fedoras 32, 33, 34, 35. We have: F32: gcc 10.2.1, openssl 1.1.1k F33: gcc 10.3.1, openssl 1.1.1k F34: gcc 11.1.1, openssl 1.1.1k F35: gcc 11.1.1, openssl 1.1.1k Let me know how can I help to debug the difference in environment

[issue44022] "urllib" will result to deny of service

2021-05-05 Thread Gen Xu
Gen Xu added the comment: Looks like it is caused by the httplib not limiting total header size after receiving 100. Added a counter for that to be same size as _MAXLINE=65536. -- versions: -Python 3.7 ___ Python tracker

[issue44049] Use C99 Variable-length array if possible

2021-05-05 Thread Dong-hee Na
Change by Dong-hee Na : -- resolution: -> wont fix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43882] [security] urllib.parse should sanitize urls containing ASCII newline and tabs.

2021-05-05 Thread Florian Apolloner
Florian Apolloner added the comment: Thank you for the kind words Michał. We (Django) are exactly in the position that you describe. Our validation, at least for now has to stay strict, exactly to prevent fallout further down the road (see

[issue44022] "urllib" will result to deny of service

2021-05-05 Thread Gen Xu
Change by Gen Xu : -- keywords: +patch nosy: +gen-xu nosy_count: 1.0 -> 2.0 pull_requests: +24585 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25916 ___ Python tracker

[issue44049] Use C99 Variable-length array if possible

2021-05-05 Thread Dong-hee Na
Dong-hee Na added the comment: > Also, on a minor note, we use a restricted set of c99 supported by all > compilers so we would need to check if this is supported in all of them Ah, I notice that msvc does not support VLA (Sorry, I am not using Windows machine for 5 years +) Using a C99/C11

[issue44049] Use C99 Variable-length array if possible

2021-05-05 Thread Dong-hee Na
Change by Dong-hee Na : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44043] 3.10 b1 armhf Bus Error in hashlib test: test_gil

2021-05-05 Thread Anthony Sottile
Anthony Sottile added the comment: oddly enough, when I add `-X faulthandler` it passes ___ I did some research on the error message and it looks like the ubuntu maintainers have found the same thing and reported it here: https://bugs.python.org/issue36445 this points at (intentional?)

[issue44022] "urllib" will result to deny of service

2021-05-05 Thread Gen Xu
Gen Xu added the comment: Added a possible PR. Review will be appreicated. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue44049] Use C99 Variable-length array if possible

2021-05-05 Thread Dong-hee Na
New submission from Dong-hee Na : I had a chance to read Python/suggestion.c and I can notice that we use the static declared size of the array. Since we live in the C99 era and the CPython codebase already uses C99(struct initialization is a good example), how about using the C99 feature if

[issue44024] Improve the TypeError message for non-string second arguments passed to the built-in functions getattr and hasattr

2021-05-05 Thread Géry
Change by Géry : -- title: Improve the error message for non-string second arguments passed to the built-in functions getattr and hasattr -> Improve the TypeError message for non-string second arguments passed to the built-in functions getattr and hasattr

[issue44049] Use C99 Variable-length array if possible

2021-05-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks for the suggestion! Unfortunately I am not very convinced since we already have the self imposed limitation for the maximum size of the string (this is to limit the execution time and memory) so there is no point of allowing bigger buffers.

[issue43950] Include column offsets for bytecode instructions

2021-05-05 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >