[issue41709] Idle erases clipboard upon closing

2020-09-04 Thread Kitty Beans
New submission from Kitty Beans : Idle erases the contents of my clipboard after copying any text from the idle window, and then closing idle. This happens on my Linux Mint 19.3 Laptop and Desktop; Windows 10 Laptop does not seem to have this issue (it has never altered my clipboard outside o

[issue41710] Timeout is affected by jumps in system time

2020-09-04 Thread Jonas Norling
New submission from Jonas Norling : The timeout for threading.Lock, threading.Condition, etc, is not using a monotonic clock — it is affected if the system time (realtime clock) is set. The attached program can be used to show the problem. It is expected to print "Took 2.000 s" repeatedly, but

[issue41700] test_c_locale_coercion: test_PYTHONCOERCECLOCALE_set_to_one() failed on PPC64 Fedora 3.9

2020-09-04 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 54a66ade2067c373d31003ad260e1b7d14c81564 by Dong-hee Na in branch 'master': bpo-41700: Skip test if the locale is not supported (GH-22081) https://github.com/python/cpython/commit/54a66ade2067c373d31003ad260e1b7d14c81564 -- _

[issue41700] test_c_locale_coercion: test_PYTHONCOERCECLOCALE_set_to_one() failed on PPC64 Fedora 3.9

2020-09-04 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +21171 pull_request: https://github.com/python/cpython/pull/22085 ___ Python tracker _

[issue41700] test_c_locale_coercion: test_PYTHONCOERCECLOCALE_set_to_one() failed on PPC64 Fedora 3.9

2020-09-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +21172 pull_request: https://github.com/python/cpython/pull/22086 ___ Python tracker ___ __

[issue23428] Use the monotonic clock for thread conditions on POSIX platforms

2020-09-04 Thread STINNER Victor
STINNER Victor added the comment: See bpo-41710 "Timeout is affected by jumps in system time". -- ___ Python tracker ___ ___ Python

[issue41710] Timeout is affected by jumps in system time

2020-09-04 Thread STINNER Victor
STINNER Victor added the comment: bpo-23428 modified the pthread implementation of conditional variable to use pthread_condattr_setclock(&ca, CLOCK_MONOTONIC) is available: commit 001fee14e0f2ba5f41fb733adc69d5965925a094. The change should be part of Python 3.8. What is your sys.thread_info

[issue41711] Socker send method throws a timeout exception

2020-09-04 Thread pig
Change by pig : -- components: IO nosy: pppig0921 priority: normal severity: normal status: open title: Socker send method throws a timeout exception type: behavior versions: Python 3.7 ___ Python tracker ___

[issue41711] Socker send method throws a timeout exception

2020-09-04 Thread pig
Change by pig : Added file: https://bugs.python.org/file49441/tcpclient.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue41711] Socker send method throws a timeout exception

2020-09-04 Thread pig
Change by pig : Added file: https://bugs.python.org/file49442/tcpserver.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue41711] Socker send method throws a timeout exception

2020-09-04 Thread pig
New submission from pig : When tcpclient.py and tcpserver.py files are run on macOS at the same time, custom exceptions will be thrown due to exceeding the given timeout.Timed out: Timed out When one or two files are running on window, socker.send throws an exception socket.timeout: Timed out

[issue41712] REDoS in purge

2020-09-04 Thread yeting li
New submission from yeting li : I find this regex "(\d+\.\d+\.\d+)(\w+\d+)?$" may be stucked by input. The vulnerable regex is located in https://github.com/python/cpython/blob/54a66ade2067c373d31003ad260e1b7d14c81564/Tools/msi/purge.py#L15 The ReDOS vulnerability of the regex is mainly due to

[issue36094] When using an SMTP SSL connection,, get ValueError.

2020-09-04 Thread Peter Stokes
Peter Stokes added the comment: I wanted to enquire as to if/when the proposed PR11998 is likely to be merged? I also wanted to note the similarity between this issue and issue41470 and to suggest that whilst the change proposed in commit e445ccbc of PR11998 [1] would be welcome, there may be

[issue41713] test_interpreters leaked [1424, 1422, 1424] references

2020-09-04 Thread STINNER Victor
New submission from STINNER Victor : AMD64 Fedora Rawhide Refleaks 3.x: https://buildbot.python.org/all/#/builders/565/builds/11 test_interpreters leaked [1424, 1422, 1424] references, sum=4270 According to git bisect, the leak was introduced by: commit 71d1bd9569c8a497e279f2fea6fe47cd70a87ea

[issue41700] test_c_locale_coercion: test_PYTHONCOERCECLOCALE_set_to_one() failed on PPC64 Fedora 3.9

2020-09-04 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 8f13ff959ae43fb6b8217845b2945779fe693b84 by Miss Islington (bot) in branch '3.9': bpo-41700: Skip test if the locale is not supported (GH-22081) (GH-22085) https://github.com/python/cpython/commit/8f13ff959ae43fb6b8217845b2945779fe693b84

[issue41700] test_c_locale_coercion: test_PYTHONCOERCECLOCALE_set_to_one() failed on PPC64 Fedora 3.9

2020-09-04 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 4bcff52447b472bc5c8698d4ab29c09df9e122b4 by Miss Islington (bot) in branch '3.8': bpo-41700: Skip test if the locale is not supported (GH-22081) (GH-22086) https://github.com/python/cpython/commit/4bcff52447b472bc5c8698d4ab29c09df9e122b4

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-09-04 Thread STINNER Victor
Change by STINNER Victor : -- title: test_interpreters leaked [1424, 1422, 1424] references -> _signal module leak: test_interpreters leaked [1424, 1422, 1424] references ___ Python tracker _

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-09-04 Thread STINNER Victor
STINNER Victor added the comment: The signal module is really special. In Python, only the main thread of the main interpreter is supposed to be allowed to run Python signal handlers (but the C signal handler can be executed by any thread). The exec function of the _signal module runs action

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-09-04 Thread STINNER Victor
STINNER Victor added the comment: About the leak, the following three variables are also initialized multiple times by signal_exec(): static PyObject *DefaultHandler; static PyObject *IgnoreHandler; static PyObject *IntHandler; -- ___ Python track

[issue41714] multiprocessing.Queue deadlock

2020-09-04 Thread Richard Purdie
New submission from Richard Purdie : We're having some problems with multiprocessing.Queue where the parent process ends up hanging with zombie children. The code is part of bitbake, the task execution engine behind OpenEmbedded/Yocto Project. I've cut down our code to the pieces in question

[issue41714] multiprocessing.Queue deadlock

2020-09-04 Thread Richard Purdie
Richard Purdie added the comment: I should also add that if we don't use cancel_join_thread() in the parser processes, things all work out ok. There is therefore seemingly something odd about the state that is leaving things in. This issue doesn't occur every time, its maybe 1 in 40 runs wher

[issue41700] test_c_locale_coercion: test_PYTHONCOERCECLOCALE_set_to_one() failed on PPC64 Fedora 3.9

2020-09-04 Thread Dong-hee Na
Change by Dong-hee Na : -- versions: +Python 3.10, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41700] test_c_locale_coercion: test_PYTHONCOERCECLOCALE_set_to_one() failed on PPC64 Fedora 3.9

