[issue1759169] clean up Solaris port and allow C99 extension modules

2009-02-16 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Python should define *only* __EXTENSIONS__, not the others, as Zooko already mentioned, for the reasons he mentioned. I'm not sure how you got a different impression from what I or he said. Ok, so we can ignore __EXTENSIONS__ for the

[issue1759169] clean up Solaris port and allow C99 extension modules

2009-02-16 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- nosy: -georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1759169 ___ ___ Python-bugs-list

[issue1098732] Enhance tracebacks and stack traces with vars

2009-02-16 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: If it becomes a sys.excepthook, it doesn't need to be part of Python anymore; any user could install it as a recipe if they desire. Hence I'm rejecting the patch. -- resolution: - rejected status: open - closed

[issue5249] Fix strftime on windows.

2009-02-16 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Using TZNAME_ENCODING is fine; I just think it has an incorrect value on Unix. All in all, I think the (original) patch is fine, please apply. -- resolution: - accepted ___ Python tracker

[issue1216923] LINKCC-CXX, -ltermcap--lncurses

2009-02-16 Thread Niki W. Waibel
Niki W. Waibel nikiwai...@users.sourceforge.net added the comment: this issue seems resolved with 2.6.1 and 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1216923 ___

[issue1216923] LINKCC-CXX, -ltermcap--lncurses

2009-02-16 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Thanks for the feedback, Niki. -- resolution: - out of date stage: test needed - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1216923

[issue5249] Fix strftime on windows.

2009-02-16 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Thanks, fixed in r69664(py3k) and r69665(release30-maint). -- priority: high - resolution: accepted - fixed stage: commit review - committed/rejected status: open - closed ___ Python

[issue5278] optparse documentation example

2009-02-16 Thread Senthil
New submission from Senthil orsent...@gmail.com: In the Document, : Doc/library/optparse.rst, The first usage example is given with an '=' sign for the options. This is a mistake. - yourscript --file=outfile -q + yourscript --file outfile -q -- assignee: georg.brandl components:

[issue5278] optparse documentation example

2009-02-16 Thread Senthil
Senthil orsent...@gmail.com added the comment: Georg, Ignore this bug. This is Invalid and sorry for the confusion. I was trying with single option with '=' sign. May be, I have forgotten the Unix standard that '=' symbol goes with '--' options only. If other people also get confused by this,

[issue3992] removed custom log from distutils

2009-02-16 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Right now Distutils has also two warn styles: - log.warn, that uses a pseudo-logging warning and push it to stdout depending on the treshold level - cmd.warn, that push the message directly to sys.stderr So this has to be changed as

[issue1097797] Encoding for Code Page 273 used by EBCDIC Germany Austria

2009-02-16 Thread Michael Bierenfeld
Michael Bierenfeld mbie...@users.sourceforge.net added the comment: Old IBM Mainframes are widely used in the financial industry. It would be good if the patch is included ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1097797

[issue4136] merge json library with latest simplejson 2.0.x

2009-02-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: A bunch of comments from a quick look: - why do you use old-style relative imports (from decoder import JSONDecoder)? - in join_list_unicode, join_list_string you could use PyUnicode_Join and _PyString_Join, respectively - in scanstring_unicode,

[issue4136] merge json library with latest simplejson 2.0.x

2009-02-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Bob, here is a small example showing how easy it is to encounter the GC problem: from json import JSONDecoder import weakref import gc class MyObject(object): def __init__(self): self.decoder =

[issue1097797] Encoding for Code Page 273 used by EBCDIC Germany Austria

2009-02-16 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Like I said a few years: this can go in. Python is used a lot in the financial industry. The code page is referenced in this RFC: http://rfc.dotsrc.org/rfc/rfc1345.html This page has a good comparison of the various IBM code pages as

[issue5279] 2to3 mishandles some imports

