[issue26617] Assertion failed in gc with __del__ and weakref

2016-03-23 Thread Xiang Zhang
Changes by Xiang Zhang : -- nosy: +xiang.zhang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue26617] Assertion failed in gc with __del__ and weakref

2016-03-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +fdrake, haypo, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-23 Thread Eric Khoo Jiun Hooi
Eric Khoo Jiun Hooi added the comment: @Terry, I am also a GSOC 2016 participant. I would also like to work on this project. I had spent a few days to learn the tkinter library and finally finish some code for this project. Hope you can help to review it and giving some feedback. As for the vi

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-23 Thread Eric Khoo Jiun Hooi
Changes by Eric Khoo Jiun Hooi : Added file: http://bugs.python.org/file42253/prototype_design.png ___ Python tracker ___ ___ Python-bugs-list

[issue10894] Making stdlib APIs private

2016-03-23 Thread SilentGhost
Changes by SilentGhost : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue26617] Assertion failed in gc with __del__ and weakref

2016-03-23 Thread STINNER Victor
STINNER Victor added the comment: Oh, I confirm that the bug occurs on Python 3.5.1+ (3.5 branch) and Python 3.6 (default branch). Call stack: _Py_Dealloc() => subtype_dealloc() => PyObject_ClearWeakRefs() => handle_callback() of weakref => ... => gc_collect => ... => assertion error Full gdb

[issue26617] Assertion failed in gc with __del__ and weakref

2016-03-23 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue26612] test_ssl: use context manager (with) to fix ResourceWarning

2016-03-23 Thread STINNER Victor
STINNER Victor added the comment: Martin Panter added the comment: > Wouldn’t it be better to fix the underlying problem with the test cases? I don't feel able to fix AIX issues, and I don't think that we can fix all issues. You still get ResourceWarning if you interrupt the test with CTRL+c whi

[issue13285] signal module ignores external signal changes

2016-03-23 Thread STINNER Victor
STINNER Victor added the comment: If anyone wants to work on this issue, I suggest to requalify it as a documentation issue. Just explain the behaviour and don't try to implement complex workaround. -- ___ Python tracker

[issue26588] _tracemalloc: add support for multiple address spaces (domains)

2016-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset dd887518b569 by Victor Stinner in branch 'default': Issue #26588: Optimize tracemalloc_realloc() https://hg.python.org/cpython/rev/dd887518b569 -- ___ Python tracker _

[issue26588] _tracemalloc: add support for multiple address spaces (domains)

2016-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0e0a464faffb by Victor Stinner in branch 'default': Issue #26588: https://hg.python.org/cpython/rev/0e0a464faffb New changeset 14a552645c30 by Victor Stinner in branch 'default': Issue #26588: https://hg.python.org/cpython/rev/14a552645c30

[issue10908] Improvements to trace._Ignore

2016-03-23 Thread SilentGhost
Changes by SilentGhost : -- dependencies: -trace module compares directories as strings (--ignore-dir) resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue26588] _tracemalloc: add support for multiple address spaces (domains)

2016-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 922b632808ac by Victor Stinner in branch 'default': Cleanup hashtable.h https://hg.python.org/cpython/rev/922b632808ac -- ___ Python tracker __

[issue25805] Failure in test_pkgutil run from command-line

2016-03-23 Thread SilentGhost
SilentGhost added the comment: Upon further investigation it seems this particular test needs to be just skipped when running as __main__. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file42255/issue25805.diff ___ Py

[issue23886] faulthandler_user should use _PyThreadState_Current

2016-03-23 Thread STINNER Victor
STINNER Victor added the comment: faulthandler was enhanced in Python 3.6: * Issue #26563: faulthandler now works in non-Python threads. * Issue #26154: Issue #26154: Add a new private _PyThreadState_UncheckedGet() function which gets the current thread state, but don't call Py_FatalError() if

[issue23886] faulthandler_user should use _PyThreadState_Current

