[issue38368] Crash when subclassing ctypes.Union

2019-10-08 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38368] Crash when subclassing ctypes.Union

2019-10-08 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 129c2b3d44a962fc5964ef8fd4e6b22dbb691a6c by Vinay Sajip in branch '3.7': bpo-38368: Added fix for ctypes crash when handling arrays in structs/unions. (GH-16589) (GH-16672)

[issue38368] Crash when subclassing ctypes.Union

2019-10-08 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset d004a5b082d0770682e6efbf03105a67469d4820 by Vinay Sajip in branch '3.8': bpo-38368: Added fix for ctypes crash when handling arrays in structs/unions. (GH-16589) (GH-16671)

[issue38174] Security vulnerability in bundled expat CVE-2019-15903 (fix available in expat 2.2.8)

2019-10-08 Thread Larry Hastings
Larry Hastings added the comment: New changeset c386c8b06c6e92786f083ef6aba27b37087fdd20 by larryhastings (Victor Stinner) in branch '3.5': closes bpo-38174: Update vendored expat library to 2.2.8. (GH-16346) (#16434)

[issue38368] Crash when subclassing ctypes.Union

2019-10-08 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: +16253 pull_request: https://github.com/python/cpython/pull/16672 ___ Python tracker ___

[issue38368] Crash when subclassing ctypes.Union

2019-10-08 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +16252 pull_request: https://github.com/python/cpython/pull/16671 ___ Python tracker ___

[issue38419] The path of check-c-globals.py on README is wrong

2019-10-08 Thread Dong-hee Na
Dong-hee Na added the comment: This is newcomer friendly issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38419] The path of check-c-globals.py on README is wrong

2019-10-08 Thread Dong-hee Na
New submission from Dong-hee Na : See https://github.com/python/cpython/blob/01171ebd966b0cd6352057799ad876dd1e07942e/Tools/c-analyzer/README#L37 -- keywords: newcomer friendly messages: 354246 nosy: corona10 priority: normal severity: normal status: open title: The path of

[issue38382] statistics.harmonic_mean fails to raise error with negative input that follows a 0

2019-10-08 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: rhettinger -> steven.daprano ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38418] Audit event for os.system is incorrect

2019-10-08 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +16251 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16670 ___ Python tracker ___

[issue38418] Audit event for os.system is incorrect

2019-10-08 Thread Steve Dower
New submission from Steve Dower : It's documented as "os.system" but implemented as just "system". -- assignee: steve.dower messages: 354245 nosy: lukasz.langa, steve.dower priority: normal severity: normal status: open title: Audit event for os.system is incorrect versions: Python

[issue36161] Use thread-safe functions instead of unsafe ones (crypt, ttyname)

2019-10-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 594e2edfb5e0d24e03469d035d8f39ff29a64d99 by Benjamin Peterson (Antonio Gutierrez) in branch 'master': closes bpo-36161: Use thread-safe ttyname_r instead of ttyname. (GH-14868)

[issue37677] Seg Fault on OSX when multiprocessing

2019-10-08 Thread Timothy Stonis
Timothy Stonis added the comment: Hi, I have the exact same issue and same stack trace from getaddrinfo (except Python 2.7). Same as original poster, it only happens every couple of weeks and I don't know how to reproduce. For me it's in an Odoo instance that spawns multiple workers with

[issue38417] Add support for settting umask in subprocess children

2019-10-08 Thread STINNER Victor
STINNER Victor added the comment: > I'm trying to make sure we track what is blocking people from getting rid of > preexec_fn in their existing code so that we can actually deprecate and get > rid of the API entirely. If you consider posix_spawn(), I think that a convenient replacement for

[issue38382] statistics.harmonic_mean fails to raise error with negative input that follows a 0

2019-10-08 Thread Warren Weckesser
Warren Weckesser added the comment: One more case where the "early out" produces a result that seems wrong: In [20]: harmonic_mean([math.nan, 0]) Out[20]: 0 Anyone who didn't know about the "early out" behavior would probably expect the result to