2020-09-04 Thread Dong-hee Na
Dong-hee Na added the comment: This issue is fixed. Thanks for the report and review Victor! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41709] Tkinter erases clipboard upon closing

2020-09-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is a duplicate of an existing tkinter and Linux issue we don't know how to fix. #40452 -- components: +Tkinter -IDLE resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Tkinter/IDLE: preserve clipboard on closure

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-09-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed duplicate issue #41709, Linux Mint 19.3, python 3.6.8 -- versions: -Python 3.7 ___ Python tracker ___ ___

[issue41715] REDoS inc_analyzer

2020-09-04 Thread yeting li
New submission from yeting li : Hi, I find this regex "^([a-zA-Z]|_\w*[a-zA-Z]\w*|[a-zA-Z]\w*)$" may be stucked by input. The vulnerable regex is located in https://github.com/python/cpython/blob/54a66ade2067c373d31003ad260e1b7d14c81564/Tools/c-analyzer/c_analyzer/common/info.py#L12 The ReDOS

[issue41715] REDoS in c_analyzer

2020-09-04 Thread yeting li
Change by yeting li : -- title: REDoS inc_analyzer -> REDoS in c_analyzer ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue41715] REDoS in c_analyzer

2020-09-04 Thread yeting li
Change by yeting li : -- components: +Library (Lib) type: -> security versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs

