[issue26634] recursive_repr forgets to override __qualname__ of wrapper

2016-03-23 Thread Xiang Zhang
Xiang Zhang added the comment: Hi, Raymond, I've added the test to test the assigned attributes. I use WRAPPER_ASSIGNMENTS in functools so we can keep them consistent. I don't know how to get the original func from the already decorated methods in this case so I define a new container. If there

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

2016-03-23 Thread Eryk Sun
Changes by Eryk Sun : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> bdist_wininst created binaries fail to start and find 32bit Pythons _

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

2016-03-23 Thread Brian Guo
Brian Guo added the comment: >From the datetime documentation of astimezone(): https://docs.python.org/3.5/library/datetime.html#datetime.datetime.astimezone : 'If called without arguments (or with tz=None) the system local timezone is assumed. The tzinfo attribute of the converted datetime in

[issue26634] recursive_repr forgets to override __qualname__ of wrapper

2016-03-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, qualname was invented *after* recursive_repr, so it would be more accurate to say that qualname forgot recursive_repr :-) If you don't mind, please add a test to your patch. -- assignee: -> rhettinger nosy: +rhettinger __

[issue26634] recursive_repr forgets to override __qualname__ of wrapper

2016-03-23 Thread Xiang Zhang
New submission from Xiang Zhang: In reprlib.recursive_repr, it seems __qualname__ is forgotten. Giving the example in reprlib document, it gives a strange result 'recursive_repr..decorating_function..wrapper' of Mylist.__repr__.__qualname__. I simply add the assignment of __qualname__. But I

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

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

[issue26633] multiprocessing behavior combining daemon with non-daemon children inconsistent with threading

2016-03-23 Thread Josh Rosenberg
Josh Rosenberg added the comment: Oops, left the info log in my replacement code for the non-daemon case outside the if not daemon: block; it should be inside (since it's not joining the daemon threads). -- ___ Python tracker

[issue26633] multiprocessing behavior combining daemon with non-daemon children inconsistent with threading

2016-03-23 Thread Josh Rosenberg
New submission from Josh Rosenberg: Unclear if this is just unclear docs, or incorrect behavior. Per this Stack Overflow question ( https://stackoverflow.com/questions/36191447/why-doesnt-the-daemon-program-exit-without-join ), you get some rather odd behavior when you have both daemon and non

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

2016-03-23 Thread paul j3
paul j3 added the comment: I can see changing the group title from 'optional arguments' to 'options' or 'optionals' parser._optionals.title 'optional arguments' But I don't think there's a need to change references in the code or its comments from 'optionals' to 'options'. I like the

[issue26627] IDLE incorrectly labeling error as internal

2016-03-23 Thread Tadhg McDonald-Jensen
Tadhg McDonald-Jensen added the comment: other then bdb.py all of the excluded modules are imported into idlelib.run so that line could be replaced with: import bdb exclude = (__file__, rpc.__file__, threading.__file__, queue.__file__, RemoteDebugger.__file__, bdb.__file__) althoug

[issue26632] __all__ decorator

2016-03-23 Thread Ethan Furman
Ethan Furman added the comment: def public(thing, value=None): if isinstance(thing, str): mdict = sys._getframe(1).f_globals name = thing mdict[name] = thing # no need for retyping! ;) else: mdict = sys.modules[thing.__module__].__dict__ name = thi

[issue26632] __all__ decorator

2016-03-23 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue26632] __all__ decorator

2016-03-23 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Oh, and it should be a built-in -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue26632] __all__ decorator

2016-03-23 Thread Barry A. Warsaw
New submission from Barry A. Warsaw: This is probably terrible, but given how difficult it is to keep __all__'s up to date, maybe something like this can be useful. I literally whipped this up in about 5 minutes, so sit back and watch the bikeshedding! import sys def public(thing): if is

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

2016-03-23 Thread paul j3
paul j3 added the comment: Is this the kind of scenario that you have problems with? parser = argparse.ArgumentParser() sp = parser.add_subparsers(dest='cmd') p1 = sp.add_parser('cmd1') p1.add_argument('-f') p2 = sp.add_parser('cmd2') p2.add_argument('-b') p3 = sp.a

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

2016-03-23 Thread Martin Panter
Martin Panter added the comment: My point about Python 2 was that this might add an annoying difference between the two branches. Even if you don’t apply this to Py 2, the next person adding or updating a test might be inclined to do it. Looking closer at your patch I admit that addCleanup() w

[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

[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

[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

[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

[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

[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

[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

[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 SilentGhost
Changes by SilentGhost : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing lis

[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 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

[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

[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

[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

[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

[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 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 __

[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 Matthias Klose
Matthias Klose added the comment: please apply this to the 3.5 branch as well -- status: closed -> open ___ Python tracker ___ ___ Pyt

[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 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: 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 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

[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

[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://

[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

[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

[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

[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 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

[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

[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 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

[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 __

[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

[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

[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 _

[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 ___ __

[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

[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

[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 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/

[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

[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

[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

[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

[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.

[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. -- _

[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

[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

[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 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 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
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

[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 _

[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 ___ __

[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 SilentGhost
Changes by SilentGhost : -- nosy: +ezio.melotti, pitrou, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[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 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

[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 ___ _

[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
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 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

[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 __

[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 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

[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
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:

[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

[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

[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 Morris
Steve Morris added the comment: I just tried the 3.4.4 installer (Windows x86-64 MSI) and it works correctly -- ___ Python tracker ___ ___

[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 SilentGhost
Changes by SilentGhost : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___ Pyth

[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 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

[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

[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 ___

[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

[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

  1   2   >