[issue38417] Add support for settting umask in subprocess children

2019-10-08 Thread Gregory P. Smith
Gregory P. Smith added the comment: We don't have to for all possible things, doing this just reduced friction for existing uses. In this case, calling umask in our child ourselves would be easy to support. (easier than the more important setuid/sid/gid/groups-ish stuff that recently went

[issue38379] finalizer resurrection in gc

2019-10-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38417] Add support for settting umask in subprocess children

2019-10-08 Thread STINNER Victor
STINNER Victor added the comment: > We should add an explicit feature for this If we need to write a wrapper program for that, I would say that no, we don't "have to" provide something in the stdlib. In OpenStack, I wrote prlimit.py which is a preexec-like wrapper program to apply resource

[issue38417] Add support for settting umask in subprocess children

2019-10-08 Thread Gregory P. Smith
New submission from Gregory P. Smith : Another use of the deprecated unsafe preexec_fn was to call os.umask in the child prior to exec. As seen in https://github.com/freeipa/freeipa/pull/3769 (see the code in there). We should add an explicit feature for this to avoid people's desire for

[issue38414] Ordering a nested dictionary in python with json format

2019-10-08 Thread Umar Asghar
Change by Umar Asghar : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38414] Ordering a nested dictionary in python with json format

2019-10-08 Thread Umar Asghar
Umar Asghar added the comment: Please ignore the above shared sample data in the above code and consider this one. this is the exact code that is misbehaving in python 2.7 # Sort nested dictionary by key # using OrderedDict() + sorted() from collections import OrderedDict from operator

[issue38416] test_largefile.TestSocketSendfile.test_it() failed with 15 min timeout on AMD64 FreeBSD 10-STABLE Non-Debug 3.x

2019-10-08 Thread STINNER Victor
STINNER Victor added the comment: Another approach is to change the timeout of 15 min for this super slow buildbot. For example, set it to 20 min or 30 min. -- ___ Python tracker

[issue38416] test_largefile.TestSocketSendfile.test_it() failed with 15 min timeout on AMD64 FreeBSD 10-STABLE Non-Debug 3.x

2019-10-08 Thread STINNER Victor
STINNER Victor added the comment: On the previous build, the test failed with timeout while other tests were running in parallel, and then the test passed ... in 14 min 43 seconds... which is very close to the limit of 15 minutes :-) -- ___

[issue38416] test_largefile.TestSocketSendfile.test_it() failed with 15 min timeout on AMD64 FreeBSD 10-STABLE Non-Debug 3.x

2019-10-08 Thread STINNER Victor
New submission from STINNER Victor : It seems like the 15 min timeout for the overall test_largefile is too short for the very slow AMD64 FreeBSD 10-STABLE Non-Debug 3.x buildbot. The test creates two files of 2.5 GB on the disk. One solution is to skip the test on this buildbot worker. For

[issue34957] Segementation faults on ARM and ARM64

2019-10-08 Thread Zachary Ware
Change by Zachary Ware : -- resolution: works for me -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue38368] Crash when subclassing ctypes.Union

2019-10-08 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset e8bedbddadaa86be6bd86dc32dbdbd53933a4988 by Vinay Sajip in branch 'master': bpo-38368: Added fix for ctypes crash when handling arrays in structs… (GH-16589) https://github.com/python/cpython/commit/e8bedbddadaa86be6bd86dc32dbdbd53933a4988

[issue38415] @asynccontextmanager decorated functions are not callable like @contextmanager

2019-10-08 Thread Jason Fried
Change by Jason Fried : -- keywords: +patch pull_requests: +16250 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16667 ___ Python tracker ___

[issue38415] @asynccontextmanager decorated functions are not callable like @contextmanager

2019-10-08 Thread Jason Fried
New submission from Jason Fried : The standard contextmanager decorator produces a wrapper that itself can be used as a decorator ``` @contextmanager def some_context(): ... yield @some_context() def some_function(): # we are inside a with some_context() now. ... ``` When