2009-02-16 Thread Jakub Wilk
New submission from Jakub Wilk uba...@users.sf.net: $ cat test.py from itertools import imap as _map $ ./2to3 test.py 2/dev/null --- test.py (original) +++ test.py (refactored) @@ -1,1 +1,1 @@ -from itertools import imap as _map +from itertools import as _map -- components: 2to3 (2.x

[issue1153622] eval does not bind variables in lambda bodies correctly

2009-02-16 Thread Mattias Engdegård
Mattias Engdegård yor...@users.sourceforge.net added the comment: This is not a vague wish at all. The implementation is at odds with the documentation, and in fact nobody has been able to explain just how Python works or should work. Read msg24424 again - it all boils down to explaining why the

[issue5280] PyBytes_InternInPlace is missing in bytesobject.h

2009-02-16 Thread Rasmus Andersson
Changes by Rasmus Andersson ras...@flajm.com: -- type: - compile error ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5280 ___ ___

[issue5280] PyBytes_InternInPlace is missing in bytesobject.h

2009-02-16 Thread Rasmus Andersson
New submission from Rasmus Andersson ras...@flajm.com: The PyBytes_InternInPlace 2-to-3 transition macro is missing in include/bytesobject.h Alternatively, the documentation[1] is missing some details. At the top there's a note saying These functions have been renamed to PyBytes_* in Python

[issue2733] mmap resize fails on anonymous memory (Windows)

2009-02-16 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: OK, I can see why this is happening and in fact there are two levels of problem. The trouble is that, in my ignorance, I can't work out exactly why the existing code is doing what it's doing. (References to mmapmodule.c at r69666) Problem 1:

[issue1759169] clean up Solaris port and allow C99 extension modules

2009-02-16 Thread John Levon
John Levon movem...@users.sourceforge.net added the comment: Zooko, the patches are available here: http://src.opensolaris.org/source/xref/jds/spec-files/trunk/patches/ Then you were arguing that defining _XOPEN_SOURCE is wrong if the value Actually, I was saying that below that value simply

[issue5281] Slight inconsistency in documentation appearances of RuntimeError

2009-02-16 Thread Mitchell Model
New submission from Mitchell Model m...@acm.org: The Library Exceptions documentation describes RuntimeException as mostly a relic from a previous version of the interpreter; it is not used very much any more. Yet, the Reference in describing the raise statement uses RuntimeException as an

[issue5280] PyBytes_InternInPlace is missing in bytesobject.h

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: The reason for that is that PyBytes_InternFromString doesn't exist in 3.0. I noted that in the docs in r69672. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python

[issue2733] mmap resize fails on anonymous memory (Windows)

2009-02-16 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Patch attached to mmapmodule.c and test_mmap.py -- keywords: +patch Added file: http://bugs.python.org/file13107/mmapmodule.patch ___ Python tracker rep...@bugs.python.org

[issue5279] 2to3 mishandles some imports

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Thanks for the report! Fixed in r69673. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5279

[issue3676] Obsolete references to PEP 291 in py3k lib

2009-02-16 Thread Facundo Batista
Facundo Batista facu...@taniquetil.com.ar added the comment: Removed the messages in decimal.py (r.69674). ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3676 ___

[issue5281] Slight inconsistency in documentation appearances of RuntimeError

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed in r69675. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5281

[issue4151] Separate build dir broken

2009-02-16 Thread Andy Buckley
Andy Buckley a...@insectnation.org added the comment: I'm having trouble with this as well :( It's pretty much a blocker for integrating distutils-based extension builds with an autotools library build, because the make distcheck target explicitly does the build in a subtree of the source

[issue3676] Obsolete references to PEP 291 in py3k lib

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed the rest in r69676. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3676

[issue1285] setp.py error The process cannot access the file ...

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada akit...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1285 ___ ___ Python-bugs-list

[issue436259] [Windows] exec*/spawn* problem with spaces in args

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada akit...@gmail.com: -- assignee: - tarek nosy: +tarek versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue436259 ___

[issue1692592] Stripping debugging symbols from compiled C extensions

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada akit...@gmail.com: -- versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1692592 ___

[issue1682403] docutils clarification request for rest

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada akit...@gmail.com: -- type: - feature request versions: +Python 2.7, Python 3.1 -Python 2.5, Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1682403 ___

[issue1254718] GCC detection for runtime_library_dirs when ccache is used

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada akit...@gmail.com: -- nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1254718 ___ ___ Python-bugs-list mailing

[issue1285] setp.py error The process cannot access the file ...

2009-02-16 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Can't reproduce under Python 2.6 or Python 2.5.2. Likelihood is a virus checker / indexer process. -- nosy: +tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1285

[issue1887] distutils doesn't support out-of-source builds

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada akit...@gmail.com: -- assignee: - tarek components: +Build nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1887 ___

[issue919238] Recursive variable definition causes sysconfig infinite loop

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada akit...@gmail.com: -- nosy: +tarek type: - behavior versions: +Python 2.7, Python 3.1 -Python 2.3, Python 2.4, Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue919238

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Updated patch against py3k. I'm interested in getting this into the trunk as well, but py3k is more important (because *all* integers are long integers). It's also a little more complicated to do this for py3k (mostly because of all the

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-16 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: Removed file: http://bugs.python.org/file11976/30bit_longdigit4.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4258 ___

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Forgot to mention: you'll need to rerun autoconf and autoheader after applying the patch and before doing ./configure ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4258

[issue4136] merge json library with latest simplejson 2.0.x

2009-02-16 Thread Bob Ippolito
Bob Ippolito b...@redivi.com added the comment: Old-style relative imports and the way that it does join are there because it's Python 2.4 compatible code that I'm porting. I'll add those to the list of things that need to be changed when backporting, implement cyclic GC on the types, and

[issue4715] optimize bytecode for conditional branches

2009-02-16 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4715 ___ ___ Python-bugs-list mailing list

[issue5282] mmap.resize and offset

2009-02-16 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: This is first time to look at mmap module, so sorry if I'm saying totally wrong thing. (I noticed this when I saw issue2733) I think the behavior of mmap_resize_method is unclear when mapping object is created with offset 0.

[issue5282] mmap.resize and offset

2009-02-16 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Have a look at issue 2733 http://bugs.python.org/issue2733 where I've just proposed a patch in this area. I'm also not sure exactly what's going on, but I have patched what I believe is a linked pair of bugs in that code. -- nosy:

[issue1056293] dir() should only return strings

2009-02-16 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Yes, the issue still exists in 2009. Attached patch contains a test + a patch to test the type of each value of the dir() result. I'm not sure that it's a good idea to apply my patch. It's maybe not the job of Python to check the

[issue5282] mmap.resize and offset

2009-02-16 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Yes, I noticed this issue while investigating issue2733. But sorry, I couldn't reproduce the bug on my machine. Even so, LPDWORD arg for SetPointer can be modified, so your patch looks correct. (There is SetPointerEx which can make

[issue2048] IRIX: Seg-fault while building tests with gmake on test_xml_etree.

2009-02-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2048 ___ ___ Python-bugs-list

[issue1086642] Compile of _socket fails on IRIX with 2.4

2009-02-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1086642 ___ ___ Python-bugs-list

[issue1178510] configure: refuses setgroups

2009-02-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1178510 ___ ___ Python-bugs-list

[issue1070140] endianness detection fails on IRIX 5.3

2009-02-16 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1070140 ___ ___ Python-bugs-list

[issue1231081] platform.processor() could be smarter

2009-02-16 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: I agree with Michael's comment. Note that uname -p is hardly ever needed. uname -m is more important and that's supported on Debian (and exposed via platform.machine()). -- nosy: +lemburg status: open - closed

[issue1717] Get rid of more references to __cmp__

2009-02-16 Thread Anthony Tuininga
Anthony Tuininga anthony.tuini...@gmail.com added the comment: Removing cmp() breaks distutils. I get the following exception, for example using the just released version 3.0.1: Traceback (most recent call last): File setup.py, line 318, in module classifiers = classifiers) File

[issue1717] Get rid of more references to __cmp__

2009-02-16 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- priority: normal - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1717 ___ ___

[issue1717] Get rid of more references to __cmp__

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed in r69682. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1717 ___ ___ Python-bugs-list

[issue4902] failed to build ctypes in Python2.6.1 (even with gcc)

2009-02-16 Thread Takahiro Matsumoto
Takahiro Matsumoto matu...@spring8.or.jp added the comment: I could solve this with following procedures. - prepare binutil package under /somewhere/ (i.e. GNU ld, GNU as is available under /somewhere/bin/) - prepare your local gcc script below and set path for use. #!/bin/sh

[issue1717] Get rid of more references to __cmp__

2009-02-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Darn. That's really very annoying. Apologies for missing this one. Thanks for the quick fix, Benjamin. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1717

[issue1667546] Time zone-capable variant of time.localtime

2009-02-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: What is the status of this? -- nosy: +pitrou versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1667546

[issue1098732] Enhance tracebacks and stack traces with vars

2009-02-16 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Martin If it becomes a sys.excepthook, it doesn't need to be part of Martin Python anymore; any user could install it as a recipe if they Martin desire. Martin Hence I'm rejecting the patch. It could still be a nice addition to the

[issue4151] Separate build dir broken

2009-02-16 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: One additional commit change srcdir = os.path.normpath(srcdir) to srcdir = os.path.abspath(srcdir) and this should not create relative path. In this case I expect build in directory build/temp.PLATFORM_VERSION/ABS_SRC_PATH. Andi, did

[issue1195571] simple callback system for Py_FatalError

2009-02-16 Thread James William Pye
James William Pye x...@jwp.name added the comment: I had actually forgotten that this was still open. Anything I can do to help speed this along? In case nobody remembers, the purpose of this was to provide a facility to embedded applications that allows for a more graceful shutdown in fatal

[issue1251921] Fail codecs.lookup() on 'mbcs' and 'tactis'

2009-02-16 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: It looks like few people need this codec (no message since 2005), so I close this feature request. Reopen this issue if you need this codec. -- nosy: +haypo resolution: remind - rejected status: open - closed

[issue1887] distutils doesn't support out-of-source builds

2009-02-16 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: Some other issues supersede this one ... and commits from Neil Schemenauer resolve this issue may be only for me :). Please see as example issue4151 . -- nosy: +rpetrov ___ Python tracker

