[issue36502] The behavior of str.isspace() for U+00A0 and U+202F is different from what is documented

2019-04-02 Thread SilentGhost
SilentGhost added the comment: I think you have to read that "and" as "or". It's sufficient that '\u202f' is a separator for it to be considered a whitespace character. -- nosy: +SilentGhost ___ Python tracker

[issue36260] Cpython/Lib vulnerability found and request a patch submission

2019-04-02 Thread JUN-WEI SONG
JUN-WEI SONG added the comment: Hello Python community, With Christian Heimes’ suggestion, we manipulate appropriate warning to inform users that they may encounter zip bomb issues when using the zipfile module. The warning we would like to add in the zipfile documentation is shown below :

[issue27181] Add geometric mean to `statistics` module

2019-04-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Steven, how does this look? https://patch-diff.githubusercontent.com/raw/python/cpython/pull/12638.diff -- ___ Python tracker ___

[issue13120] Default nosigint option to pdb.Pdb() prevents use in non-main thread

2019-04-02 Thread miss-islington
miss-islington added the comment: New changeset 5ca4fe04784fa278c319a3764c9a755f49cc0944 by Miss Islington (bot) in branch '3.7': bpo-13120: fix typo with test_issue13120() method name (GH-12250) https://github.com/python/cpython/commit/5ca4fe04784fa278c319a3764c9a755f49cc0944 --

[issue36473] dictkeysobject: Add maximum iteration check for .values() and .items()

2019-04-02 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36210] correct AIX logic in setup.py for (non-existant) optional extensions

2019-04-02 Thread Michael Felt
Change by Michael Felt : -- title: correct AIX logic in setup.py for non-existant optional extensions -> correct AIX logic in setup.py for (non-existant) optional extensions ___ Python tracker

[issue36499] unpickling of a datetime object in 3.5 fails when pickled with 2.7

2019-04-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to have been fixed with 8452ca15f41061c8a6297d7956df22ab476d4df4. I checked out your example locally and renamed pickle.py to another name to avoid module collision. Ran the below commands to pickle using Python 2 and to unpickle from

[issue35838] ConfigParser calls optionxform twice when assigning dict

2019-04-02 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +12585 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36503] remove references to aix3 and aix4 in \*.py

2019-04-02 Thread Michael Felt
New submission from Michael Felt : sys.platform returns "aix[3|4|4|5|6|7" AIX 3 and AIX 4 are no longer around, in any supported form, so references to these specific releases is pointless. This will remove the (two) places where they are still referenced. -- components: Build,

[issue34677] Event scheduler page example

2019-04-02 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +12588 stage: -> patch review ___ Python tracker ___ ___

[issue36502] The behavior of str.isspace() for U+00A0 and U+202F is different from what is documented

2019-04-02 Thread Jun
New submission from Jun : I was looking for a list of Unicode codepoints that str.isspace() returns true. According to https://docs.python.org/3/library/stdtypes.html#str.isspace, it's "Whitespace characters are those characters defined in the Unicode character database as “Other” or

[issue36503] remove references to aix3 and aix4 in \*.py

2019-04-02 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +12587 stage: -> patch review ___ Python tracker ___ ___

[issue35838] ConfigParser: document optionxform must be idempotent

2019-04-02 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: ConfigParser calls optionxform twice when assigning dict -> ConfigParser: document optionxform must be idempotent ___ Python tracker

[issue36502] The behavior of str.isspace() for U+00A0 and U+202F is different from what is documented

2019-04-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35838] ConfigParser calls optionxform twice when assigning dict

2019-04-02 Thread miss-islington
miss-islington added the comment: New changeset 9a838c593f6ada69a37025d7ded8ac822816a74c by Miss Islington (bot) in branch '3.7': bpo-35838: document optionxform must be idempotent (GH-12656) https://github.com/python/cpython/commit/9a838c593f6ada69a37025d7ded8ac822816a74c -- nosy:

[issue36473] dictkeysobject: Add maximum iteration check for .values() and .items()

2019-04-02 Thread Inada Naoki
Inada Naoki added the comment: New changeset b8311cf5e5d72f8a8aa688b7da1760d6a74a4d72 by Inada Naoki (Thomas Perl) in branch 'master': bpo-36473: add maximum iteration check for dict .values() and .items() (GH-12619)

[issue35838] ConfigParser calls optionxform twice when assigning dict