[issue38395] proxy_contains (weakref.proxy) can access an object with 0 refcount

2019-10-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- priority: release blocker -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38395] proxy_contains (weakref.proxy) can access an object with 0 refcount

2019-10-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 526ef856dd598fd3cefdfadeb18ede7a8e57aa41 by Pablo Galindo in branch '3.8': [3.8] bpo-38395: Fix ownership in weakref.proxy methods (GH-16632) (GH-16662) https://github.com/python/cpython/commit/526ef856dd598fd3cefdfadeb18ede7a8e57aa41

[issue38414] Ordering a nested dictionary in python with json format

2019-10-08 Thread Umar Asghar
Change by Umar Asghar : -- versions: +Python 2.7 -Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38409] Typo in doc string for str.strip

2019-10-08 Thread Hansraj Das
Change by Hansraj Das : -- nosy: +hansrajdas ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38414] Ordering a nested dictionary in python with json format

2019-10-08 Thread Umar Asghar
Umar Asghar added the comment: I have recently attached the file, please review it as a code reference. -- ___ Python tracker ___

[issue38414] Ordering a nested dictionary in python with json format

2019-10-08 Thread Umar Asghar
Change by Umar Asghar : Added file: https://bugs.python.org/file48649/test.py ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38109] Missing constants in Lib/stat.py

2019-10-08 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38414] Ordering a nested dictionary in python with json format

2019-10-08 Thread Umar Asghar
Umar Asghar added the comment: I guess it exists in all Python versions. I have tested in both Python 2 and Python 3. Python 2.7.15+ (default, Jul 9 2019, 16:51:35) [GCC 7.4.0] on linux2 Python 3.6.8 (default, Aug 20 2019, 17:12:48) [GCC 8.3.0] on linux -- versions: +Python 3.9

[issue38414] Ordering a nested dictionary in python with json format

2019-10-08 Thread Umar Asghar
New submission from Umar Asghar : Python does not preserve ordering in JSON format. I have tested it out but it's not working. Here is my code. # Python3 code to demonstrate # Sort nested dictionary by key # using OrderedDict() + sorted() from collections import OrderedDict from operator

[issue38307] Provide Class' end line in readmodule module

2019-10-08 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38413] Remove or change "Multithreading" section

2019-10-08 Thread Vladimir Ryabtsev
New submission from Vladimir Ryabtsev : This is regarding the page https://docs.python.org/3.7/library/sqlite3.html. I believe this section on the very bottom of the page has been kept here for pretty long time, during that both SQLite and the sqlite3 module evolved and improved. Now the

[issue38307] Provide Class' end line in readmodule module

2019-10-08 Thread Aviral
Change by Aviral : -- keywords: +patch pull_requests: +16249 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16466 ___ Python tracker ___

[issue38109] Missing constants in Lib/stat.py

2019-10-08 Thread Ronan Lamy
Change by Ronan Lamy : -- keywords: +patch pull_requests: +16248 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16665 ___ Python tracker ___

[issue31722] _io.IncrementalNewlineDecoder doesn't inherit codecs.IncrementalDecoder

2019-10-08 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31722] _io.IncrementalNewlineDecoder doesn't inherit codecs.IncrementalDecoder

2019-10-08 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +16247 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/16664 ___ Python tracker ___

[issue1724822] provide a shlex.split alternative for Windows shell syntax

2019-10-08 Thread Eli Schwartz
Change by Eli Schwartz : -- nosy: +eschwartz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38216] Fix for issue30458 (HTTP Header Injection) prevents crafting invalid requests

2019-10-08 Thread Larry Hastings
Change by Larry Hastings : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38216] Fix for issue30458 (HTTP Header Injection) prevents crafting invalid requests