[issue2279] distutils sdist add_defaults does not add data_files

2009-02-16 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Ok I have finished the patch, I'll commit it during the week FWIW I wrote a module that overrides the default build_py and sdist commands with versions that allow specifying package_data recursively Maybe that could be a new feature ?

[issue756093] complex pow() crash on Alpha

2009-02-16 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Closing this due to lack of feedback. Ali Polatel's report looks like an entirely separate issue; most likely an alpha libm bug. -- resolution: - out of date status: pending - closed ___ Python

[issue1044299] compile error with stlport

2009-02-16 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Closing as I don't think this is Python's fault plus we have changed how we generate our project files since then. -- nosy: +brett.cannon resolution: - rejected status: open - closed ___ Python

[issue5284] platform.linux_distribution() improperly documented

2009-02-16 Thread Armin Ronacher
New submission from Armin Ronacher armin.ronac...@active-4.com: platform.linux_distribution() was added in 2.6 as an alias for platform.dist(). However the documentation lists platform.dist() as an alias for platform.linux_distribution() and there is no information that the latter appered in

[issue1759169] clean up Solaris port and allow C99 extension modules

2009-02-16 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Theoretically: yes, it's wrong for Python to claim that all extensions are compliant to a particular XPG environment. It's somewhat unfortunate that Python makes such claims for extensions; primarily, these macros are defined for the

