[issue25172] Unix-only crypt should not be present on Windows.

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue38849] test_timestamp_naive fails on android

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- stage: resolved -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue38851] UDPLITE tests fail on android

2019-12-09 Thread Gabe Appleton
Gabe Appleton added the comment: Also, isn't this just a permissions error? I wouldn't think that would indicate a failure of the feature, but instead one of the testing environment. On December 10, 2019 7:47:10 AM UTC, Xavier de Gaye wrote: > >Xavier de Gaye added the comment: > >Not inte

[issue38850] test_largefile fails on android

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue38851] UDPLITE tests fail on android

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue38840] incorrect __all__ list in multiprocessing.managers module

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue38848] compileall fails when the platform lacks a functional sem_open()

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue35813] shared memory construct to avoid need for serialization between processes

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue36758] configured libdir not correctly passed to Python executable

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue36414] Multiple test failures in GCC and Clang optional builds on Travis CI

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue25172] Unix-only crypt should not be present on Windows.

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Not interested anymore in android stuff. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue38850] test_largefile fails on android

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Not interested anymore in android stuff. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue38849] test_timestamp_naive fails on android

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Not interested anymore in android stuff. -- stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue38851] UDPLITE tests fail on android

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Not interested anymore in android stuff. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue38848] compileall fails when the platform lacks a functional sem_open()

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Not interested anymore in android stuff. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue38840] incorrect __all__ list in multiprocessing.managers module

2019-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Not interested anymore in android stuff. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue38852] test_recursion_limit in test_threading crashes with SIGSEGV on android

2019-12-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue37535] Client SSLSocket with select.select() always returns readable with OpenSSL 1.1.1

2019-12-09 Thread Christian Heimes
Christian Heimes added the comment: do_handshake() performs just the handshake. TLS protocol can send or receive additional protocol data after the handshake, e.g. alerts, rekeying or renegotiation. The example just happened to not trigger these in TLS 1.2. TLS makes non-blocking IO more com

[issue37465] Incorrect documentation for `s#` arguments in C API argument parsing

2019-12-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +easy stage: -> needs patch type: -> enhancement versions: +Python 2.7 -Python 3.5, Python 3.6 ___ Python tracker ___ __

[issue39012] nuget package published at 3.8.1-c1 instead of rc1

2019-12-09 Thread Steve Dower
New submission from Steve Dower : Should be rc1 -- assignee: steve.dower components: Windows messages: 358163 nosy: paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal stage: needs patch status: open title: nuget package published at 3.8.1-c1 instead of rc1

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-09 Thread Kyle Stanley
Kyle Stanley added the comment: Thanks for taking care of merging to 3.x (master) and 3.8, Łukasz! > Kyle, I'm releasing 3.8.1rc1 now. Please add the What's New entry before next > Monday (3.8.1). No problem, I'll definitely have time to do that before 3.8.1 final, likely in the next few day

[issue39011] ElementTree attributes replace "\r" with "\n"

2019-12-09 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +scoder ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue39002] Small typo in Lib/test/test_statistics.py: tranlation -> translation

2019-12-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for noticing this. Please do fill-out the CLA. I've gone ahead and applied the patch because a typo doesn't need a CLA (correct spelling isn't copyrightable), but you'll need it for future contributing. -- resolution: -> fixed stage: pat

[issue39002] Small typo in Lib/test/test_statistics.py: tranlation -> translation

2019-12-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 859767d58ea8e34313f00fc102a810efff285941 by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-39002: Fix simple typo: tranlation -> translation (GH-17517) (GH-17538) https://github.com/python/cpython/commit/859767d58ea8e34313f00fc

[issue38943] Idle autocomplete window doesn't show up

2019-12-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue38943] Idle autocomplete window doesn't show up

2019-12-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue37535] Client SSLSocket with select.select() always returns readable with OpenSSL 1.1.1

