[issue1244929] hide tests from TestProgram

2009-02-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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 Lib/test/test_codecencoding_cn.py: class

[issue1098732] Enhance tracebacks and stack traces with vars

2009-02-16 Thread Skip Montanaro
Skip Montanaro added the comment: PyPI: http://pypi.python.org/pypi/tb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5282] mmap.resize and offset

2009-02-16 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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) f.write("2" * align)

[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 : 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 second resolution (fro

[issue2279] distutils sdist add_defaults does not add data_files

2009-02-16 Thread George Sakkis
George Sakkis 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, not the root of 'files'.

[issue2279] distutils sdist add_defaults does not add data_files

2009-02-16 Thread George Sakkis
George Sakkis 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 MANIFEST.in as se

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

2009-02-16 Thread Raymond Hettinger
Raymond Hettinger 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. -- assignee: -> georg.brandl nos

[issue1261714] precompiled code and nameError.

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Closing on lack of input from OP. -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Python tracker ___ __

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

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson 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 __

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

2009-02-16 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> wont fix status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

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

2009-02-16 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue4565] Rewrite the IO stack in C

2009-02-16 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

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

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Let's do it. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ _

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

2009-02-16 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> ncoghlan nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue971330] test_signal sucks

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson 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 ___ Python tracker

[issue1630794] Seg fault in readline call.

2009-02-16 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue1941] 2.6 stdlib using with statement

2009-02-16 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> rejected status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

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

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Agreed. Not a bug. -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Python tracker ___ _

[issue5287] logging package on IronPython

2009-02-16 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> vsajip nosy: +vsajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue2279] distutils sdist add_defaults does not add data_files

2009-02-16 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- versions: -Python 2.6, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue2279] distutils sdist add_defaults does not add data_files

2009-02-16 Thread Tarek Ziadé
Tarek Ziadé added the comment: done in r69692 and r69696. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue1098732] Enhance tracebacks and stack traces with vars

2009-02-16 Thread Martin v. Löwis
Martin v. Löwis 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 module, it would be "n

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

2009-02-16 Thread Martin v. Löwis
Martin v. Löwis added the comment: Closing as "works for me", then. -- resolution: -> works for me status: open -> closed ___ Python tracker ___

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

2009-02-16 Thread Martin v. Löwis
Martin v. Löwis 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 compilation of Python

[issue5284] platform.linux_distribution() improperly documented

2009-02-16 Thread Armin Ronacher
New submission from Armin Ronacher : 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 2.6 whereas the former exists

[issue5283] setting __class__ in __del__ is bad. mmkay. negative ref count! kaboom!

2009-02-16 Thread James William Pye
New submission from James William Pye : I found this bug by misplacing a line of a code. Yes, I was doing naughty things, but in the case of the class that led to the discovery, it was inadvertent. :P class something_else(object): pass class foo(object): def __del__(self): self.__class__ =

[issue974635] Slice indexes passed to __getitem__ are wrapped

2009-02-16 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1044299] compile error with stlport

2009-02-16 Thread Brett Cannon
Brett Cannon 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 tracker

[issue756093] complex pow() crash on Alpha

2009-02-16 Thread Mark Dickinson
Mark Dickinson 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 tracker

[issue2279] distutils sdist add_defaults does not add data_files

2009-02-16 Thread Tarek Ziadé
Tarek Ziadé 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 ? > (while preserving f

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

2009-02-16 Thread Roumen Petrov
Roumen Petrov 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

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

2009-02-16 Thread STINNER Victor
STINNER Victor 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 ___

[issue1195571] simple callback system for Py_FatalError

2009-02-16 Thread James William Pye
James William Pye 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 error situations

[issue4151] Separate build dir broken

2009-02-16 Thread Roumen Petrov
Roumen Petrov 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./. Andi, did above change work for you. ___

[issue1098732] Enhance tracebacks and stack traces with vars

2009-02-16 Thread Skip Montanaro
Skip Montanaro 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 traceback mo

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

2009-02-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: What is the status of this? -- nosy: +pitrou versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker ___ ___

[issue1717] Get rid of more references to __cmp__

2009-02-16 Thread Mark Dickinson
Mark Dickinson added the comment: Darn. That's really very annoying. Apologies for missing this one. Thanks for the quick fix, Benjamin. ___ Python tracker ___

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

2009-02-16 Thread Takahiro Matsumoto
Takahiro Matsumoto 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 /your_path_to_gcc/gcc -B/somewhere/b

[issue1717] Get rid of more references to __cmp__

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r69682. ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue1717] Get rid of more references to __cmp__

2009-02-16 Thread Georg Brandl
Changes by Georg Brandl : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1717] Get rid of more references to __cmp__

2009-02-16 Thread Anthony Tuininga
Anthony Tuininga 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 classifiers = classifiers) File "c:\Python30\lib\distutils\core.py", l

[issue1231081] platform.processor() could be smarter

2009-02-16 Thread Marc-Andre Lemburg
Marc-Andre Lemburg 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

[issue1070140] endianness detection fails on IRIX 5.3

2009-02-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue1178510] configure: refuses setgroups

2009-02-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue1086642] Compile of _socket fails on IRIX with 2.4

2009-02-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

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

2009-02-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue5282] mmap.resize and offset

2009-02-16 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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 the code simpler, but this

[issue1056293] dir() should only return strings

2009-02-16 Thread STINNER Victor
STINNER Victor 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 types of dir() result. -

[issue5282] mmap.resize and offset

