[issue11610] Improving property to accept abstract methods

2011-03-29 Thread Darren Dale
Darren Dale added the comment: Benjamin: have you thought this idea through? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue1294959] Problems with /usr/lib64 builds.

2011-03-29 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Mar 29, 2011, at 10:11 PM, Matthias Klose wrote: >heh, that's easy, just add the multiarch id to the extension name ;-) Clever! :) -- ___ Python tracker __

[issue8554] suspicious comment in msilib.py/__init__.py

2011-03-29 Thread Mark Mc Mahon
Mark Mc Mahon added the comment: This issue has been fixed when issue11696 was fixed. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue11610] Improving property to accept abstract methods

2011-03-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/3/29 Darren Dale : > > Darren Dale added the comment: > > Benjamin: have you thought this idea through? Perhaps inadequately? -- ___ Python tracker _

[issue11393] Integrate faulthandler module into Python 3.3

2011-03-29 Thread STINNER Victor
Changes by STINNER Victor : Added file: http://bugs.python.org/file21467/c684b1e59aaa.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue11393] Integrate faulthandler module into Python 3.3

2011-03-29 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file21404/605422430234.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue11393] Integrate faulthandler module into Python 3.3

2011-03-29 Thread STINNER Victor
STINNER Victor added the comment: I regenerated the patch. Last changes: - I merged Antoine's new implementation of faulthandler.dump_backtraces_later() using a thread - dump_backtraces_later() has a new exit option: if exit=True, call _exit() - disable (remove) register() and unregister()

[issue11393] Integrate faulthandler module into Python 3.3

2011-03-29 Thread STINNER Victor
STINNER Victor added the comment: Remainder for me: the patch contains some whitespace changes in Makefile.pre.in and Setup.dist. dump_traceback(), enable(), dump_tracebacks_later(), register() flush the input file. It is not said in the doc. Should it be documented? For enable(), dump_trace

[issue11712] Doc list.sort(cmp=,key=) result.

2011-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: On pydev, Mathew Woodcraft says the actual rule is 4) Neither 'wins': cmp is applied to the output of key. which is consistent with my experiment also. -- ___ Python tracker _

[issue11688] SQLite trace callback