2016-03-23 Thread Albert Zeyer
Albert Zeyer added the comment: PyGILState_GetThisThreadState might not be the same Python thread as _PyThreadState_Current, even in the case that both are not NULL. That is because SIGUSR1/2 will get delivered to any running thread. In the output by faulthandler, I want that it marks the curr

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2016-03-23 Thread Gerhard Häring
Gerhard Häring added the comment: Isn't this issue at least partly about the statement parsing code in the sqlite module? I've fixed this upstream a while ago in https://github.com/ghaering/pysqlite/commit/94eae5002967a51782f36ce9b7b81bba5b4379db Could somebody perhaps bring this to the Pytho

[issue23848] faulthandler: setup an exception handler on Windows

2016-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset b2f7bb63377b by Victor Stinner in branch 'default': Issue #23848: Expose _Py_DumpHexadecimal() https://hg.python.org/cpython/rev/b2f7bb63377b New changeset b114dbbe2d31 by Victor Stinner in branch 'default': faulthandler: add Windows exception handl

[issue24887] Sqlite3 has no option to provide open flags

2016-03-23 Thread Berker Peksag
Changes by Berker Peksag : -- dependencies: +Migrate sqlite3 module to _v2 API to enhance performance stage: -> needs patch type: -> enhancement ___ Python tracker ___

[issue26618] _overlapped extension module of asyncio uses deprecated WSAStringToAddressA() function

2016-03-23 Thread STINNER Victor
New submission from STINNER Victor: The code should be updated to use WSAStringToAddressW(). https://msdn.microsoft.com/en-us/library/windows/desktop/ms742214%28v=vs.85%29.aspx Compilation warnings: 20>..\Modules\overlapped.c(980): warning C4996: 'WSAStringToAddressA': Use WSAStringToAddr

[issue26619] 3.5.1 install fails on Windows Server 2008 R2 64-bit

2016-03-23 Thread Steve Morris
New submission from Steve Morris: Setup fails with "Windows 7 Service Pack 1 required" -- components: Installation files: Python 3.5.1 (64-bit)_20160323125008.log messages: 262257 nosy: sdmorris priority: normal severity: normal status: open title: 3.5.1 install fails on Windows Server 2

[issue26620] Fix ResourceWarning warnings in test_urllib2_localnet

2016-03-23 Thread STINNER Victor
New submission from STINNER Victor: Attached patch fixes 3 ResourceWarning warnings in Lib/test/test_urllib2_localnet.py. See also issue #26612 (test_ssl). Example of warning logged by "./python -X tracemalloc=25 -m test -v test_urllib2_localnet ": --- /home/haypo/prog/python/default/Lib/tes

[issue26620] Fix ResourceWarning warnings in test_urllib2_localnet

2016-03-23 Thread STINNER Victor
Changes by STINNER Victor : -- keywords: +patch Added file: http://bugs.python.org/file42257/test_urllib2_localnet.patch ___ Python tracker ___ __

[issue26619] 3.5.1 install fails on Windows Server 2008 R2 64-bit

2016-03-23 Thread SilentGhost
Changes by SilentGhost : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___ Pyth

[issue26391] Specialized sub-classes of Generic never call __init__

2016-03-23 Thread SilentGhost
Changes by SilentGhost : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue26619] 3.5.1 install fails on Windows Server 2008 R2 64-bit

2016-03-23 Thread Steve Morris
Steve Morris added the comment: I just tried the 3.4.4 installer (Windows x86-64 MSI) and it works correctly -- ___ Python tracker ___ ___

[issue26621] test_decimal fails with libmpdecimal 2.4.2

2016-03-23 Thread Matthias Klose
New submission from Matthias Klose: test_decimal fails with libmpdecimal 2.4.2 that's because Lib/_pydecimal.py hardcodes __libmpdec_version__ = "2.4.1" # compatible libmpdec version -- components: Extension Modules messages: 262260 nosy: doko, skrah priority: normal severity: normal s

[issue26619] 3.5.1 install fails on Windows Server 2008 R2 64-bit