2019-04-02 Thread Inada Naoki
Inada Naoki added the comment: New changeset 04694a306b8f4ab54ef5fc4ba673c26fa53b0ac1 by Inada Naoki in branch 'master': bpo-35838: document optionxform must be idempotent (GH-12656) https://github.com/python/cpython/commit/04694a306b8f4ab54ef5fc4ba673c26fa53b0ac1 --

[issue35838] ConfigParser calls optionxform twice when assigning dict

2019-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +12586 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36504] Signed integer overflow in _ctypes.c's PyCArrayType_new()

2019-04-02 Thread SilentGhost
Change by SilentGhost : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36260] Cpython/Lib vulnerability found and request a patch submission

2019-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I am against such trivial methods in ZipFile. Its interface is already complicate. The advantage of Python is that you do not need tons of methods for every possible query -- you can just combine few Python features into a one-line expression. As for the

[issue36504] Signed integer overflow in _ctypes.c's PyCArrayType_new()

2019-04-02 Thread Zackery Spytz
New submission from Zackery Spytz : Signed integer overflow can occur in the overflow check in PyCArrayType_new() if "itemsize" is large enough. -- components: Extension Modules, ctypes messages: 339326 nosy: ZackerySpytz priority: normal severity: normal status: open title: Signed

[issue36499] unpickling of a datetime object in 3.5 fails when pickled with 2.7

2019-04-02 Thread Josh Rosenberg
Josh Rosenberg added the comment: As noted, this is fixed in 3.6+. 3.5 is in security fix only mode ( https://devguide.python.org/#status-of-python-branches ), which is why the fix for #22005 wasn't backported. -- nosy: +josh.r resolution: -> duplicate stage: -> resolved status:

[issue36504] Signed integer overflow in _ctypes.c's PyCArrayType_new()

2019-04-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 487b73ab39c80157474821ef9083f51e0846bd62 by Serhiy Storchaka (Zackery Spytz) in branch 'master': bpo-36504: Fix signed integer overflow in _ctypes.c's PyCArrayType_new(). (GH-12660)

[issue36504] Signed integer overflow in _ctypes.c's PyCArrayType_new()

2019-04-02 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12589 stage: -> patch review ___ Python tracker ___ ___

[issue34677] Event scheduler page example

2019-04-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: enter takes a relative time and priority is taken into consideration only when time is equal. So in the example enter(0.001, 2) is executed first and there is some delay in executing enter(0.001, 2). You can also view the queue with s.queue which

[issue36505] PYTHON-CAN with vector

2019-04-02 Thread SilentGhost
SilentGhost added the comment: Hi tejesh, this is a bug tracker for development of CPython. If you have a problem with your code I'd suggest trying StackOverflow or python-help mailing list. -- nosy: +SilentGhost resolution: -> not a bug stage: -> resolved status: open -> closed

[issue36502] The behavior of str.isspace() for U+00A0 and U+202F is different from what is documented

2019-04-02 Thread amazon kurodaju
amazon kurodaju added the comment: Do you mean read the statement as follows? Whitespace characters are characters that satisfy either one of: 1. Character type is "Other" 2. Character type is "Separator" 3. Characters with "WS", "B", or "S" bidirectional property If that's the case, this is

[issue36508] python-config --ldflags must not contain LINKFORSHARED

2019-04-02 Thread STINNER Victor
New submission from STINNER Victor : python-config --ldflags must not contain LINKFORSHARED. Attached PR modifies python-config --ldflags to no longer include LINKFORSHARED. This similar change was already made on macOS: see bpo-14197. -- Python build system uses a LINKFORSHARED variable,

[issue36506] [security] CVE-2019-10268: An arbitrary execution vulnerability exists in the built-in function getattr

2019-04-02 Thread STINNER Victor
Change by STINNER Victor : -- title: An arbitrary execution vulnerability exists in the built-in function getattr -> [security] CVE-2019-10268: An arbitrary execution vulnerability exists in the built-in function getattr ___ Python tracker

[issue36507] frozenset type breaks ZFC

2019-04-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: The code in the minimal example isn't creating nested frozensets. Instead, if is converting one frozenset into another (because frozenset takes an iterable as an argument). This is no different than list(list(list())) producing a single list rather

[issue36493] Add math.midpoint(a,b) function

2019-04-02 Thread Steven D'Aprano
Steven D'Aprano added the comment: I see this has been rejected for the math module, but I wonder whether it should be considered for Decimal? I recall Mark Dickinson demonstrating this lovely little bit of behaviour: py> from decimal import getcontext, Decimal py> getcontext().prec = 3 py>

[issue36508] python-config --ldflags must not contain LINKFORSHARED

2019-04-02 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +doko, ned.deily, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36507] frozenset type breaks ZFC