2019-12-09 Thread Wator Sead
Wator Sead added the comment: Thanks for explanation, I understand what the reason is. But why do_handshake() not clear of useless data buffer after it is completed? I think that must be easy to do. -- ___ Python tracker

[issue38943] Idle autocomplete window doesn't show up

2019-12-09 Thread miss-islington
miss-islington added the comment: New changeset 34d5d5e096ee804e94199bf242469cdf9bbc3316 by Miss Islington (bot) in branch '3.8': bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416) https://github.com/python/cpython/commit/34d5d5e096ee804e94199bf242469cdf9bbc3316 ---

[issue38943] Idle autocomplete window doesn't show up

2019-12-09 Thread miss-islington
miss-islington added the comment: New changeset 1b0e88dde146eb290735f4b486d4a67074132100 by Miss Islington (bot) in branch '3.7': bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416) https://github.com/python/cpython/commit/1b0e88dde146eb290735f4b486d4a67074132100 ---

[issue38943] Idle autocomplete window doesn't show up

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +17025 pull_request: https://github.com/python/cpython/pull/17549 ___ Python tracker ___ __

[issue38943] Idle autocomplete window doesn't show up

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +17024 pull_request: https://github.com/python/cpython/pull/17548 ___ Python tracker ___ __

[issue38943] Idle autocomplete window doesn't show up

2019-12-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset bbc4162bafe018f07bab0b624b37974cc33daad9 by Terry Jan Reedy (JohnnyNajera) in branch 'master': bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416) https://github.com/python/cpython/commit/bbc4162bafe018f07bab0b624b37974cc33da

[issue38944] Idle completion windows should close on Escape key

2019-12-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38999] Python launcher on Windows does not detect active venv

2019-12-09 Thread Alexandros Karypidis
Alexandros Karypidis added the comment: I think this situation is not ideal and the limitation seems artificial. If I understand correctly, there are two parameters that govern the behaviour of the python launcher: 1) Is the shebang using /usr/bin/env or not? 2) IS the shebang specifying a v

[issue39011] ElementTree attributes replace "\r" with "\n"

2019-12-09 Thread mefistotelis
New submission from mefistotelis : TLDR: If I place "\r" in an Element attribute, it is handled and idiomized to " " in the XML file. But wait - \r is not really code 10, right? Real description: If I create ElementTree and read it just after creation, I'm getting what I put there - "\r". Bu

[issue38944] Idle completion windows should close on Escape key

2019-12-09 Thread miss-islington
miss-islington added the comment: New changeset 4e0e452dd06a0f3565d94075188d1fd1f60d4d65 by Miss Islington (bot) in branch '3.7': bpo-38944: Escape key now closes IDLE completion windows. (GH-17419) https://github.com/python/cpython/commit/4e0e452dd06a0f3565d94075188d1fd1f60d4d65 --

[issue38944] Idle completion windows should close on Escape key

2019-12-09 Thread miss-islington
miss-islington added the comment: New changeset 2b2c7bf231aadc0dd985e02549b1a8b93334047a by Miss Islington (bot) in branch '3.8': bpo-38944: Escape key now closes IDLE completion windows. (GH-17419) https://github.com/python/cpython/commit/2b2c7bf231aadc0dd985e02549b1a8b93334047a --

[issue38944] Idle completion windows should close on Escape key

2019-12-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: With this done, we can think about whether the behavior of should be changed (on a new issue). I need to first document what it does do in all the different situations. -- stage: patch review -> backport needed title: Idle autocomplete window doesn

[issue27609] IDLE completions: format, factor, and fix

2019-12-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: 38943 Autocomplete box sometimes does not show on Ubuntu. 38944 Excape key should close completion box. -- dependencies: +Idle autocomplete window doesn't close on Escape key, Idle autocomplete window doesn't show up _

[issue38944] Idle autocomplete window doesn't close on Escape key

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +17023 pull_request: https://github.com/python/cpython/pull/17547 ___ Python tracker ___ __

[issue38944] Idle autocomplete window doesn't close on Escape key