2019-10-08 Thread Larry Hastings
Larry Hastings added the comment: New changeset 2784e78dc3445c6dd59e915d86c336374c1fa09a by larryhastings (Jason R. Coombs) in branch '3.5': [3.5] bpo-38216, bpo-36274: Allow subclasses to separately override validation and encoding behavior (GH-16448) (#16475)

[issue36274] http.client cannot send non-ASCII request lines

2019-10-08 Thread Larry Hastings
Larry Hastings added the comment: New changeset 2784e78dc3445c6dd59e915d86c336374c1fa09a by larryhastings (Jason R. Coombs) in branch '3.5': [3.5] bpo-38216, bpo-36274: Allow subclasses to separately override validation and encoding behavior (GH-16448) (#16475)

[issue38412] csv.reader failed to split string with spaces and quoted delimiter

2019-10-08 Thread belegnar
New submission from belegnar : ``` >>> list(csv.reader(['param1,"param21,param22",param3'])) [['param1', 'param21,param22', 'param3']] >>> list(csv.reader(['param1, "param21,param22", param3'])) [['param1', ' "param21', 'param22"', ' param3']] ``` version 3.7.4 on linux -- components:

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-10-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0ec618af98ac250a91ee9c91f8569e6df6772758 by Victor Stinner in branch 'master': bpo-37531: regrtest ignores output on timeout (GH-16659) https://github.com/python/cpython/commit/0ec618af98ac250a91ee9c91f8569e6df6772758 --

[issue38207] subprocess: On Windows, Popen.kill() + Popen.communicate() is blocking until all processes using the pipe close the pipe

2019-10-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0ec618af98ac250a91ee9c91f8569e6df6772758 by Victor Stinner in branch 'master': bpo-37531: regrtest ignores output on timeout (GH-16659) https://github.com/python/cpython/commit/0ec618af98ac250a91ee9c91f8569e6df6772758 --

[issue38294] Documentation on 3.6->3.7 re.escape no longer escaping "/" or ":" should be obvious

2019-10-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 43f5c0c4d0a608c04c3978adb45117f3943203b7 by Serhiy Storchaka (Ricardo Bánffy) in branch '3.7': [3.7] bpo-38294: Add list of no-longer-escaped chars to re.escape documentation. (GH-16442) (GH-16647)

[issue38411] SQLITE_MISUSE race condition in sqlite3 is misleadingly raised as a binding error

2019-10-08 Thread Jack Robison
Change by Jack Robison : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38395] proxy_contains (weakref.proxy) can access an object with 0 refcount

2019-10-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +16245 pull_request: https://github.com/python/cpython/pull/16662 ___ Python tracker ___

[issue38395] proxy_contains (weakref.proxy) can access an object with 0 refcount

2019-10-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +16246 pull_request: https://github.com/python/cpython/pull/16663 ___ Python tracker ___

[issue38395] proxy_contains (weakref.proxy) can access an object with 0 refcount

2019-10-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +16244 pull_request: https://github.com/python/cpython/pull/16661 ___ Python tracker ___

[issue38410] Possible fatal errors due to _PyEval_SetAsyncGen{Finalizer, Firstiter}()

2019-10-08 Thread Steve Dower
Steve Dower added the comment: You're right, they need either your patch or PyErr_WriteUnraisable(NULL) before returning. Łukasz - this needs a fix in 3.8, but we don't have to necessarily change the (internal, but exposed) ABI. For 3.9, we'll fix it properly, but for 3.8 I'll let you make

[issue38395] proxy_contains (weakref.proxy) can access an object with 0 refcount

2019-10-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 10cd00a9e3c22af37c748ea5a417f6fb66601e21 by Pablo Galindo in branch 'master': bpo-38395: Fix ownership in weakref.proxy methods (GH-16632) https://github.com/python/cpython/commit/10cd00a9e3c22af37c748ea5a417f6fb66601e21 --

[issue38410] Possible fatal errors due to _PyEval_SetAsyncGen{Finalizer, Firstiter}()

2019-10-08 Thread Zackery Spytz
New submission from Zackery Spytz : _PyEval_SetAsyncGenFinalizer() and _PyEval_SetAsyncGenFirstiter() don't include proper error handling for their PySys_Audit() calls. This could lead to leaked exceptions and fatal errors. -- components: Interpreter Core messages: 354210 nosy:

[issue38411] SQLITE_MISUSE race condition in sqlite3 is misleadingly raised as a binding error

2019-10-08 Thread Jack Robison
New submission from Jack Robison : There is a race condition in the sqlite3 module that is misleadingly raised as sqlite3.InterfaceError('Error binding parameter 0 - probably unsupported type.') There are two issues here, one is the incorrectly raise error

[issue36075] python 2to3 conversion tool is generating file with extra line for every input line

2019-10-08 Thread Mark Dickinson
Mark Dickinson added the comment: Closing as duplicate. @sabakauser: if you update to a recent Python 3.7 (anything more recent than 3.7.1 should be enough), you should find that this is fixed. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: ->

[issue38202] A fatal error in test_dictviews

2019-10-08 Thread Dong-hee Na
Dong-hee Na added the comment: Can you finalize the PR 16241 by adding the unit test which @serhiy.storchaka suggested? -- nosy: +corona10 ___ Python tracker ___

[issue38207] subprocess: On Windows, Popen.kill() + Popen.communicate() is blocking until all processes using the pipe close the pipe

2019-10-08 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +16243 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16659 ___ Python tracker ___

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-10-08 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16242 pull_request: https://github.com/python/cpython/pull/16659 ___ Python tracker ___

[issue38409] Typo in doc string for str.strip

2019-10-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the patch and report. CPython now accepts GitHub pull requests https://devguide.python.org/pullrequest/ -- nosy: +xtreak ___ Python tracker

[issue38410] Possible fatal errors due to _PyEval_SetAsyncGen{Finalizer, Firstiter}()

2019-10-08 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36075] python 2to3 conversion tool is generating file with extra line for every input line