2011-03-29 Thread Torsten Landschoff
Torsten Landschoff added the comment: > - you need to document the new API in Doc/library/sqlite3.rst Included in the updated patch. > +self.assertTrue([x for x in traced_statements if x.find("create > table foo") != -1]) > > This looks a bit complicated, why not something like > `any

[issue11716] mixing calls to io.TextIOWrapper.write and io.BufferedWriter.write produces undefined results

2011-03-29 Thread Sean Sherrard
New submission from Sean Sherrard : Maybe this is by design, but it certainly took me by surprise. Steps to reproduce: Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> import io >>> raw = io.B

[issue11610] Improving property to accept abstract methods

2011-03-29 Thread Darren Dale
Darren Dale added the comment: I see some problems with this approach, but maybe I haven't fully appreciated it. Let me summarize the goals and constraints as I see them: 1) compatible with long-form and decorator syntax of {abstract}property declaration 2) backwards compatible, no change in

[issue11393] Integrate faulthandler module into Python 3.3

2011-03-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > - speed up the test: because dump_backtraces_later() has now a > subsecond resolution, we can use sleep of 50 ms instead of 1 sec This is too short, there may be random failures on some slow buildbots. IMO, 0.5s is the minimum you can use. +def _check_d

[issue11712] Doc list.sort(cmp=,key=) result.

2011-03-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: There's no need to guess what it does ;-) We don't document by experiment when source and test suites are available. Mathew was correct, it works as documented: the key function is applied at the outset (as it always does) and then cmp function is use

[issue11716] mixing calls to io.TextIOWrapper.write and io.BufferedWriter.write produces undefined results

2011-03-29 Thread Sean Sherrard
Sean Sherrard added the comment: Never mind, I didn't realize that TextIOWrapper was doing its own buffering. The behaviour makes sense to me now after reading textio.c -- resolution: -> invalid status: open -> closed ___ Python tracker

[issue11717] conflicting definition of ssize_t in pyconfig.h

2011-03-29 Thread Wolfgang Rohdewald
New submission from Wolfgang Rohdewald : compiling pykde on windows with msvc2010 on a 32bit Windows 7: sipdnssdpart0.cpp R:\include\msvc\sys/types.h(52) : error C2371: 'ssize_t' : redefinition; different basic types c:\python27\include\pyconfig.h(201) : see declaration of 'ssize_t' I

[issue11712] Doc list.sort(cmp=,key=) result.

2011-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 2.7 doc actually says that the two arguments to cmp are list items, rather than list items or keys "cmp specifies a custom comparison function of two arguments (list items)". And this "In general, the key and reverse conversion processes are much faster t

[issue11718] Teach IDLE's open-modue command to find packages

2011-03-29 Thread Raymond Hettinger
New submission from Raymond Hettinger : The open-module command is a fast effective way to examine source code regardless of where it sits on sys.path; however, it gets lost when seeking a package name. Instead of aborting, it could bring-up the __init__.py file. For example, "open-module uni

[issue11713] collections.deque docstring wrong/misleading

2011-03-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset f4e6e18cae4b by Raymond Hettinger in branch '2.7': Issue 11713: clarify docstring for collections.deque() http://hg.python.org/cpython/rev/f4e6e18cae4b New changeset 36344c9505b2 by Raymond Hettinger in branch '3.1': Issue 11713: clarify docstring

[issue11713] collections.deque docstring wrong/misleading

2011-03-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 075637897403 by Raymond Hettinger in branch '3.2': Issue 11713: clarify docstring for collections.deque() http://hg.python.org/cpython/rev/075637897403 New changeset 80e71592b114 by Raymond Hettinger in branch 'default': Issue 11713: clarify docstr

[issue11713] collections.deque docstring wrong/misleading

2011-03-29 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue11718] Teach IDLE's open-module command to find packages

2011-03-29 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ned.deily title: Teach IDLE's open-modue command to find packages -> Teach IDLE's open-module command to find packages ___ Python tracker ___ __

[issue11712] Doc list.sort(cmp=,key=) result.

2011-03-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thank you. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue11677] make test has horrendous performance on an ecryptfs

2011-03-29 Thread Nick Coghlan
Nick Coghlan added the comment: If support for a top level temporary directory is added, test.support should acquire alternatives to the tempfile module tools to make it easy for tests that create their own temporary files to respect that naming scheme. In particular, test.script_helper.temp_

[issue11610] Improving property to accept abstract methods

2011-03-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2011/3/29 Darren Dale : > > Darren Dale added the comment: > > I see some problems with this approach, but maybe I haven't fully appreciated > it. Let me summarize the goals and constraints as I see them: > > 1) compatible with long-form and decorator synta

[issue11677] make test has horrendous performance on an ecryptfs

2011-03-29 Thread Nick Coghlan
Nick Coghlan added the comment: To control where mkdtemp() puts files, you could just use the "dir" argument (and you can use tempfile.gettempdir() beforehand if you want that location to be inside the normal temp directory) -- ___ Python tracker

[issue11610] Improving property to accept abstract methods

2011-03-29 Thread Darren Dale
Darren Dale added the comment: On Tue, Mar 29, 2011 at 9:31 PM, Benjamin Peterson wrote: > 2011/3/29 Darren Dale : >> The benefit of abstractproperty.abstract{...} is that one decorator is >> required instead of two, right? Are there others? > > Mostly it doesn't create a weird asymmetry betwe

[issue11610] Improving property to accept abstract methods

2011-03-29 Thread Darren Dale
Darren Dale added the comment: On Tue, Mar 29, 2011 at 10:24 PM, Darren Dale wrote: > > Darren Dale added the comment: > > On Tue, Mar 29, 2011 at 9:31 PM, Benjamin Peterson > wrote: >> 2011/3/29 Darren Dale : >>> The benefit of abstractproperty.abstract{...} is that one decorator is >>> req

[issue2694] msilib file names check too strict ?

2011-03-29 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue8554] suspicious comment in msilib.py/__init__.py

2011-03-29 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue11717] conflicting definition of ssize_t in pyconfig.h

2011-03-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: Where does R:\include\msvc\sys/types.h come from? -- nosy: +loewis ___ Python tracker ___ ___ Pyth

[issue11719] test_msilib skip unexpected on non-Windows platforms

2011-03-29 Thread Nadeem Vawda
New submission from Nadeem Vawda : When running regrtest on a non-Windows platform, I get a warning that test_msilib was skipped unexpectedly. The attached patch modifies regrtest to indicate that this is expected. -- components: Tests files: test_msilib-expected.diff keywords: patch mes

[issue11717] conflicting definition of ssize_t in pyconfig.h

2011-03-29 Thread Wolfgang Rohdewald
Wolfgang Rohdewald added the comment: types.h is from kdewin/include/msvc/sys git clone git://anongit.kde.org/kdewin types.h uses SSIZE_T but that is nowhere defined in KDE, so it must be the original one from msvc -- ___ Python tracker

<    1   2