2019-12-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 232689b40d8fcbbac27c8705607ff482ea5b46f8 by Terry Jan Reedy (JohnnyNajera) in branch 'master': bpo-38944: Escape key now closes IDLE completion windows. (GH-17419) https://github.com/python/cpython/commit/232689b40d8fcbbac27c8705607ff482ea5b46f8

[issue38944] Idle autocomplete window doesn't close on Escape key

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +17022 pull_request: https://github.com/python/cpython/pull/17546 ___ Python tracker ___ __

[issue39009] Small typo in Lib/test/test__locale.py: thousauds -> thousands

2019-12-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39009] Small typo in Lib/test/test__locale.py: thousauds -> thousands

2019-12-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 2ad7651c00c9b58b2b8b9e3687c82c203ece576c by Pablo Galindo (Tim Gates) in branch 'master': bpo-39009: Fix typo in test__locale (GH-17544) https://github.com/python/cpython/commit/2ad7651c00c9b58b2b8b9e3687c82c203ece576c -- _

[issue38630] subprocess.Popen.send_signal() should poll the process

2019-12-09 Thread Nathaniel Smith
Nathaniel Smith added the comment: > revalidate pid licenses It means autocorrect mangled the text... I don't remember what word that's supposed to be, but basically I meant "revalidate the pid hasn't been reaped" > Wouldn't it be sufficient to add > > if self.returncode is not

[issue38630] subprocess.Popen.send_signal() should poll the process

2019-12-09 Thread Роман Донченко
Роман Донченко added the comment: > I'm pretty sure you mean WNOWAIT, right? Right. > revalidate pid licenses What does this mean? > I think we can patch up this last race condition by adding yet one more lock Wouldn't it be sufficient to add if self.returncode is not None: return self

[issue38975] Add direct anchors to regex syntax documentation

2019-12-09 Thread Baptiste Mispelon
Baptiste Mispelon added the comment: I've tried using subsection (level 3) for each syntax element and I'm not sure it's a big improvement. Pros: * Visible ¶ anchors which make it easier to copy/paste a reference link Cons: * headings have a slightly different style (bigger font, no bac