[issue41712] REDoS in purge

2020-09-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report yeting li. The pattern modification looks good to me. Do you mind to create a pull request? -- keywords: +easy nosy: +serhiy.storchaka stage: -> needs patch versions: +Python 3.8, Python 3.9 __

[issue41715] REDoS in c_analyzer

2020-09-04 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +eric.snow, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue41714] multiprocessing.Queue deadlock

2020-09-04 Thread Richard Purdie
Richard Purdie added the comment: Even my hack to call _writer.close() doesn't seem to be enough, it makes the problem rarer but there is still an issue. Basically, if you call cancel_join_thread() in one process, the queue is potentially totally broken in all other processes that may be usi

[issue41715] REDoS in c_analyzer

2020-09-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I would use NAME_RE = re.compile(r'(?![_\d]+\Z)(?!\d)\w+', re.ASCII) or NAME_RE = re.compile(r'(?=.*[A-Za-z])(?!\d)\w+', re.ASCII) and NAME_RE.fullmatch() instead of NAME_RE.match(). But why identifiers not containing letters are disabled at first

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-09-04 Thread STINNER Victor
STINNER Victor added the comment: Another problem: PyOS_FiniInterrupts() is a public function of the C API which access global variables like IntHandler, DefaultHandler and IgnoreHandler. -- ___ Python tracker

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-09-04 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +21173 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22087 ___ Python tracker ___ _

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-09-04 Thread STINNER Victor
STINNER Victor added the comment: > bpo-1635741: Port _signal module to multi-phase init (PEP 489) (GH-22049) This change is causing new issues: bpo-41713 "_signal module leak: test_interpreters leaked [1424, 1422, 1424] references". So I partially reverted it: PR 22087. -- ___

[issue39825] EXT_SUFFIX inconsistent between sysconfig and distutils.sysconfig (Windows)

2020-09-04 Thread mattip
Change by mattip : -- keywords: +patch nosy: +mattip nosy_count: 8.0 -> 9.0 pull_requests: +21174 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22088 ___ Python tracker _

[issue41716] SyntaxError: EOL while scanning string literal

2020-09-04 Thread chen-y0y0
New submission from chen-y0y0 : # I try to run: import os os.system(r"start C:\Windows\System32\") # But I get an Exception: SyntaxError: EOL while scanning string literal # A string after “r” means the string's original meaning. But…… -- components: Argument Clinic messages: 376361 nosy

[issue41716] SyntaxError: EOL while scanning string literal

2020-09-04 Thread Steven D'Aprano
Steven D'Aprano added the comment: You can't end a string with a bare backslash, not even an raw string. -- nosy: +steven.daprano resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue41716] SyntaxError: EOL while scanning string literal

2020-09-04 Thread Steven D'Aprano
Steven D'Aprano added the comment: See the FAQ: https://docs.python.org/3/faq/design.html#why-can-t-raw-strings-r-strings-end-with-a-backslash Also documented here: https://docs.python.org/dev/reference/lexical_analysis.html#string-and-bytes-literals Previous issues: #1271 and #31136 -

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-09-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4b8032e5a4994a7902076efa72fca1e2c85d8b7f by Victor Stinner in branch 'master': bpo-41713: _signal doesn't use multi-phase init (GH-22087) https://github.com/python/cpython/commit/4b8032e5a4994a7902076efa72fca1e2c85d8b7f -- ___

[issue38240] assertCountEqual is horribly misleading, sounds like only counts are being compared

2020-09-04 Thread Mark Dickinson
Change by Mark Dickinson : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue41715] REDoS in c_analyzer

2020-09-04 Thread yeting li
yeting li added the comment: I think we can replace \w*[a-zA-Z]\w* with (_\d*)+([a-zA-Z]([_\d])*)+ This is an equivalent fix and the fixed regex is safe. Does that sound right to you? -- ___ Python tracker ___

[issue41715] REDoS in c_analyzer

2020-09-04 Thread yeting li
yeting li added the comment: You can use the dk.brics.automaton library to verify whether two regexes are equivalent. -- ___ Python tracker ___ __

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-09-04 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue26214] textwrap should minimize number of breaks in extra long words