2016-03-23 Thread Steve Dower
Steve Dower added the comment: Apparently the version detection needs to be changed, and I'll need to figure out what the WS prerequisites are for installing the UCRT update. It's entirely possible that there's an update you genuinely need to install 3.5, as there would be on a Windows client

[issue26613] Descriptor HowTo Guide - Typo

2016-03-23 Thread Stubz
Stubz added the comment: Thanx mate, I am sorted ... Q tho ... It turns out my issue was with the class Dict and what I called a typo in the call to dict.fromkeys ... In order to make it 'go', I had to use the lower case letter, how is that not a typo ¿ The part that hung me up was the nami

[issue26622] test_winreg now logs "Windows exception: code 0x06ba" on Python 3.6

2016-03-23 Thread STINNER Victor
New submission from STINNER Victor: The issue #23848 (change b114dbbe2d31) enhanced the faulthandler module to log Windows exceptions with the Python traceback. It uses AddVectoredExceptionHandler(1, callback) to register the callback. Problem: test_winreg now logs a lot of "Windows exception:

[issue26622] test_winreg now logs "Windows exception: code 0x06ba" on Python 3.6

2016-03-23 Thread STINNER Victor
STINNER Victor added the comment: Ah, it looks like an exception contains flag, especially the EXCEPTION_NONCONTINUABLE flag. Maybe we can use this one to decide if we must log or not the exception? By the way, is it better to log the exception code as hexadecimal (0x06ba) or decimal (1722)?

[issue26622] test_winreg now logs "Windows exception: code 0x06ba" on Python 3.6

2016-03-23 Thread STINNER Victor
STINNER Victor added the comment: Ok, I added a check on the EXCEPTION_NONCONTINUABLE flag. test_winreg doesn't log exceptions anymore, but test_faulthandler still pass. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue23848] faulthandler: setup an exception handler on Windows

2016-03-23 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2016-03-23 Thread mike bayer
mike bayer added the comment: @Rian - implicit transactions are part of the DBAPI spec. Looking at the original description, the purpose of this bug is to not *end* the transaction when DDL is received. So there's no solution for "database is locked" here, other than pysqlite's usual behavio

[issue26622] test_winreg now logs "Windows exception: code 0x06ba" on Python 3.6

2016-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset efcc48cd5bfb by Victor Stinner in branch 'default': faulthandler: only log fatal exceptions https://hg.python.org/cpython/rev/efcc48cd5bfb -- nosy: +python-dev ___ Python tracker

[issue23848] faulthandler: setup an exception handler on Windows

2016-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset efcc48cd5bfb by Victor Stinner in branch 'default': faulthandler: only log fatal exceptions https://hg.python.org/cpython/rev/efcc48cd5bfb -- ___ Python tracker __

[issue23848] faulthandler: setup an exception handler on Windows

2016-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset e6f00778d61f by Victor Stinner in branch 'default': Issue #23848: Try to fix test_faulthandler on ARM https://hg.python.org/cpython/rev/e6f00778d61f -- ___ Python tracker

[issue23848] faulthandler: setup an exception handler on Windows

2016-03-23 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue23848] faulthandler: setup an exception handler on Windows

2016-03-23 Thread STINNER Victor
STINNER Victor added the comment: The change b114dbbe2d31 introduced a regression on the ARM buildbot. I hope that it's fixed by the change e6f00778d61f. http://buildbot.python.org/all/builders/ARMv7%20Ubuntu%203.x/builds/3800/steps/test/logs/stdio 1:06:35 [400/400/1] test_faulthandler Timeout

[issue23848] faulthandler: setup an exception handler on Windows

2016-03-23 Thread STINNER Victor
STINNER Victor added the comment: Pass succeeded again on ARM, I close the issue. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue26623] JSON encode: more informative error

2016-03-23 Thread Mahmoud Lababidi
New submission from Mahmoud Lababidi: The json.dumps()/encode functionality will raise an Error when an object that cannot be json-encoded is encountered. The current Error message only shows the Object itself. I would like to enhance the error message by also providing the Type. This is usefu