[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: ConnectionResetError means that the pipe socket is closed. Was the event loop closed? Can you provide a reproducer? Can you try to get debug logs to see what's going on? https://docs.python.org/dev/library/asyncio-dev.html#debug-mode -- nosy: +vstinn

[issue38699] socket: change listen() default backlog from 128 to 4096?

2019-12-09 Thread Nathaniel Smith
Nathaniel Smith added the comment: Yeah, I don't think it matters that much. There are lots of random gotchas that you have to watch out for using the socket module. To be clear: I do still think that using a large value by default, and clamping user input values at 65535, would be improveme

[issue38630] subprocess.Popen.send_signal() should poll the process

2019-12-09 Thread Nathaniel Smith
Nathaniel Smith added the comment: > Thread B thinks the process is still running, so it calls waitid+WNOHANG on > a stale PID, with unpredictable results. I'm pretty sure you mean WNOWAIT, right? The actual reaping step (which might use WNOHANG) is already protected by a lock, but there's

[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2019-12-09 Thread Jonathan Slenders
Jonathan Slenders added the comment: Suppressing `ConnectionResetError` in `BaseProactorEventLoop._loop_self_reading`, like we do with `CancelledError` seems to fix it. Although I'm not sure what it causing the error, and whether we need to handle it somehow. -- __

[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2019-12-09 Thread Jonathan Slenders
New submission from Jonathan Slenders : We have a snippet of code that runs perfectly fine using the `SelectorEventLoop`, but crashes *sometimes* using the `ProactorEventLoop`. The traceback is the following. The exception cannot be caught within the asyncio application itself (e.g., it is no

[issue39003] test_unparse leaked [35, 5, 6] references: fail randomly, pass when run again

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the quick fix. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue27961] remove support for platforms without "long long"

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset a2ff283d519be11f50220885ddc4d029eb8cb0a0 by Victor Stinner (Sergey Fedoseev) in branch 'master': bpo-27961: Replace PY_ULLONG_MAX with ULLONG_MAX (GH-17539) https://github.com/python/cpython/commit/a2ff283d519be11f50220885ddc4d029eb8cb0a0

[issue27961] remove support for platforms without "long long"

2019-12-09 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- pull_requests: +17021 pull_request: https://github.com/python/cpython/pull/17539 ___ Python tracker ___ _

[issue38630] subprocess.Popen.send_signal() should poll the process

2019-12-09 Thread Роман Донченко
Роман Донченко added the comment: > What you do is split 'wait' into two parts: first it waits for me process to > become reapable without actually reaping it. On Linux you can do this with > waitid+WNOWAIT. On kqueue platforms you can do it with kqueue. > Then, you take a lock, and use it to

[issue38990] Import genericpath fails with python -S

2019-12-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38990] Import genericpath fails with python -S

2019-12-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue31802. I skipped genericpath because I did not expect that somebody can import it directly (unlike to posixpath, ntpath and macpath). genericpath is an internal module, it is not even documented. -- nosy: +serhiy.storchaka __

[issue39009] Small typo in Lib/test/test__locale.py: thousauds -> thousands

2019-12-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- assignee: -> pablogsal nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue39007] Add audit hooks to winreg module

2019-12-09 Thread miss-islington
miss-islington added the comment: New changeset 0ac9aaeb9727aa60bef918b619116a729d3ea56d by Miss Islington (bot) in branch '3.8': bpo-39007: Add auditing events to functions in winreg (GH-17541) https://github.com/python/cpython/commit/0ac9aaeb9727aa60bef918b619116a729d3ea56d -- nos

[issue39009] Small typo in Lib/test/test__locale.py: thousauds -> thousands

2019-12-09 Thread Tim Gates
Change by Tim Gates : -- keywords: +patch pull_requests: +17020 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17544 ___ Python tracker ___ __

[issue39009] Small typo in Lib/test/test__locale.py: thousauds -> thousands

2019-12-09 Thread Tim Gates
New submission from Tim Gates : In "Lib/test/test__locale.py" the text should read thousands rather than thousauds. -- messages: 358134 nosy: timgates42 priority: normal severity: normal status: open title: Small typo in Lib/test/test__locale.py: thousauds -> thousands ___

[issue37193] Memory leak while running TCP/UDPServer with socketserver.ThreadingMixIn

2019-12-09 Thread Jason R. Coombs
Jason R. Coombs added the comment: This issue was also [reported in prometheus client](https://salsa.debian.org/debian/python-prometheus-client/commit/5aa256d8aab3b81604b855dc03f260342fc391fb) where the workaround was to use daemon threads. -- ___

[issue39008] PySys_Audit should require PY_SSIZE_T_CLEAN

2019-12-09 Thread miss-islington
miss-islington added the comment: New changeset c93d68bbb986ee0879f5627223e0bd2bb91f63dd by Miss Islington (bot) in branch '3.8': bpo-39008: Require Py_ssize_t for PySys_Audit formats rather than raise a deprecation warning (GH-17540) https://github.com/python/cpython/commit/c93d68bbb986ee08

[issue39007] Add audit hooks to winreg module

2019-12-09 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue39007] Add audit hooks to winreg module

2019-12-09 Thread Steve Dower
Steve Dower added the comment: New changeset ee17e3735634c5fe15a43f897707de8011618627 by Steve Dower in branch 'master': bpo-39007: Add auditing events to functions in winreg (GH-17541) https://github.com/python/cpython/commit/ee17e3735634c5fe15a43f897707de8011618627 -- ___

[issue39007] Add audit hooks to winreg module

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +17019 pull_request: https://github.com/python/cpython/pull/17543 ___ Python tracker ___ __

[issue37193] Memory leak while running TCP/UDPServer with socketserver.ThreadingMixIn

2019-12-09 Thread Jason R. Coombs
Change by Jason R. Coombs : -- nosy: +jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue39008] PySys_Audit should require PY_SSIZE_T_CLEAN