2019-04-02 Thread Steven D'Aprano
Steven D'Aprano added the comment: Python is a programming language, and we're probably not going to care too much about compliance with ZFC set theory unless there is good *practical* and not theoretical reason to care. That's not to say that we want to break ZFC, only that if we do so, we

[issue36507] frozenset type breaks ZFC

2019-04-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36508] python-config --ldflags must not contain LINKFORSHARED ("-Xlinker -export-dynamic" on Linux)

2019-04-02 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-10112: "Use -Wl,--dynamic-list=x.list, not -Xlinker -export-dynamic". -- ___ Python tracker ___

[issue36508] python-config --ldflags must not contain LINKFORSHARED ("-Xlinker -export-dynamic" on Linux)

2019-04-02 Thread STINNER Victor
Change by STINNER Victor : -- title: python-config --ldflags must not contain LINKFORSHARED -> python-config --ldflags must not contain LINKFORSHARED ("-Xlinker -export-dynamic" on Linux) ___ Python tracker

[issue36508] python-config --ldflags must not contain LINKFORSHARED

2019-04-02 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12590 stage: -> patch review ___ Python tracker ___ ___

[issue36507] frozenset type breaks ZFC

2019-04-02 Thread Steven D'Aprano
Steven D'Aprano added the comment: (Aside: that's interesting, normally if I try to post a comment to an issue, and somebody else edits it in the meantime, the message doesn't get posted and I get a error message saying that the page has been edited. This time I did not.) --

[issue36505] PYTHON-CAN with vector

2019-04-02 Thread tejesh
New submission from tejesh : Hi team, I am trying to send CAN message from python I can able to send CAN message with the time period(Limited duration). But, I want to send particular number of times(example: I want to send only 2 CAN Messages). How can I send?? Can please help me to

[issue33261] inspect.isgeneratorfunction fails on hand-created methods

2019-04-02 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset fcef60f59d04c63b3540b4c4886226098c1bacd1 by Petr Viktorin (Jeroen Demeyer) in branch 'master': bpo-33261: guard access to __code__ attribute in inspect (GH-6448) https://github.com/python/cpython/commit/fcef60f59d04c63b3540b4c4886226098c1bacd1

[issue36506] An arbitrary execution vulnerability exists in the built-in function getattr

2019-04-02 Thread Christian Heimes
Change by Christian Heimes : -- components: +Interpreter Core -2to3 (2.x to 3.x conversion tool) ___ Python tracker ___ ___

[issue21269] Provide args and kwargs attributes on mock call objects

2019-04-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks @kakshay for the patch. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue35866] concurrent.futures deadlock

2019-04-02 Thread STINNER Victor
STINNER Victor added the comment: Any update on this issue? I don't understand why the example hangs. -- nosy: +vstinner ___ Python tracker ___

[issue36506] An arbitrary execution vulnerability exists in the built-in function getattr