[issue1285] setp.py error The process cannot access the file ...

2009-02-16 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Closing as works for me, then. -- resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1285

[issue1098732] Enhance tracebacks and stack traces with vars

2009-02-16 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: It could still be a nice addition to the traceback module: If it doesn't have to be in the standard library, I'd rather see it as a cookbook recipe, or PyPI package. I think the debate is still open whether, as an addition to traceback

[issue2279] distutils sdist add_defaults does not add data_files

2009-02-16 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: done in r69692 and r69696. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2279 ___

[issue2279] distutils sdist add_defaults does not add data_files

2009-02-16 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- versions: -Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2279 ___ ___

[issue5287] logging package on IronPython

2009-02-16 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - vsajip nosy: +vsajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5287 ___ ___

[issue1531016] Comma not allowed at the end of argument list for **argument

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Agreed. Not a bug. -- nosy: +benjamin.peterson resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1531016

[issue1941] 2.6 stdlib using with statement

2009-02-16 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1941 ___

[issue1630794] Seg fault in readline call.

2009-02-16 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1630794 ___

[issue971330] test_signal sucks

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I'm going to close this. As Andrew said it now uses unittest and subprocess which is portable. Reopen if you disagree. -- nosy: +benjamin.peterson resolution: - wont fix status: open - closed