2019-12-09 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___

[issue39008] PySys_Audit should require PY_SSIZE_T_CLEAN

2019-12-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +17018 pull_request: https://github.com/python/cpython/pull/17542 ___ Python tracker ___ __

[issue39008] PySys_Audit should require PY_SSIZE_T_CLEAN

2019-12-09 Thread Steve Dower
Steve Dower added the comment: New changeset b8cbe74c3498c617f0e73fd0cdc5c07f2c532092 by Steve Dower in branch 'master': bpo-39008: Require Py_ssize_t for PySys_Audit formats rather than raise a deprecation warning (GH-17540) https://github.com/python/cpython/commit/b8cbe74c3498c617f0e73fd0c

[issue38989] pip install selects 32 bit wheels for 64 bit python if vcvarsall.bat amd64_x86 in environment

2019-12-09 Thread Steve Dower
Steve Dower added the comment: > maybe you have some relevant context Nothing you haven't figured out yourself. As you say, they're both private functions, and as we investigated adding a "get_target_platform" function, it turned out that nearly all users were expecting the target platform,

[issue20443] __code__. co_filename should always be an absolute path

2019-12-09 Thread Batuhan
Batuhan added the comment: I am not sure that if co_filename can break backwards compability or not (because until CodeType.replace; it was usual to break code object construction, people who are using code objects may take this too) but yes PR 17534 was necessary. My initial patch (PR 135

[issue25160] Stop using deprecated imp module; imp should now emit a real DeprecationWarning

2019-12-09 Thread Brett Cannon
Brett Cannon added the comment: > Any reason to keep imp there? Nope, not anymore. -- ___ Python tracker ___ ___ Python-bugs-list

[issue38990] Import genericpath fails with python -S

2019-12-09 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the report, Brittany, but I'm closing as "won't fix" as the only way to make this happen is to import genericpath directly which one shouldn't do (it's undocumented on purpose); always get a hold of this module via 'os'. -- resolution: -> w

[issue39007] Add audit hooks to winreg module

2019-12-09 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +17017 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17541 ___ Python tracker _

[issue39008] PySys_Audit should require PY_SSIZE_T_CLEAN

2019-12-09 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +17016 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17540 ___ Python tracker _

[issue39008] PySys_Audit should require PY_SSIZE_T_CLEAN

2019-12-09 Thread Steve Dower
New submission from Steve Dower : Currently, calls to PySys_Audit() that use "#" format strings will raise a deprecation warning because Python/sysmodule.c is not PY_SSIZE_T_CLEAN Since PySys_Audit is a new API, we should just define it as always requiring Py_ssize_t. (Discovered while imple

[issue38981] better name for re.error Exception class.

2019-12-09 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: > RECompileError, REParseError, RESyntaxError, REError, CompileError, > ParseError, SyntaxError or Error, > Many modules [...] have an exception named just Error RECompileError, REParseError, RESyntaxError, REError, CompileError, ParseError are all fi

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-09 Thread Mark Dickinson
Mark Dickinson added the comment: Fixed in master and 3.8. Not sure this is worth backporting to 3.7. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue39003] test_unparse leaked [35, 5, 6] references: fail randomly, pass when run again

2019-12-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39003] test_unparse leaked [35, 5, 6] references: fail randomly, pass when run again

2019-12-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset ac229116a34a679511c20bfeca167cc6a9df9807 by Pablo Galindo in branch 'master': bpo-39003: Make sure all test are the same when using -R in test_unparse (GH-17537) https://github.com/python/cpython/commit/ac229116a34a679511c20bfeca167cc6a9

[issue39002] Small typo in Lib/test/test_statistics.py: tranlation -> translation

2019-12-09 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +17015 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17538 ___ Python tracker ___ _

[issue39002] Small typo in Lib/test/test_statistics.py: tranlation -> translation