2019-04-02 Thread bigbigliang
New submission from bigbigliang : Dear Python Community, We’ve found a bug in cpython Lib and already received a cve number (CVE-2019-10268).But to be honest, I'm not sure if it's a loophole. Please tell me what to do next. bigbigliang -- components: 2to3 (2.x to 3.x conversion

[issue36502] The behavior of str.isspace() for U+00A0 and U+202F is different from what is documented

2019-04-02 Thread SilentGhost
SilentGhost added the comment: According to comment for _PyUnicode_IsWhitespace it's supposed to include Zs category, plus documented BIDI properties. So, I'm not sure where "Other" came from. -- versions: +Python 3.7, Python 3.8 ___ Python

[issue36506] An arbitrary execution vulnerability exists in the built-in function getattr

2019-04-02 Thread Christian Heimes
Christian Heimes added the comment: Hi, this is a public bug tracker. Please don't report new security bugs here but follow the guidelines at https://www.python.org/news/security/. Also please don't acquire CVE numbers for issues yourself. The Python Security Response Team will request CVE

[issue32849] Fatal Python error: Py_Initialize: can't initialize sys standard streams

2019-04-02 Thread Владислав Ярмак
Владислав Ярмак added the comment: I have similar crash with Python 3.7.2 on Linux. Steps to reproduce: send sigint when Python initializes. I've built debug version of Python 3.7.2 and collected core dump: (gdb) thread apply all bt Thread 1 (Thread 0x7f8f5ee67e80 (LWP 13285)): #0

[issue36507] frozenset type breaks ZFC

2019-04-02 Thread George Shuklin
New submission from George Shuklin : ZFC (https://en.wikipedia.org/wiki/Zermelo%E2%80%93Fraenkel_set_theory) defines numbers as nested empty sets. 0 is {} 1 is {{}} 2 is {{{}}} Sets can not be nested in python (as they are mutable), so next best type is frozen set. Unfortunately, nested

[issue36506] An arbitrary execution vulnerability exists in the built-in function getattr

2019-04-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The security vulnerability disclosure process can be found at https://www.python.org/news/security/ . Please contact secur...@python.org. -- ___ Python tracker

[issue36508] python-config --ldflags must not contain LINKFORSHARED

2019-04-02 Thread STINNER Victor
STINNER Victor added the comment: I'm a little bit scared by the idea of backporting such change in Python 2.7 and 3.7 stable branches, even if I think that it's a correct bugfix. I'm scared by the number of platforms, I don't know all these linker flags and I am not able to test all

[issue32413] Document that locals() may return globals()

2019-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +12592 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36379] nb_inplace_pow is always called with an invalid argument

2019-04-02 Thread Josh Rosenberg
Josh Rosenberg added the comment: skrah: Is there any reason your patch, as written, wouldn't work? If you need a test case to verify, gmpy2's xmpz type supports in place pow (but requires the modulus to be None, since there is no normal way to pass it anyway), so you can just test:

[issue36487] Make C-API docs clear about what the "main" interpreter is

2019-04-02 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- components: +Documentation versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-04-02 Thread Paul Monson
Change by Paul Monson : -- pull_requests: +12593 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36364] errors in multiprocessing.shared_memory examples

2019-04-02 Thread Brett Cannon
Brett Cannon added the comment: @Davin is there an issue for that and thus this issue can then be closed? Or did you want to re-purpose this issue to track that? Either way I'm assigning the issue to you to let you decide which way you want to go. :) -- assignee: docs@python ->

[issue36510] Regular Expression Dot-Star patter matching - re- text skipping

2019-04-02 Thread DJR
New submission from DJR : #Python 3.7.2 Tk version 8.6.8 #IDLE version: 3.7.2 #Following code does not return ALL the partial matched patters within a string import re #_ #Normal Mode #_ atRegex = re.compile(r'...at') TextStr=(atRegex.findall(':at-at~at:

[issue32413] Document that locals() may return globals()

2019-04-02 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36512] future_factory argument for Thread/ProcessPoolExecutor

2019-04-02 Thread Stefan Hölzl
Change by Stefan Hölzl : -- keywords: +patch pull_requests: +12596 stage: -> patch review ___ Python tracker ___ ___

[issue36506] [security] CVE-2019-10268: An arbitrary execution vulnerability exists in the built-in function getattr

2019-04-02 Thread SilentGhost
SilentGhost added the comment: As another note, this seem to be a third "security" issue created in less then a week to the same template (others are 36260 and 36462). I hope it's some assignment due soon. -- nosy: +SilentGhost ___ Python tracker

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-04-02 Thread Jake Tesler
Jake Tesler added the comment: *bump* Could someone look into reviewing this bug/PR? Thanks! -- ___ Python tracker ___ ___

[issue36511] Add Windows ARM32 buildbot

2019-04-02 Thread Paul Monson
New submission from Paul Monson : Zachary Ware suggested I create an issue to discuss this: I've started a worker using the worker name monson-win-arm32 and the password provided. I think it is waiting for a change, there were no errors, but it didn't print anything. Also, I don’t see

[issue36511] Add Windows ARM32 buildbot

2019-04-02 Thread Paul Monson
Change by Paul Monson : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36158] Regex search behaves differently in list comprehension

2019-04-02 Thread Josh Rosenberg
Change by Josh Rosenberg : -- resolution: -> not a bug stage: -> resolved status: pending -> closed ___ Python tracker ___ ___

[issue36509] Add iot layout for windows iot containers

2019-04-02 Thread Paul Monson
New submission from Paul Monson : The layout should not contain tcl/tk, tkinter, distutils since ARM is cross-compiled and these features will not be useful on target ARM devices. -- components: Build, Windows messages: 339352 nosy: Paul Monson, paul.moore, steve.dower, tim.golden,

[issue36509] Add iot layout for windows iot containers

2019-04-02 Thread Paul Monson
Change by Paul Monson : -- keywords: +patch pull_requests: +12591 stage: -> patch review ___ Python tracker ___ ___