[issue9694] argparse required arguments displayed under "optional arguments"

2016-03-23 Thread Shahar Golan
Shahar Golan added the comment: This is not just a section issue. Please note that using the ArgumentDefaultHelpFormatter: argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultHelpFormatter) The help will also show (default=None) for these required arguments. -- component

[issue26623] JSON encode: more informative error

2016-03-23 Thread SilentGhost
Changes by SilentGhost : -- nosy: +ezio.melotti, pitrou, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue26623] JSON encode: more informative error

2016-03-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it is better to remove the representation of the object at all. It can be too long and less informative that the type of the object. -- nosy: +serhiy.storchaka ___ Python tracker

[issue26623] JSON encode: more informative error

2016-03-23 Thread Mahmoud Lababidi
Changes by Mahmoud Lababidi : -- keywords: +patch Added file: http://bugs.python.org/file42258/json_encode.patch ___ Python tracker ___ __

[issue26525] Documentation of ord(c) easy to misread

2016-03-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Reversed to ord() function chr() still uses 'ν' as an example. I think both functions should use the same example. -- status: closed -> open ___ Python tracker _

[issue26624] Windows hangs in call to CRT setlocale()

2016-03-23 Thread Jeremy Kloth
New submission from Jeremy Kloth: My Windows BuildBot (http://buildbot.python.org/all/buildslaves/kloth-win64) is hanging in calls to the CRT function setlocale() as determined by attaching to the hung test process in Visual Studio. This has been happening occasionally (every tenth+ build) for

[issue26624] Windows hangs in call to CRT setlocale()

2016-03-23 Thread Steve Dower
Steve Dower added the comment: Have you actually seen this occurring back to 3.3? I'd expect something like this to either be pre-3.5 or post-3.5, but not both. -- ___ Python tracker __

[issue26624] Windows hangs in call to CRT setlocale()

2016-03-23 Thread Jeremy Kloth
Jeremy Kloth added the comment: Oh, yes. It even occasionally happens on 2.7. The oldest occurrence I can dig up is May/June of 2013 (for 2.7). -- ___ Python tracker ___

[issue26624] Windows hangs in call to CRT setlocale()

2016-03-23 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue26624] Windows hangs in call to CRT setlocale()

2016-03-23 Thread STINNER Victor
STINNER Victor added the comment: The bug occurs in test_strptime and test__locale according to Jeremy. > - Tests run using '-j4' With this option, each test file is run in a new fresh process, so it's more likely a race condition which depends on the system load (on exact timing) than the in

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2016-03-23 Thread Rian Hunter
Rian Hunter added the comment: @mike Yes you're right, This bug report is different, my mistake. DB-API may require implicit transactions but pysqlite should open a transaction before *any* non-DDL statement, including "SELECT", not just DML statements. Currently one must issue a dummy DML sta

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2016-03-23 Thread mike bayer
mike bayer added the comment: @rian - your issue for this is http://bugs.python.org/issue9924. The implicit BEGIN in all cases will probably never be the default but we do need an option for this to be the case, in order to support SERIALIZABLE isolation. -- _

[issue26625] SELECT-initiated transactions can cause "database is locked" in sqlite

2016-03-23 Thread Rian Hunter
New submission from Rian Hunter: When a transaction starts with a SELECT statement this can invoke a "database is locked" error if the SELECT statement is not exhausted or explicitly closed. This can lead to subtle "database is locked" bugs, even when a large timeout is set on the connection.

[issue26625] SELECT-initiated transactions can cause "database is locked" in sqlite

2016-03-23 Thread Rian Hunter
Rian Hunter added the comment: duplicate of #9924 -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___ Pytho

[issue9924] sqlite3 SELECT does not BEGIN a transaction, but should according to spec

2016-03-23 Thread Rian Hunter
Changes by Rian Hunter : -- versions: +Python 3.2, Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue9924] sqlite3 SELECT does not BEGIN a transaction, but should according to spec