2019-10-08 Thread Mark Dickinson
Mark Dickinson added the comment: Looks like a duplicate of #34108 -- nosy: +mark.dickinson ___ Python tracker ___ ___

[issue38379] finalizer resurrection in gc

2019-10-08 Thread Tim Peters
Tim Peters added the comment: PR 16658 aims to repair the stats reported. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38379] finalizer resurrection in gc

2019-10-08 Thread Tim Peters
Change by Tim Peters : -- keywords: +patch pull_requests: +16241 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/16658 ___ Python tracker

[issue38407] Add docstrings for typing.SupportsXXX classes

2019-10-08 Thread miss-islington
miss-islington added the comment: New changeset 7162440a7247f77d22cd937143f358fd5ac85af4 by Miss Islington (bot) in branch '3.8': bpo-38407: Add docstrings for typing.SupportsXXX classes. (GH-16644) https://github.com/python/cpython/commit/7162440a7247f77d22cd937143f358fd5ac85af4

[issue38405] Nested subclasses of typing.NamedTuple are not pickleable

2019-10-08 Thread miss-islington
miss-islington added the comment: New changeset 10b475a151dc35c8ca4047331d591130973e914d by Miss Islington (bot) in branch '3.8': bpo-38405: Make nested subclasses of typing.NamedTuple pickleable. (GH-16641) https://github.com/python/cpython/commit/10b475a151dc35c8ca4047331d591130973e914d

[issue38410] Possible fatal errors due to _PyEval_SetAsyncGen{Finalizer, Firstiter}()

2019-10-08 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +16240 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16657 ___ Python tracker ___

[issue38409] Typo in doc string for str.strip

2019-10-08 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +newcomer friendly ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38409] Typo in doc string for str.strip

2019-10-08 Thread Bob Dowling
New submission from Bob Dowling : The doc string for str.strip() has a typo: the "d" at the end of "removed" is missing. help(str.strip) Currently: Return a copy of the string with leading and trailing whitespace remove. Should be: Return a copy of the string with leading and trailing