2019-12-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset c18b805ac6a2d22176240ca93982fa1fb6559ec7 by Raymond Hettinger (Tim Gates) in branch 'master': bpo-39002: Fix simple typo: tranlation -> translation (GH-17517) https://github.com/python/cpython/commit/c18b805ac6a2d22176240ca93982fa1fb6559ec7

[issue38992] testFsum failure caused by constant folding of a float expression

2019-12-09 Thread Mark Dickinson
Mark Dickinson added the comment: New changeset 3c5feaffde1944052830c896ae39c54e76a2e063 by Mark Dickinson (Miss Islington (bot)) in branch '3.8': bpo-38992: avoid fsum test failure from constant-folding (GH-17513) (GH-17530) https://github.com/python/cpython/commit/3c5feaffde1944052830c896ae

[issue39003] test_unparse leaked [35, 5, 6] references: fail randomly, pass when run again

2019-12-09 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +17014 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17537 ___ Python tracker __

[issue39007] Add audit hooks to winreg module

2019-12-09 Thread Steve Dower
New submission from Steve Dower : The winreg module should have hooks added. -- assignee: steve.dower components: Windows messages: 358119 nosy: christian.heimes, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal stage: needs patch status: open title: Add

[issue36982] Add support for extended color functions in ncurses 6.1

2019-12-09 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +17013 pull_request: https://github.com/python/cpython/pull/17536 ___ Python tracker ___ ___

[issue38987] 3.8.0 on GNU/Linux fails to find shared library

2019-12-09 Thread Christian Heimes
Christian Heimes added the comment: ld.so and ldd don't use /etc/ld.so.conf to locate libraries. They use /etc/ld.so.cache, which is created by ldconfig from /etc/ld.so.conf. The cache is typically the first file opened by a dynamically linked binary. # ls -la /usr/local/lib/libpython3.* lrw

[issue38987] 3.8.0 on GNU/Linux fails to find shared library

2019-12-09 Thread Christian Heimes
Christian Heimes added the comment: On Ubuntu and other Linux distros you must run ldconfig any time you install or change a shared library. Otherwise the dynamic linker won't be able to locate the shared library. I'm able to confirm that python3.8 does not work prior to calling, but works

[issue34776] Postponed annotations break inspection of dataclasses

2019-12-09 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue20443] __code__. co_filename should always be an absolute path

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset a1a99b4bb7cbe2dbc55a1d92c3c509b4466d3c3b by Victor Stinner in branch 'master': bpo-20443: No longer make sys.argv[0] absolute for script (GH-17534) https://github.com/python/cpython/commit/a1a99b4bb7cbe2dbc55a1d92c3c509b4466d3c3b -- _

[issue37535] Client SSLSocket with select.select() always returns readable with OpenSSL 1.1.1

2019-12-09 Thread Christian Heimes
Christian Heimes added the comment: The problem is caused by the way how TLS 1.3 works. Select considers a TLS 1.3 socket as readable after the handshake, because there is still data on the line. The server is sending session tickets (usually two) after the handshake has been performed. If y

[issue20443] __code__. co_filename should always be an absolute path

2019-12-09 Thread STINNER Victor
STINNER Victor added the comment: > Anything new here? 3.9.0a2 is due next week. I had it in my TODO list but I lost the bpo number. Thanks for the reminder :-) I wrote PR 17534 that I plan to merge as soon as the CI tests pass. -- ___ Python trac

[issue30155] Add ability to get/set tzinfo on datetime instances in C API

2019-12-09 Thread Alexander Belopolsky
Change by Alexander Belopolsky : -- dependencies: +Add timezone support to datetime C API ___ Python tracker ___ ___ Python-bugs-lis

[issue33592] Document contextvars C API

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue34272] Reorganize C API tests

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue35827] C API dictionary views type checkers are not documented

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue30155] Add ability to get/set tzinfo on datetime instances in C API

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue37465] Incorrect documentation for `s#` arguments in C API argument parsing

2019-12-09 Thread STINNER Victor
Change by STINNER Victor : -- components: +C API ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

  1   2   >