2016-03-23 Thread Rian Hunter
Rian Hunter added the comment: This bug can also lead to subtle and unintuitive "database is locked" bugs, even when a large timeout is set on the connection. Many, many people are affected by this bug (search the web for "python sqlite database is locked"). I've attached code that demonstrate

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2016-03-23 Thread Rian Hunter
Changes by Rian Hunter : -- nosy: -rhunter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue26624] Windows hangs in call to CRT setlocale()

2016-03-23 Thread STINNER Victor
STINNER Victor added the comment: Random links from Google: * http://stackoverflow.com/questions/35572792/setlocale-stuck-on-windows "Sometimes it works but sometimes it never returns from it. I can not identify the reason. I use Visual Studio 2015 and Windows 7." * https://bugs.chromium.org/

[issue23551] IDLE to provide menu link to PIP gui.

2016-03-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Upendra and Eric: I look through and successfully ran both your files as they are, without change. You both show a basic ability to write a simple tkinter app. Upendra's is more complete as a demo because a) it has two tabs that I can switch between, even th

[issue26624] Windows hangs in call to CRT setlocale()

2016-03-23 Thread Jeremy Kloth
Jeremy Kloth added the comment: >From the UCRT sources: // Deadlock Avoidance: When a new thread is created in the process, we // create a new PTD for the thread. The PTD initialization function is // called under the loader lock. This initialization function will also // acqu

[issue26626] test_dbm_gnu

2016-03-23 Thread ink
New submission from ink: Hello, I was running post-build tests after building 3.5.1 when test_dbm_gnu hanged on an error. The same happens with 3.4.4 so it's not version relevant. Furthermore, this happens on an NFS mounted storage but not on our Lustre volume. Most of the time it just hangs o

[issue26625] SELECT-initiated transactions can cause "database is locked" in sqlite

2016-03-23 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> resolved superseder: -> sqlite3 SELECT does not BEGIN a transaction, but should according to spec ___ Python tracker ___ __

[issue23848] faulthandler: setup an exception handler on Windows

2016-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3247f8df5514 by Victor Stinner in branch 'default': Issue #23848: Fix usage of _Py_DumpDecimal() https://hg.python.org/cpython/rev/3247f8df5514 -- ___ Python tracker _

[issue26525] Documentation of ord(c) easy to misread

2016-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset f3bd94c57cd8 by Terry Jan Reedy in branch '3.5': Issue #26525: Change chr example to match change in ord example. https://hg.python.org/cpython/rev/f3bd94c57cd8 -- ___ Python tracker

[issue26525] Documentation of ord(c) easy to misread

2016-03-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Agreed. Good catch. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue18787] Misleading error from getspnam function of spwd module

2016-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 430af393d8f1 by Victor Stinner in branch 'default': Try to fix test_spwd on OpenIndiana https://hg.python.org/cpython/rev/430af393d8f1 -- ___ Python tracker __

[issue26627] IDLE incorrectly labeling error as internal

2016-03-23 Thread Tadhg McDonald-Jensen
New submission from Tadhg McDonald-Jensen: (I apologize if I'm doing something wrong) When using a file named run.py in idle, any errors raised from the module makes IDLE show a traceback like this: Traceback (most recent call last): ** IDLE Internal Exception: File "/Library/Frameworks/Py

[issue24266] raw_input + readline: Ctrl+C during search breaks readline

2016-03-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Martin. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue26627] IDLE incorrectly labeling error as internal

2016-03-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +kbk, roger.serwy, terry.reedy versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-lis

[issue26616] A bug in datetime.astimezone() method

2016-03-23 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: -> belopolsky keywords: +patch nosy: +haypo, tim.peters stage: needs patch -> patch review Added file: http://bugs.python.org/file42262/issue26616.diff ___ Python tracker

[issue26616] A bug in datetime.astimezone() method

2016-03-23 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This bug affects versions starting at 3.3. Can someone advise to what versions the patch should be applied? -- versions: +Python 3.3, Python 3.4 ___ Python tracker