[issue38118] Valgrind warning in PyUnicode_Decode: false alarm with GCC builtin strcmp()

2019-10-08 Thread STINNER Victor
STINNER Victor added the comment: Ok, the issue has been fixed in 3.7, 3.8 and master branches. Ensure that you use Valgrind with Misc/valgrind.supp. Example: $ echo|PYTHONMALLOC=malloc valgrind --suppressions=Misc/valgrind-python.supp ./python Lib/tokenize.py (...) ==12923== ERROR SUMMARY:

[issue38118] Valgrind warning in PyUnicode_Decode: false alarm with GCC builtin strcmp()

2019-10-08 Thread miss-islington
miss-islington added the comment: New changeset 98043b4fcd80bdfa8cc2be1730fa2a4cf4950958 by Miss Islington (bot) in branch '3.7': bpo-38118: Ignore Valgrind false alarm in PyUnicode_Decode() (GH-16651) https://github.com/python/cpython/commit/98043b4fcd80bdfa8cc2be1730fa2a4cf4950958

[issue38407] Add docstrings for typing.SupportsXXX classes

2019-10-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +16239 pull_request: https://github.com/python/cpython/pull/16656 ___ Python tracker ___

[issue38405] Nested subclasses of typing.NamedTuple are not pickleable

2019-10-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +16238 pull_request: https://github.com/python/cpython/pull/16655 ___ Python tracker ___

[issue38118] Valgrind warning in PyUnicode_Decode: false alarm with GCC builtin strcmp()

2019-10-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +16237 pull_request: https://github.com/python/cpython/pull/16654 ___ Python tracker ___

[issue38118] Valgrind warning in PyUnicode_Decode: false alarm with GCC builtin strcmp()

2019-10-08 Thread miss-islington
miss-islington added the comment: New changeset 364532fb4962991d278da6470c3aec4e443e533d by Miss Islington (bot) in branch '3.8': bpo-38118: Ignore Valgrind false alarm in PyUnicode_Decode() (GH-16651) https://github.com/python/cpython/commit/364532fb4962991d278da6470c3aec4e443e533d

[issue38118] Valgrind warning in PyUnicode_Decode: false alarm with GCC builtin strcmp()

2019-10-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +16235 pull_request: https://github.com/python/cpython/pull/16652 ___ Python tracker ___

[issue38118] Valgrind warning in PyUnicode_Decode: false alarm with GCC builtin strcmp()

2019-10-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +16236 pull_request: https://github.com/python/cpython/pull/16653 ___ Python tracker ___

[issue38118] Valgrind warning in PyUnicode_Decode: false alarm with GCC builtin strcmp()

2019-10-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset 03ab6b4fc6f59a4452756e7a3a46310ce30ec4b2 by Victor Stinner in branch 'master': bpo-38118: Ignore Valgrind false alarm in PyUnicode_Decode() (GH-16651) https://github.com/python/cpython/commit/03ab6b4fc6f59a4452756e7a3a46310ce30ec4b2

[issue38405] Nested subclasses of typing.NamedTuple are not pickleable

2019-10-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 13abda41003daf599587991d8291f0dacf6e9519 by Serhiy Storchaka in branch 'master': bpo-38405: Make nested subclasses of typing.NamedTuple pickleable. (GH-16641) https://github.com/python/cpython/commit/13abda41003daf599587991d8291f0dacf6e9519

[issue38407] Add docstrings for typing.SupportsXXX classes

2019-10-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8252c52e57283515ace5d4251584255dc5c60eb5 by Serhiy Storchaka in branch 'master': bpo-38407: Add docstrings for typing.SupportsXXX classes. (GH-16644) https://github.com/python/cpython/commit/8252c52e57283515ace5d4251584255dc5c60eb5

[issue38118] Valgrind warning in PyUnicode_Decode: false alarm with GCC builtin strcmp()