[issue35866] concurrent.futures deadlock

2019-04-02 Thread cagney
cagney added the comment: I've attached a variation on cf-deadlock.py that, should nothing happen for 2 minutes, will kill itself. Useful with git bisect. -- Added file: https://bugs.python.org/file48242/cf-deadlock-alarm.py ___ Python tracker

[issue36487] Make C-API docs clear about what the "main" interpreter is

2019-04-02 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +12594 stage: -> patch review ___ Python tracker ___ ___

[issue36475] PyEval_AcquireLock() and PyEval_AcquireThread() do not handle runtime finalization properly.

2019-04-02 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +12595 stage: test needed -> patch review ___ Python tracker ___

[issue36506] [security] CVE-2019-10268: An arbitrary execution vulnerability exists in the built-in function getattr

2019-04-02 Thread Josh Rosenberg
Josh Rosenberg added the comment: I'll note that, based on the title, I'm skeptical of the claim of a vulnerability. getattr is effectively *designed* to execute arbitrary code if called on an appropriate object (one where the class defines __getattribute__; defines __getattr__ without

[issue36510] Regular Expression Dot-Star patter matching - re- text skipping

2019-04-02 Thread SilentGhost
SilentGhost added the comment: re.findall returns non-overlapping matches (as is made clear in documentation). This is the behaviour you're observing. -- assignee: terry.reedy -> components: -IDLE, Library (Lib), Windows nosy: +SilentGhost resolution: -> not a bug stage: ->

[issue32413] Document that locals() may return globals()

2019-04-02 Thread miss-islington
miss-islington added the comment: New changeset ef516d11c1a0f885dba0aba8cf5366502077cdd4 by Miss Islington (bot) in branch '3.7': bpo-32413: Add documentation that at the module level, locals(), globals() are the same dictionary (GH-5004)

[issue20399] Comparison of memoryview

2019-04-02 Thread james stone
james stone added the comment: I encountered this issue as well when using python 3.6.7 and psycopg2. Postgres tries to sort rows by the primary key field and if the returned type is a memoryview an the error is thrown: "TypeError: '<' not supported between instances of 'memoryview' and

[issue36512] future_factory argument for Thread/ProcessPoolExecutor

2019-04-02 Thread Stefan Hölzl
New submission from Stefan Hölzl : adding a future_factory argument to Thread/ProcessPoolExecutor to control which type of Future should be created by Executor.submit -- components: Library (Lib) messages: 339364 nosy: stefanhoelzl priority: normal severity: normal status: open title:

[issue36485] Establish a uniform way to clear all caches in a given module

2019-04-02 Thread Brett Cannon
Brett Cannon added the comment: Did you mean importlib.reload() instead of sys.reload()? And technically it would *if* you're okay with the other side-effects of reloading, e.g. making sure no one has a reference to any objects from the module's namespace which won't change in-place (e.g.

[issue36513] Add support for building arm32 nuget package

2019-04-02 Thread Paul Monson
Change by Paul Monson : -- keywords: +patch pull_requests: +12597 stage: -> patch review ___ Python tracker ___ ___

[issue6721] Locks in the standard library should be sanitized on fork

2019-04-02 Thread cagney
cagney added the comment: I suspect 3b699932e5ac3e7 is causing a hang in libreswan's kvmrunner.py on Fedora. Looking at the Fedora RPMs: python3-3.7.0-9.fc29.x86_64 didn't contain the fix and worked python3-3.7.1-4.fc29.x86_64 reverted the fix (for anaconda) and worked

[issue36506] [security] CVE-2019-10268: An arbitrary execution vulnerability exists in the built-in function getattr

2019-04-02 Thread bigbigliang
bigbigliang added the comment: Yes, as you said. I think this problem can be closed. My initial idea was that if a user carefully constructs a vulnerability point, it may cause some danger, such as 'getattr(os,"system")("/bin/sh")'. So I have some ideas about whether it is necessary to filter

[issue36501] Remove POSIX.1e ACLs in tests that rely on default permissions behavior

2019-04-02 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: Seeing during PR composition how basically every mode check and every `test.support.temp_umask` use is broken by ACLs, I'm starting to doubt that fixing individual test cases is the way to go. Though we can simply not worry about supporting everything

[issue36475] PyEval_AcquireLock() and PyEval_AcquireThread() do not handle runtime finalization properly.

2019-04-02 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: @eric.snow , you can review the PR I submitted for this. -- nosy: +nanjekyejoannah ___ Python tracker ___

[issue36485] Establish a uniform way to clear all caches in a given module

2019-04-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Did you mean importlib.reload() instead of sys.reload()? Yes. > And technically it would *if* you're okay with the other > side-effects of reloading, If you want to go forward with this, go for it. I would like to be able to explain to another person

[issue36322] Argument typo in dbm.ndbm.open

2019-04-02 Thread Brett Cannon
Brett Cannon added the comment: So Terry is correct in so much as there is no parameter name. :) Both of the functions in question are positional-only, so the name actually doesn't matter beyond giving a way to reference the parameter in the documentation. So thanks for the PR, Marco, but