2009-02-16 Thread Tim Golden
Tim Golden 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: +tim.golden _

[issue5282] mmap.resize and offset

2009-02-16 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : 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. >From view of other functions

[issue4715] optimize bytecode for conditional branches

2009-02-16 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

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

2009-02-16 Thread Bob Ippolito
Bob Ippolito 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 I'll take a look at

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

2009-02-16 Thread Mark Dickinson
Mark Dickinson added the comment: Forgot to mention: you'll need to rerun autoconf and autoheader after applying the patch and before doing ./configure ___ Python tracker ___ __

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

2009-02-16 Thread Mark Dickinson
Changes by Mark Dickinson : Removed file: http://bugs.python.org/file11976/30bit_longdigit4.patch ___ Python tracker ___ ___ Python-bugs-list m

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

2009-02-16 Thread Mark Dickinson
Mark Dickinson 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 small integer cachin

[issue919238] Recursive variable definition causes sysconfig infinite loop

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek type: -> behavior versions: +Python 2.7, Python 3.1 -Python 2.3, Python 2.4, Python 2.5 ___ Python tracker ___ ___

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

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada : -- assignee: -> tarek components: +Build nosy: +tarek ___ Python tracker ___ ___ Python-bugs-list mailing li

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

2009-02-16 Thread Tim Golden
Tim Golden 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 ___ _

[issue1254718] GCC detection for runtime_library_dirs when ccache is used

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada : -- nosy: +tarek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue1682403] docutils clarification request for "rest"

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada : -- type: -> feature request versions: +Python 2.7, Python 3.1 -Python 2.5, Python 2.6 ___ Python tracker ___

[issue1692592] Stripping debugging symbols from compiled C extensions

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada : -- versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada : -- assignee: -> tarek nosy: +tarek versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker ___ __

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

2009-02-16 Thread Akira Kitada
Changes by Akira Kitada : -- components: +Windows ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue3676] Obsolete references to PEP 291 in py3k lib

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed the rest in r69676. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue4151] Separate build dir broken

2009-02-16 Thread Andy Buckley
Andy Buckley 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 directory, and write-prot

[issue5281] Slight inconsistency in documentation appearances of RuntimeError

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r69675. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue3676] Obsolete references to PEP 291 in py3k lib

2009-02-16 Thread Facundo Batista
Facundo Batista added the comment: Removed the messages in decimal.py (r.69674). ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue5279] 2to3 mishandles some imports

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the report! Fixed in r69673. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ _

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

2009-02-16 Thread Tim Golden
Tim Golden 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 ___

[issue5280] PyBytes_InternInPlace is missing in bytesobject.h

2009-02-16 Thread Benjamin Peterson
Benjamin Peterson 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 tracker

[issue5281] Slight inconsistency in documentation appearances of RuntimeError

2009-02-16 Thread Mitchell Model
New submission from Mitchell Model : 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 example: rai

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

2009-02-16 Thread John Levon
John Levon 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 won't work for many extension

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

2009-02-16 Thread Tim Golden
Tim Golden 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: At line 456, the Creat

[issue5280] PyBytes_InternInPlace is missing in bytesobject.h

2009-02-16 Thread Rasmus Andersson
Changes by Rasmus Andersson : -- type: -> compile error ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue5280] PyBytes_InternInPlace is missing in bytesobject.h

2009-02-16 Thread Rasmus Andersson
New submission from Rasmus Andersson : 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 3.x. The PyBytes

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

2009-02-16 Thread Mattias Engdegård
Mattias Engdegård 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 variable x in def f(x):

[issue5279] 2to3 mishandles some imports

2009-02-16 Thread Jakub Wilk
New submission from Jakub Wilk : $ 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 to 3.0 conversion t

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

2009-02-16 Thread Marc-Andre Lemburg
Marc-Andre Lemburg 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 shipped with differen

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

2009-02-16 Thread Antoine Pitrou
Antoine Pitrou 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 = JSONDecoder(parse_constant=self.parse_constant)

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

2009-02-16 Thread Antoine Pitrou
Antoine Pitrou 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, the top comme

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

2009-02-16 Thread Michael Bierenfeld
Michael Bierenfeld added the comment: "Old IBM Mainframes" are widely used in the financial industry. It would be good if the patch is included ___ Python tracker ___

[issue3992] removed custom log from distutils

2009-02-16 Thread Tarek Ziadé
Tarek Ziadé 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 well ___

[issue5278] optparse documentation example

2009-02-16 Thread Senthil
Senthil 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, may be the followin

[issue5278] optparse documentation example

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

[issue4309] ctypes documentation

2009-02-16 Thread Jakub Wilk
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue5249] Fix strftime on windows.

2009-02-16 Thread Hirokazu Yamamoto
Hirokazu Yamamoto 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 tracker

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

2009-02-16 Thread Daniel Diniz
Daniel Diniz added the comment: Thanks for the feedback, Niki. -- resolution: -> out of date stage: test needed -> committed/rejected status: open -> closed ___ Python tracker __

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

2009-02-16 Thread Niki W. Waibel
Niki W. Waibel added the comment: this issue seems resolved with 2.6.1 and 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue5249] Fix strftime on windows.

2009-02-16 Thread Martin v. Löwis
Martin v. Löwis 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

[issue1098732] Enhance tracebacks and stack traces with vars

2009-02-16 Thread Martin v. Löwis
Martin v. Löwis 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

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

2009-02-16 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: -georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

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

2009-02-16 Thread Martin v. Löwis
Martin v. Löwis 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 discussion. Then you