2020-09-04 Thread Irit Katriel
Irit Katriel added the comment: You can do this already with the break_long_words arg of testwrap: >>> import itertools, textwrap >>> wr = textwrap.wrap >>> list(itertools.chain(*(wr(x, 5) for x in wr("123 123 1234567", width=5, >>> break_long_words=False ['123', '123', '12345', '67'] --

[issue41715] REDoS in c_analyzer

2020-09-04 Thread yeting li
yeting li added the comment: I'm sorry there was a typo just now. replace _\w*[a-zA-Z]\w* with (_\d*)+([a-zA-Z]([_\d])*)+ -- ___ Python tracker ___ _

[issue21987] TarFile.getmember on directory requires trailing slash iff over 100 chars

2020-09-04 Thread af
af added the comment: Any updates on this? -- nosy: +af ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue41717] [AIX] test_io: files was modified by test_io: (@test_6488748_tmpæ) on POWER6 AIX 3.9

2020-09-04 Thread STINNER Victor
New submission from STINNER Victor : '@test_6488748_tmpæ' is likely TESTFN_NONASCII which is exposed as test.support.os_helper.TESTFN, but test_io has many many tests using TESTFN. https://buildbot.python.org/all/#/builders/330/builds/20 0:06:47 [130/425/1] test_io failed (env changed) (1 min

[issue41654] Segfault when raising MemoryError

2020-09-04 Thread STINNER Victor
STINNER Victor added the comment: "AMD64 Arch Linux Asan 3.8" buildbot logs a compiler warning: https://buildbot.python.org/all/#builders/580/builds/4 Objects/exceptions.c: In function ‘MemoryError_dealloc’: Objects/exceptions.c:2298:23: warning: comparison of distinct pointer types lacks a ca

[issue21987] TarFile.getmember on directory requires trailing slash iff over 100 chars

2020-09-04 Thread STINNER Victor
STINNER Victor added the comment: > Any updates on this? So far, nobody proposed a pull request. So no, there is no update. Someone has to step in, dig into the issue, propose a fix, then someone else has to review the PR, and finally the PR should be merged. -- ___

[issue41718] test.regrtest has way too many imports

2020-09-04 Thread STINNER Victor
New submission from STINNER Victor : Follow-up of bpo-40275. While investigating a crash on AIX (bpo-40068), I noticed that test_threading crashed because the test imports the logging module, and the logging has a bug on AIX on fork. I created an issue to reduce the number of imports made by

[issue40275] test.support has way too many imports

2020-09-04 Thread STINNER Victor
STINNER Victor added the comment: Sadly, the work done on this issue is useless until test.regrtest imports less modules as well. So I created bpo-41718 follow-up issue: "test.regrtest has way too many imports". I consider that the work is done on test.support, so I close this issue. -

[issue41718] test.regrtest has way too many imports

2020-09-04 Thread STINNER Victor
STINNER Victor added the comment: If I hack test.libregrtest.runtest to not import test.libregrtest.save_env, test_sys_modules imports only 148 instead of 233 modules. -- ___ Python tracker

[issue41712] REDoS in purge

2020-09-04 Thread Zachary Ware
Zachary Ware added the comment: Does it matter? This is not a library, it is a script used occasionally by a release manager, called manually, and the only input to the regex is provided via a command-line argument in that manual call. I don't think Steve plans to REDoS himself :) ---

[issue41719] Why does not range() support decimals?

2020-09-04 Thread chen-y0y0
New submission from chen-y0y0 : # I try: >>> range(0,5,0.5) # I hope it will (0.0,0.5,1.0,1.5,2.0,2.5,3.0,3.5,4.0,4.5). But... Traceback (most recent call last): File "", line 1, in range(0,5,0.5) TypeError: 'float' object cannot be interpreted as an integer -- components: Argume

[issue41718] test.regrtest has way too many imports

2020-09-04 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +21175 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22089 ___ Python tracker ___ _

[issue41718] test.regrtest has way too many imports

2020-09-04 Thread STINNER Victor
STINNER Victor added the comment: With PR 22089, test_sys_modules.py of msg376374 imports 152 imports rather than 233. It's better than Python 2.7 which imports 170 modules! -- ___ Python tracker __

[issue41718] test.regrtest has way too many imports

2020-09-04 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +pablogsal, zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue41718] test.regrtest has way too many imports

2020-09-04 Thread STINNER Victor
STINNER Victor added the comment: In general, it's nice to have the following 4 checks: * multiprocessing.process._dangling * asyncio.events._event_loop_policy * urllib.requests._url_tempfiles * urllib.requests._opener The problem is that because of these checks, **any** unit test file of the

[issue41717] [AIX] test_io: files was modified by test_io: (@test_6488748_tmpæ) on POWER6 AIX 3.9

2020-09-04 Thread David Edelsohn
David Edelsohn added the comment: Bisection failed after 101 iterations and 0:20:29 -- ___ Python tracker ___ ___ Python-bugs-list

[issue41717] [AIX] test_io: files was modified by test_io: (@test_6488748_tmpæ) on POWER6 AIX 3.9

2020-09-04 Thread STINNER Victor
STINNER Victor added the comment: > Bisection failed after 101 iterations and 0:20:29 Oh :-( Does "./python -m test test_io --fail-env-changed -v" fail? -- ___ Python tracker ___

[issue30681] email.utils.parsedate_to_datetime() should return None when date cannot be parsed

2020-09-04 Thread Georges
Change by Georges : -- nosy: +sim0n nosy_count: 4.0 -> 5.0 pull_requests: +21176 pull_request: https://github.com/python/cpython/pull/22090 ___ Python tracker ___ _

[issue30681] email.utils.parsedate_to_datetime() should return None when date cannot be parsed

2020-09-04 Thread Georges
Georges added the comment: As I think it is still important to have this fixed and considering the original PR was closed, I have created a new PR based on the original one while implementing the requested changes. https://github.com/python/cpython/pull/22090 -- versions: +Python 3.

[issue41712] REDoS in purge

2020-09-04 Thread Steve Dower
Steve Dower added the comment: I've considered DoSing myself a few times, but then change my mind and just publish the release :) A PR to change it to "(\d+\.\d+\.\d+)([a-zA-Z]+\d+)?$" would be fine, but is not urgent. It certainly doesn't need to be backported, as this is only ever used fr

[issue41717] [AIX] test_io: files was modified by test_io: (@test_6488748_tmpæ) on POWER6 AIX 3.9

2020-09-04 Thread David Edelsohn
David Edelsohn added the comment: It's the same system. It doesn't fail alone. Didn't we both previously see issues with the interaction of tests due to the other of tests, that previous tests left things in the environment that affected later tests? -- _

[issue26214] textwrap should minimize number of breaks in extra long words

2020-09-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The code with nested wraps is awesome. But it does not work well. >>> list(itertools.chain(*(wr(x, 5) for x in wr("123 123 1234567 12", width=5, >>> break_long_words=False ['123', '123', '12345', '67', '12'] It is expected that '67' and '12' should be

[issue26214] textwrap should minimize number of breaks in extra long words

2020-09-04 Thread Irit Katriel
Irit Katriel added the comment: One more wrap: >>> wr(' '.join(itertools.chain(*(wr(x, 5) for x in wr("123 123 1234567 12", >>> width=5, break_long_words=False, 5) ['123', '123', '12345', '67 12'] -- ___ Python tracker

[issue41715] REDoS in c_analyzer

2020-09-04 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +21178 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22091 ___ Python tracker ___

[issue41720] Missed "return NotImplemented" in Vec2D.__rmul__

2020-09-04 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Vec2D.__rmul__() misses "return NotImplemented" and therefore implicitly returns None for arguments which are not int or float. >>> import turtle >>> print(object() * turtle.Vec2D(1, 2)) None -- components: Library (Lib) messages: 376389 nosy: se

[issue41282] Deprecate and remove distutils

2020-09-04 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: I noticed that a new PEP draft [1] about deprecating distutils is uploaded. The current version [2] proposes to deprecate distutils in 3.10 and 3.11 and remove distutils in 3.12. [1] https://www.python.org/dev/peps/pep-0632/ [2] https://github.com/python/pe

[issue41678] File-level, optionally external sorting

2020-09-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the suggestion, but Pablo and I agree that this isn't within scope for the standard library. Marking as closed. If you want to discuss further, please post to the Python ideas list. -- resolution: -> rejected stage: -> resolved statu

[issue41720] Missed "return NotImplemented" in Vec2D.__rmul__

2020-09-04 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +21179 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22092 ___ Python tracker ___

[issue41638] Error message: sqlite3.ProgrammingError: You did not supply a value for binding # might be improved

2020-09-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 81715808716198471fbca0a3db42ac408468dbc5 by Serhiy Storchaka in branch 'master': bpo-41638: Improve ProgrammingError message for absent parameter. (GH-21999) https://github.com/python/cpython/commit/81715808716198471fbca0a3db42ac408468dbc5 -

[issue40486] pathlib's iterdir doesn't specify what happens if directory content change

2020-09-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 306cfb3a37e1438f6ba9f0a9f3af3c00aae4ec64 by Serhiy Storchaka in branch 'master': bpo-40486: Specify what happens if directory content change diring iteration (GH-22025) https://github.com/python/cpython/commit/306cfb3a37e1438f6ba9f0a9f3af3c00

[issue40486] pathlib's iterdir doesn't specify what happens if directory content change

2020-09-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +21181 pull_request: https://github.com/python/cpython/pull/22094 ___ Python tracker ___ __

[issue40486] pathlib's iterdir doesn't specify what happens if directory content change

2020-09-04 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +21180 pull_request: https://github.com/python/cpython/pull/22093 ___ Python tracker _

[issue41710] Timeout is affected by jumps in system time

2020-09-04 Thread Jonas Norling
Jonas Norling added the comment: sys.thread_info = sys.thread_info(name='pthread', lock='semaphore', version='NPTL 2.31') on my system. Looking at the source I think the semaphore implementation will be used on all modern Linux systems. In my tests it works as expected on a Macintosh (3.8.5

[issue26214] textwrap should minimize number of breaks in extra long words

2020-09-04 Thread Irit Katriel
Irit Katriel added the comment: To clarify, this solution is a linear-time greedy one, with three passes: - the first pass puts each long word on its own line. - the second pass chops them up into words of at most width characters. - the third pass wraps them, when there are no more long words

[issue38585] defusedexpat not supported past python 3.3/3.4

2020-09-04 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 3.0 -> 4.0 pull_requests: +21182 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22095 ___ Python tracker

[issue41721] xlc: add -qalias=noansi -qmaxmem=-1

2020-09-04 Thread Stefan Krah
Change by Stefan Krah : -- nosy: David.Edelsohn, skrah priority: normal severity: normal status: open title: xlc: add -qalias=noansi -qmaxmem=-1 ___ Python tracker ___

[issue41721] xlc: add -qalias=noansi -qmaxmem=-1

2020-09-04 Thread Stefan Krah
Change by Stefan Krah : -- keywords: +patch pull_requests: +21183 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22096 ___ Python tracker ___

[issue41721] xlc: add -qalias=noansi -qmaxmem=-1

2020-09-04 Thread Stefan Krah
New submission from Stefan Krah : At least the xlc version on AIX 7.1 has aggressive optimizations even with -O: #include #include static int f(long *a, long long *b) { int t = *a; *b = 0; // cannot cha

[issue41721] xlc: add -qalias=noansi -qmaxmem=-1

2020-09-04 Thread Stefan Krah
Stefan Krah added the comment: We would also need -fwrapv to be safe, but I cannot find an equivalent option for xlc. The Intel compiler had a similar failure to #40244 that was resolved by -fwrapv (see #40223). -- ___ Python tracker

[issue41721] xlc: add -qalias=noansi -qmaxmem=-1

2020-09-04 Thread Stefan Krah
Stefan Krah added the comment: -qmaxmem=-1 is added to disable verbose remarks. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue41721] xlc: add -qalias=noansi -qmaxmem=-1

2020-09-04 Thread Stefan Krah
Stefan Krah added the comment: New changeset 84a7917b4c9afec07575065cffa143b91fe98c14 by Stefan Krah in branch 'master': bpo-41721: Add xlc options (GH-22096) https://github.com/python/cpython/commit/84a7917b4c9afec07575065cffa143b91fe98c14 -- __

[issue41721] xlc: add -qalias=noansi -qmaxmem=-1

2020-09-04 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +21184 pull_request: https://github.com/python/cpython/pull/22097 ___ Python tracker _

[issue41704] logging module needs some form of introspection or debugging support

2020-09-04 Thread Jack Jansen
Jack Jansen added the comment: @vinay, absolutely right on this being an anti-pattern:-) And also right on the statement that I can set a breakpoint on all three of logging.basicConfig, logging.config.fileConfig and logging.config.dictConfig, I had overlooked that (was looking for a single p

[issue41627] Relocate user site packages on Windows 32-bit

2020-09-04 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +21185 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22098 ___ Python tracker ___

[issue41627] Relocate user site packages on Windows 32-bit

2020-09-04 Thread Steve Dower
Steve Dower added the comment: > If it is otherwise possible to user-only install both 32 and 64 bit versions, > then using the same site-packages strikes me a bug It's very easy to install both 32 and 64-bit runtimes (and it doesn't matter if they're user or system installs). But when you'

[issue41721] xlc: add -qalias=noansi -qmaxmem=-1

2020-09-04 Thread Stefan Krah
Stefan Krah added the comment: The code example is for 64-bit Linux with sizeof(long) == sizeof(long long). It also works on 32-bit xlc with int/long. -- ___ Python tracker _

[issue38585] defusedexpat not supported past python 3.3/3.4

2020-09-04 Thread miss-islington
miss-islington added the comment: New changeset 51b84f8e96a441c498210f827c1297ee4973525f by Zackery Spytz in branch 'master': bpo-38585: Remove references to defusedexpat (GH-22095) https://github.com/python/cpython/commit/51b84f8e96a441c498210f827c1297ee4973525f -- nosy: +miss-isli

[issue38585] defusedexpat not supported past python 3.3/3.4

2020-09-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +21186 pull_request: https://github.com/python/cpython/pull/22099 ___ Python tracker ___ __

[issue38585] defusedexpat not supported past python 3.3/3.4

2020-09-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +21187 pull_request: https://github.com/python/cpython/pull/22100 ___ Python tracker ___ __

[issue41721] xlc: add -qalias=noansi -qmaxmem=-1

2020-09-04 Thread Stefan Krah
Stefan Krah added the comment: New changeset fb050d0d60f38dc9b6c30df1864020a92981be5b by Miss Islington (bot) in branch '3.9': bpo-41721: Add xlc options (GH-22097) https://github.com/python/cpython/commit/fb050d0d60f38dc9b6c30df1864020a92981be5b --

[issue35228] Index search in CHM help crashes viewer

2020-09-04 Thread Steve Dower
Steve Dower added the comment: So I found the "owner" of the HTML Help component in Windows (I put owner in quotes because this tool is _very_ maintenance mode, so nothing short of a critical vulnerability is going to be touched) and he helped me do some debugging. In short, the index file

[issue38585] defusedexpat not supported past python 3.3/3.4

2020-09-04 Thread miss-islington
miss-islington added the comment: New changeset 6386e86becc2096206e16d7f5fabb5752bdd9b37 by Miss Islington (bot) in branch '3.9': bpo-38585: Remove references to defusedexpat (GH-22095) https://github.com/python/cpython/commit/6386e86becc2096206e16d7f5fabb5752bdd9b37 -- ___

[issue38585] defusedexpat not supported past python 3.3/3.4

2020-09-04 Thread miss-islington
miss-islington added the comment: New changeset 1470c9189c8b099e0be94b4d89842f5345b776ec by Miss Islington (bot) in branch '3.8': bpo-38585: Remove references to defusedexpat (GH-22095) https://github.com/python/cpython/commit/1470c9189c8b099e0be94b4d89842f5345b776ec -- ___

[issue40486] pathlib's iterdir doesn't specify what happens if directory content change

2020-09-04 Thread miss-islington
miss-islington added the comment: New changeset e52f5bc898c9a11fb1d57a42a1f9ec60b424d576 by Miss Islington (bot) in branch '3.8': [3.8] bpo-40486: Specify what happens if directory content change diring iteration (GH-22025) (GH-22094) https://github.com/python/cpython/commit/e52f5bc898c9a11f

[issue41533] Bugfix: va_build_stack leaks the stack if do_mkstack fails

2020-09-04 Thread miss-islington
miss-islington added the comment: New changeset 66e9c2aee4af846ab1b77faa8a46fe3a9373d943 by Miss Islington (bot) in branch '3.8': [3.8] closes bpo-41533: Fix a potential memory leak when allocating a stack (GH-21847) (GH-22015) https://github.com/python/cpython/commit/66e9c2aee4af846ab1b77fa

[issue41654] Segfault when raising MemoryError

2020-09-04 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +21188 pull_request: https://github.com/python/cpython/pull/22102 ___ Python tracker ___ ___

  1   2   >