[issue6721] Locks in the standard library should be sanitized on fork

2019-04-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: We need a small test case that can reproduce your problem. I believe https://github.com/python/cpython/commit/3b699932e5ac3e76031bbb6d700fbea07492641d to be correct. acquiring locks before fork in the thread doing the forking and releasing them

[issue35866] concurrent.futures deadlock

2019-04-02 Thread cagney
cagney added the comment: I'm seeing cf-deadlock-alarm.py hangs on vanilla python 3.7.[0123] with: Linux 5.0.5-100.fc28.x86_64 #1 SMP Wed Mar 27 22:16:29 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux glibc-2.27-37.fc28.x86_64 can anyone reproduce this? I also wonder if this is connected to

[issue36513] Add support for building arm32 nuget package

2019-04-02 Thread Paul Monson
Change by Paul Monson : -- components: Build, Windows nosy: Paul Monson, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Add support for building arm32 nuget package type: enhancement versions: Python 3.8

[issue36322] Argument typo in dbm.ndbm.open

2019-04-02 Thread Brett Cannon
Brett Cannon added the comment: Actually, it's even more subtle as the arguments are positional-only. -- nosy: +brett.cannon ___ Python tracker ___

[issue32941] mmap should expose madvise()

2019-04-02 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31904] Python should support VxWorks RTOS

2019-04-02 Thread Yue Sun
Change by Yue Sun : -- pull_requests: +12598 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36440] more helpful diagnostics for parser module

2019-04-02 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +12599 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue32941] mmap should expose madvise()

2019-04-02 Thread Josh Rosenberg
Josh Rosenberg added the comment: It might be nice to expose a more limited API to prefetch memory in bulk while we're at it. Windows 8 and higher offers PrefetchVirtualMemory ( https://docs.microsoft.com/en-us/windows/desktop/api/memoryapi/nf-memoryapi-prefetchvirtualmemory ) which fills

[issue36501] Remove POSIX.1e ACLs in tests that rely on default permissions behavior

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

[issue36505] PYTHON-CAN with vector

2019-04-02 Thread tejesh
tejesh added the comment: THANKS for your response i have tried checking in Stackoverflow i did not get any help from the list Q's in Stackoverflow i sent out mail to python help also still i did not got any help i need help ASAP Thanks again -- status: closed -> open

[issue9883] minidom: AttributeError: DocumentFragment instance has no attribute 'writexml'

2019-04-02 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Updated target to Python 3.8, since this has aged a bit. -- versions: +Python 3.8 -Python 3.5 ___ Python tracker ___

[issue36440] more helpful diagnostics for parser module

2019-04-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset cb0748d3939c31168ab5d3b80e3677494497d5e3 by Pablo Galindo (tyomitch) in branch 'master': bpo-36440: include node names in ParserError messages, instead of numeric IDs (GH-12565)

[issue36515] unaligned memory access in the _sha3 extension

2019-04-02 Thread Matthias Klose
New submission from Matthias Klose : This was seen when running an armhf binary on a 64bit kernel. The problem is that the implementation uses unaligned memory accesses, and even is well aware of that. The module allows misaligned memory accesses by default. The NO_MISALIGNED_ACCESSES macro

[issue36514] -m switch revisited

2019-04-02 Thread Colin Dick
New submission from Colin Dick : -m switch revisited - see issue 27487 Win 10 64bit python 3.6.3 & 3.7.3 initially running code using py 3.6.3 with this command python -m vixsd.py produced C:\Python36\python.exe: Error while finding module specification for 'vixsd.py' (AttributeError: module

[issue36512] future_factory argument for Thread/ProcessPoolExecutor

2019-04-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +bquinlan, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue9883] minidom: AttributeError: DocumentFragment instance has no attribute 'writexml'

2019-04-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +scoder, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list