2019-10-08 Thread STINNER Victor
STINNER Victor added the comment: It seems like Python 2.7 is not affected. -- versions: +Python 3.7, Python 3.8 ___ Python tracker ___

[issue38118] Valgrind warning in PyUnicode_Decode: false alarm with GCC builtin strcmp()

2019-10-08 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +16234 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/16651 ___ Python tracker

[issue36356] Failure to build with address sanitizer

2019-10-08 Thread STINNER Victor
STINNER Victor added the comment: > The default build of python with ASAN builds successfully. Test suite and PGO > build are currently blocked, but that can be separated if it makes more sense > to handle them individually. Yeah, please open one issue per ASAN issue (try to group similar

[issue36356] Failure to build with address sanitizer

2019-10-08 Thread Yury Selivanov
Change by Yury Selivanov : -- nosy: -yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36356] Failure to build with address sanitizer

2019-10-08 Thread Ben Harper
Ben Harper added the comment: The default build of python with ASAN builds successfully. Test suite and PGO build are currently blocked, but that can be separated if it makes more sense to handle them individually. Would it make sense to add an ASAN build to the CI pipeline to make

[issue33803] contextvars: hamt_alloc() must initialize h_root and h_count fields

2019-10-08 Thread Yury Selivanov
Yury Selivanov added the comment: > In bpo-38392, I modified PyObject_GC_Track() in debug mode to detect this bug. Awesome!!! -- ___ Python tracker ___

[issue36253] Use after free in ctypes test suite

2019-10-08 Thread Ben Harper
Ben Harper added the comment: Changes merged -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38118] Valgrind warning in PyUnicode_Decode: false alarm with GCC builtin strcmp()

2019-10-08 Thread STINNER Victor
STINNER Victor added the comment: The valgrind false alarm on GCC builtin strcmp() has been reported to the Valgrind bug tracker in 2011, with an update in 2012 and... nothing :-( https://bugs.kde.org/show_bug.cgi?id=264936 curl worked around the issue by disabling valgrind on the impacted

[issue38408] urlparse gives no method to build a url with a port

2019-10-08 Thread Eric V. Smith
Eric V. Smith added the comment: One way I can think of doing this in a backward compatible way is to add keyword parameters to urlunparse, like: def urlunparse(components, *, username=None, password=None, hostname=None, port=None): Which would make your call: site_to_test =

[issue38140] Py_tp_dictoffset / Py_tp_finalize are unsettable in stable API

2019-10-08 Thread Petr Viktorin
Petr Viktorin added the comment: Thank you all! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37879] Segfaults in C heap type subclasses

2019-10-08 Thread Petr Viktorin
Petr Viktorin added the comment: Thanks to Stéphane and Eddie for fixing the refleak! -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue22742] IDLE shows traceback when printing non-BMP character

2019-10-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And with PR 16583 it is now completely fixed. I.e. it can only fail in cases when the regular interactive interpreter fails too. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___

[issue36698] Shell restart when error message contains non-BMP characters

2019-10-08 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38401] Make dataclass attribute docstrings accessible

2019-10-08 Thread Eric V. Smith
Eric V. Smith added the comment: Note that those strings are not docstrings, per se. They're just strings, and aren't available in the class definition for the dataclass decorator to see. It's really no different from: class X: x: int 3 That 3 just gets evaluated and thrown away,

[issue36698] Shell restart when error message contains non-BMP characters

2019-10-08 Thread miss-islington
miss-islington added the comment: New changeset 4f962ecfa1aadc45facc250841208f6dd2ce690f by Miss Islington (bot) in branch '3.7': bpo-36698: IDLE no longer fails when write non-encodable characters to stderr. (GH-16583)

[issue16623] argparse help formatter does not honor non-breaking space

2019-10-08 Thread hai shi
hai shi added the comment: oh, typo error. the help_lines' width in python2.7 is different python3.-->the help_lines' width in python2.7 is different with python3.x -- ___ Python tracker

  1   2   >