[issue26616] A bug in datetime.astimezone() method

2016-03-23 Thread Berker Peksag
Berker Peksag added the comment: 3.3 and 3.4 are in security-fix-only mode: https://docs.python.org/devguide/devcycle.html#summary So this can be fixed in 3.5 and default branches. -- nosy: +berker.peksag ___ Python tracker

[issue25824] 32-bit 2.7.11 installer creates registry keys that are incompatible with the installed python27.dll

2016-03-23 Thread Zbynek Winkler
Changes by Zbynek Winkler : -- nosy: +Zbynek.Winkler ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue9694] argparse required arguments displayed under "optional arguments"

2016-03-23 Thread paul j3
paul j3 added the comment: This ArgumentDefaultHelpFormatter issue should probably be raised in its own issue. It applies to 'required' optionals, but any patch would be independent of the issues discussed here. This class defines a method that adds the '%(default)' string to the help in cer

[issue26591] datetime datetime.time to datetime.time comparison does nothing

2016-03-23 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue25729] update pure python datetime.timedelta creation

2016-03-23 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: -> belopolsky stage: patch review -> commit review ___ Python tracker ___ ___ Python-b

[issue26621] test_decimal fails with libmpdecimal 2.4.2

2016-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 24c8bb9421f4 by Stefan Krah in branch 'default': Issue #26621: Update libmpdec version and remove unnecessary test case. https://hg.python.org/cpython/rev/24c8bb9421f4 -- nosy: +python-dev ___ Python trac

[issue26621] test_decimal fails with libmpdecimal 2.4.2

2016-03-23 Thread Stefan Krah
Stefan Krah added the comment: Thanks, the test was not needed: It was more of a reminder to sync the version numbers. -- ___ Python tracker ___

[issue26621] test_decimal fails with libmpdecimal 2.4.2

2016-03-23 Thread Stefan Krah
Changes by Stefan Krah : -- assignee: -> skrah resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___ ___

[issue26621] test_decimal fails with libmpdecimal 2.4.2

2016-03-23 Thread Stefan Krah
Stefan Krah added the comment: I did: Somehow roundup failed to catch it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue26621] test_decimal fails with libmpdecimal 2.4.2

2016-03-23 Thread Matthias Klose
Matthias Klose added the comment: please apply this to the 3.5 branch as well -- status: closed -> open ___ Python tracker ___ ___ Pyt

[issue18787] Misleading error from getspnam function of spwd module

2016-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset c1677c8f92e1 by Victor Stinner in branch 'default': Fix test_spwd on OpenIndiana https://hg.python.org/cpython/rev/c1677c8f92e1 -- ___ Python tracker _

[issue26621] test_decimal fails with libmpdecimal 2.4.2

2016-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ec98f352053 by Stefan Krah in branch '3.5': Issue #26621: Remove unnecessary test. https://hg.python.org/cpython/rev/3ec98f352053 -- ___ Python tracker __

[issue26621] test_decimal fails with libmpdecimal 2.4.2

2016-03-23 Thread Stefan Krah
Stefan Krah added the comment: The roundup timeline is a lie. :) I pushed the 3.5 patch shortly after the 3.6 one and well before msg262302. -- ___ Python tracker ___ _

[issue26621] test_decimal fails with libmpdecimal 2.4.2

2016-03-23 Thread Stefan Krah
Changes by Stefan Krah : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20012] Re: Allow Path.relative_to() to accept non-ancestor paths

2016-03-23 Thread Antony Lee
Antony Lee added the comment: Kindly bumping the issue. I'd suggest overriding `PurePath.relative_to` in the `Path` class, to something like `PurePath.relative_to(self, other, *, allow_ancestor=False): ...`, which would resolve each ancestor of `self` successively to check whether it is also a

[issue26391] Specialized sub-classes of Generic never call __init__