[issue5251] contextlib.nested inconsistent with, well, nested with statements due exceptions raised in __enter__

2009-02-16 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - ncoghlan nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5251 ___

[issue1248119] pdb 'next' does not skip list comprehension

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Let's do it. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1248119

[issue4565] Rewrite the IO stack in C

2009-02-16 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4565 ___ ___

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-02-16 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5230 ___ ___

[issue2048] IRIX: Seg-fault while building tests with gmake on test_xml_etree.

2009-02-16 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - wont fix status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2048 ___

[issue1283110] Give __len__() advice for don't know

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I believe this bug is out of date with the advent of __length_hint__. -- nosy: +benjamin.peterson resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org

[issue1261714] precompiled code and nameError.

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Closing on lack of input from OP. -- nosy: +benjamin.peterson resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1261714

[issue1283110] Give __len__() advice for don't know

2009-02-16 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: It should still be documented that __len__ can be used for this purpose. The __length_hint__ attribute is mainly for iterators because they are not allowed to have a __len__ as that would affect their boolean value.

[issue2279] distutils sdist add_defaults does not add data_files

2009-02-16 Thread George Sakkis
George Sakkis george.sak...@gmail.com added the comment: FWIW I wrote a module that overrides the default build_py and sdist commands with versions that allow specifying package_data recursively Maybe that could be a new feature ? That would be nice, especially if we want to reimplement

[issue2279] distutils sdist add_defaults does not add data_files

2009-02-16 Thread George Sakkis
George Sakkis george.sak...@gmail.com added the comment: done in r69692 and r69696. Great, thanks. The data_files part though seems incorrect; for one thing each item in data_files can be either a (dir,files) tuple or a plain string, and for two 'dir' is the output (installation) directory,

[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

2009-02-16 Thread James Henstridge
New submission from James Henstridge ja...@jamesh.id.au: The datetime module does not support time zones whose offset from UTC is not an integer number of minutes. The Olson time zone database (used by most UNIX systems and Mac OS X) has a number of time zones with historic offsets that use

[issue5282] mmap.resize and offset

2009-02-16 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I investigated more. Following code crashed with bus error on coLinux. import mmap def main(): align = mmap.ALLOCATIONGRANULARITY with open(a.txt, w) as f: f.write(0 * align) f.write(1 * align)

[issue1098732] Enhance tracebacks and stack traces with vars

2009-02-16 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: PyPI: http://pypi.python.org/pypi/tb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1098732 ___ ___

[issue1244929] hide tests from TestProgram

2009-02-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: No, the feature is not present in current unittest; the patch is still applicable. I'm concerned with backward compatibility, though. To achieve the same result, the common usage is a mixin class. See for example