2016-03-23 Thread Guido van Rossum
Guido van Rossum added the comment: You've hit a type where PEP 484 and mypy disagree. The PEP shows a few examples of this: https://www.python.org/dev/peps/pep-0484/#instantiating-generic-classes-and-type-erasure However when I feed the examples from the PEP to mypy I get an error on each of

[issue26626] test_dbm_gnu

2016-03-23 Thread SilentGhost
Changes by SilentGhost : -- nosy: +georg.brandl versions: -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue26628] Segfault in cffi with ctypes.union argument

2016-03-23 Thread Thomas
New submission from Thomas: Passing ctypes.Union types as arguments crashes python. Attached is a minimal example to reproduce. Due to undefined behavior, you may have to increase the union _fields_ to reproduce. I tested with 3.5.1 and 2.7.11. It seems that cffi treats the union as a normal

[issue26629] Need an ability to build standard DLLs with distutils

2016-03-23 Thread Buraddin Ibn-Karlo
New submission from Buraddin Ibn-Karlo: I want to make a a dynamic library to run its function with ctypes. Also I want to build the library from sources with distutils (the C++ sources are distributed with my Python code). But alas! Our distutils fails, if the library doesn't have initializat

[issue26628] Segfault in cffi with ctypes.union argument

2016-03-23 Thread SilentGhost
Changes by SilentGhost : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue26588] _tracemalloc: add support for multiple address spaces (domains)

2016-03-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 06552275fa30 by Victor Stinner in branch 'default': _tracemalloc: use compact key for traces https://hg.python.org/cpython/rev/06552275fa30 -- ___ Python tracker _

[issue26628] Segfault in cffi with ctypes.union argument

2016-03-23 Thread Thomas
Thomas added the comment: Note [http://www.atmark-techno.com/~yashi/libffi.html] > Although ‘libffi’ has no special support for unions or bit-fields, it is > perfectly happy passing structures back and forth. You must first describe > the structure to ‘libffi’ by creating a new ffi_type object

[issue26602] argparse doc introduction is inappropriately targeted

2016-03-23 Thread paul j3
paul j3 added the comment: By text and location the sidebar does not apply specifically to this example. It applies to the whole page, 'This page contains the API reference information.' Documentation for argparse is indeed a problem - both because of its complexity and how it is used. Many

[issue26630] Windows EXE extension installers not finding 32bit Python 3.5 installation

2016-03-23 Thread Jason Erickson
New submission from Jason Erickson: On both 64 and 32 bit Windows OSes, the 32bit version of Python 3.5 is unable to install extensions created with the command: setup.py bdist_wininst To reproduce, install the 32bit version of Python 3.5 and run the .exe installation for an extension, such a

[issue26631] Unable to install Python 3.5.1 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2016-03-23 Thread J Osell
New submission from J Osell: Unable to install Python 3.5.1 on Windows 10 - Error 0x80070643: Failed to install MSI package. -- components: Installation files: Python 3.5.1 (64-bit)_20160323181333.log messages: 262313 nosy: oselljr priority: normal severity: normal status: open title: U

[issue22401] argparse: 'resolve' conflict handler damages the actions of the parent parser

2016-03-23 Thread Jared Deckard
Jared Deckard added the comment: This behavior is preventing me from using more than one parent parser. My use case is a convenience subcommand that performs two existing subcommands, therefore logically its subparser is required to support the arguments of both subparsers. The only conflict

[issue9694] argparse required arguments displayed under "optional arguments"

2016-03-23 Thread Martin Panter
Martin Panter added the comment: Still applicable to Python 3 AFAIK -- versions: +Python 3.5, Python 3.6 ___ Python tracker ___ ___ Pyt

[issue26620] Fix ResourceWarning warnings in test_urllib2_localnet

2016-03-23 Thread Martin Panter
Martin Panter added the comment: This patch looks okay to me. I left one review suggestion. Focussing on test_sending_headers(), the ResourceWarning seems to be only shown since revision 46329eec5515 (Issue 26590). In simpler cases, the warning would be bypassed due to Issue 19829. But in this

  1   2   >