[issue7717] Compilation fixes for IRIX

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: @Stuart could you please fill out the paperwork given here http://www.python.org/psf/contrib/ . Without it this issue can't proceed. -- nosy: +BreamoreBoy ___ Python tracker _

[issue7718] Build shared libpythonX.Y.so on IRIX

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: Stuart has been asked to sign the paperwork on #7717. -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue8747] Autoconf tests in python not portably correct

2010-08-01 Thread Garrett Cooper
Garrett Cooper added the comment: The issue is still present. The overall problem I suppose is with consistency and presentation of features in the python language. Many features cannot be presented in a 100% portable manner, and the problem is that such features that aren't POSIX conforming

[issue8397] BZ2File doesn't protect against mixed iterator and read usage

2010-08-01 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> pitrou nosy: +pitrou priority: normal -> high versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker ___ _

[issue1180267] expanding platform module and making it work as it should

2010-08-01 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> lemburg nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue4891] formatwarning function signature change breaks code

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Probably too late to change something here. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Python tracker ___ _

[issue7702] Wrong order of parameters of _get_socket in SMTP class in smtplib.py

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: This appears to have been fixed since r61624. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Python tracker ___ ___

[issue7395] pstats add command raises unhandled exception

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r83388. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue8105] mmap crash on Windows with out of range file descriptor

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: What's the status here? Can it be committed? -- nosy: +georg.brandl ___ Python tracker ___ ___ Python

[issue7952] fileobject.c can switch between fread and fwrite without an intervening flush or seek, invoking undefined behaviour

2010-08-01 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> pitrou nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7937] windows installer package

2010-08-01 Thread Georg Brandl
New submission from Georg Brandl : No bug reported here. -- nosy: +georg.brandl resolution: -> invalid status: open -> closed ___ Python tracker ___ _

[issue8249] expat.ParserCreate - SystemError bad argument to internal function

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Is this somehow reproducible without svnmerge? -- nosy: +georg.brandl status: open -> pending ___ Python tracker ___ _

[issue8230] Lib/test/sortperf.py fails to run

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r83390. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue6128] Consequences of using Py_TPFLAGS_HAVE_GC are incompletely explained

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: Can someone in the know provide a doc patch for this? -- assignee: georg.brandl -> d...@python nosy: +BreamoreBoy, d...@python ___ Python tracker ___

[issue8590] test_httpservers.CGIHTTPServerTestCase failure on 3.1-maint Mac OS X

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Still reproducible? -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue8509] fix autoconf quoting in help strings and code snippets

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Patch has been applied; closing. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue6130] There ought to be a way for extension types to associate documentation with their tp_new or tp_init methods

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: Can anyone provide a way forward for this issue? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Pyt

[issue870479] Scripts need platform-dependent handling

2010-08-01 Thread Paul Moore
Paul Moore added the comment: I don't think that they do, any more than for any .py script. (I assume you're talking about in the .py script). Generated scripts on Unix can be whatever the code wants, and on Windows I thought the idea of generated scripts had been dropped. -- __

[issue6157] Tkinter.Text: changes for bbox, debug, and edit methods.

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: The suggested changes are mostly trivial, but there should be comments on the change to the bbox signature. -- nosy: +BreamoreBoy stage: -> patch review type: -> behavior versions: +Python 3.2 ___ Python tracker <

[issue8471] Unicode returns in doctest can make subsequent tests fail

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Thanks, applied in r83392. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed ___ Python tracker ___ _

[issue6159] Tkinter.PanedWindow: docstring fixes, change in paneconfigure and removed some returns

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: This issue is self explanatory, can it be committed as is? -- nosy: +BreamoreBoy stage: -> patch review type: -> behavior versions: +Python 3.2 ___ Python tracker

[issue1690103] trace module borks __file__

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r83393 with explicit globals that also specify __name__. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker __

[issue8821] Range check on unicode repr

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Applied in r83395. Thanks! -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue4810] timeit needs "official" '--' flag

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Usually I would say that this is common UNIX knowledge, except that timeit is also used in Windows environments. Also, the timeit help is already quite thorough, so it can't hurt to mention "--". Done in r83396. -- nosy: +georg.brandl resolution: ->

[issue6187] Improvement in doc of "Extending and Embedding the Python Interpreter, 5.3 Beyond Very High Level Embedding: An overview"

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: I don't see why this needs to be done, the 2nd paragraph of the doc is pretty explicit. "This document assumes basic knowledge about Python. For an informal introduction to the language, see The Python Tutorial. The Python Language Reference gives a more form

[issue6310] Windows "App Paths" key is not checked when installed for current user

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: Can a windows guru comment on this please. -- nosy: +BreamoreBoy, brian.curtin, tim.golden ___ Python tracker ___ ___

[issue8826] Invalid expires date in cookiejar

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r83398. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue7738] IDLE hang when tooltip comes up in Linux

2010-08-01 Thread Rakesh
Rakesh added the comment: I too have the same bug with python 2.6.4 and 3.1. The issue seems to be with Tk8.5. Earlier idle packages worked fine Tk8.4. -- nosy: +rakesh_d ___ Python tracker ___

[issue6187] Improvement in doc of "Extending and Embedding the Python Interpreter, 5.3 Beyond Very High Level Embedding: An overview"

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Agreed with Mark. -- resolution: -> works for me status: open -> closed ___ Python tracker ___ ___ Py

[issue7330] PyUnicode_FromFormat segfault

2010-08-01 Thread Ray.Allen
Ray.Allen added the comment: Here is the patch, it add support to use width and precision formatters in PyUnicode_FromFormat() for type %s, %S, %R, %V, %U, %A, besides fixed two bugs, which at least I believe: 1. According to PyUnicode_FromFormat() doc: http://docs.python.org/dev/py3k/c-api

[issue6338] Error message displayed on stderr when no C compiler is present with ctypes

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: The patch simply sends the error message to os.devnull. I can't test it as posix, but can it be committed as is? -- nosy: +BreamoreBoy ___ Python tracker _

[issue6226] Inconsistent 'file' vs 'stream' kwarg in pprint, other stdlibs

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: @Philip can you provide a patch so we can take this forward? -- nosy: +BreamoreBoy stage: -> needs patch versions: +Python 3.2 ___ Python tracker __

[issue6439] Demo/embed/demo.c use of PySys_SetArgv() is invalid

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: I can't see any sense in supplying a patch for what is a one word change to demo.c. Can a C guru please comment on the OP's 2nd paragraph. -- nosy: +BreamoreBoy ___ Python tracker

[issue6445] Add check parameter to subprocess.Popen.communicate

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: @OG7 this is unlikely to move unless you provide a patch that changes the code and the unit test. -- nosy: +BreamoreBoy stage: -> unit test needed type: -> feature request versions: +Python 3.2 ___ Python tracker

[issue6532] thread.get_ident() should return unsigned value

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: Can a C guru comment on this please. -- components: +Extension Modules -Library (Lib) nosy: +BreamoreBoy stage: -> needs patch type: -> behavior versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.4, Python 2.5, Python 2.6 ___

[issue8249] expat.ParserCreate - SystemError bad argument to internal function

2010-08-01 Thread Florent Xicluna
Florent Xicluna added the comment: Unable to reproduce. -- nosy: +haypo resolution: -> works for me status: pending -> closed ___ Python tracker ___

[issue6602] BaseHTTPServer log_message should log to sys.stdout

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: The OP's comments strike me as sensible, do others agree or disagree? -- components: +Library (Lib) -None nosy: +BreamoreBoy stage: -> unit test needed type: -> behavior versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___

[issue3718] environment variable MACHDEP and python build system

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: Can someone from the build team please review the patch, thanks. -- nosy: +BreamoreBoy stage: -> patch review type: -> behavior versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker

[issue9446] urllib2 tests fail when offline

2010-08-01 Thread Guandalino
New submission from Guandalino : urllib2 tests fail when internet connection is not available. $ cd ~/sandbox/2.7/lib/python2.7/test $ python test_urllib2.py other output, [cut] == ERROR: test_file (__main__.HandlerTests)

[issue9446] urllib2 tests fail when offline

2010-08-01 Thread Guandalino
Changes by Guandalino : Added file: http://bugs.python.org/file18307/online.log ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue6664] readlines should understand Line Separator and Paragraph Separator characters

2010-08-01 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +benjamin.peterson, pitrou stage: -> needs patch type: -> behavior versions: +Python 2.7, Python 3.2 ___ Python tracker ___ _

[issue9444] argparse does not honor prefix_chars when adding default options

2010-08-01 Thread Steven Bethard
Steven Bethard added the comment: Yes, this looks fine, assuming a test is also added. -- ___ Python tracker ___ ___ Python-bugs-list

[issue9416] complex formatting incorrectly omits a negative zero real part

2010-08-01 Thread Mark Dickinson
Mark Dickinson added the comment: Fixed in r83400, r83401, r83402. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue9399] Provide a 'print' action for argparse

2010-08-01 Thread Steven Bethard
Steven Bethard added the comment: The patch looks basically right. A few minor issues: * "message=None," should probably be "message,", that is, message should not be allowed to default to None - I can't see any use case for this action without a message. I believe this means the body of __ca

[issue6664] readlines should understand Line Separator and Paragraph Separator characters

2010-08-01 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo, lemburg versions: -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mai

[issue6691] Support for nested classes and function for pyclbr

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: Patch tested ok against 2.7 on windows vista. Patch seems clean to me, can we get this committed please. -- nosy: +BreamoreBoy stage: -> patch review versions: +Python 3.1 ___ Python tracker

[issue870479] Scripts need platform-dependent handling

2010-08-01 Thread Éric Araujo
Éric Araujo added the comment: Sorry, I was unclear. What I meant is: Do you (Tarek and platform experts) agree that scripts (in setup(scripts=...), not generated) need to have platform-specific EOLs? -- ___ Python tracker

[issue8620] wrong truncation of last line in cmd.Cmd

2010-08-01 Thread Éric Araujo
Éric Araujo added the comment: Universal newline mode helps when reading from stdin, but what I had in mind was actually in cmd.exe putting CRLF. Re-reading the original report, I see this is not a concern, since the bug is about cmd used with a file only, not interactively, so my remark was

[issue8620] wrong truncation of last line in cmd.Cmd

2010-08-01 Thread Éric Araujo
Éric Araujo added the comment: If “l” sorts after “a”, you’ve misplaced Catherine in ACKS. Funny how often this happens :) (Cheers for the Teach Me session by the way Catherine!) -- ___ Python tracker ___

[issue6696] Profile objects should be documented

2010-08-01 Thread Mark Lawrence
Changes by Mark Lawrence : -- assignee: georg.brandl -> d...@python nosy: +d...@python ___ Python tracker ___ ___ Python-bugs-list mail

[issue6706] asyncore's accept() is broken

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: @Giampaolo it looks as if you meant to attach a patch but didn't! :) If you do attach one could you also supply a modified unit test file with it, thanks. -- nosy: +BreamoreBoy stage: -> needs patch type: -> behavior versions: +Python 3.1, Python 3.2

[issue6858] This is a python file, apply syntax highlighting

2010-08-01 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +taleinat, tjreedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue9444] argparse does not honor prefix_chars when adding default options

2010-08-01 Thread Doug Hellmann
Doug Hellmann added the comment: I haven't read the existing tests, but I am not seeing the behavior described by Ted in msg112258. If I specify the prefix_chars as '+/' and define a long option '//myopt' then using ++myopt on the command line gives an error that the option is unrecognized.

[issue9444] argparse does not honor prefix_chars when adding default options

2010-08-01 Thread Doug Hellmann
Doug Hellmann added the comment: Oh, I should point out that last comment is describing what I see when using the unpatched 2.7 version of the module. -- ___ Python tracker ___

[issue6980] fix ctypes build failure on armel-linux-gnueabi with -mfloat-abi=softfp

2010-08-01 Thread Mark Lawrence
Mark Lawrence added the comment: @Matthias did you actually check the referenced patch in, sorry I don't know where to look? -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue9447] Python 3.1.2 test suite segfaults on the alpha architecture

2010-08-01 Thread Tobias Klausmann
New submission from Tobias Klausmann : During testing for inclusion in the Gentoo distribution, we ran into a test failure (actually a SEGV) when running the test suite on the alpha architecture. Log of test failure and backtrace in gdb is here: http://dev.gentoo.org/~klausman/python-3.1.2-test

[issue7952] fileobject.c can switch between fread and fwrite without an intervening flush or seek, invoking undefined behaviour

2010-08-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: The 2.x file object mostly mirrors abilities of the standard C buffered IO functions (including, for example, special behaviour of text files under Windows). Therefore, Python code should call flush() manually if needed. It should be noted that the 2.x file o

[issue9447] Python 3.1.2 test suite segfaults on the alpha architecture

2010-08-01 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: -> theller components: +ctypes nosy: +theller ___ Python tracker ___ ___ Python-bugs-list mai

[issue870479] Scripts need platform-dependent handling

2010-08-01 Thread Paul Moore
Paul Moore added the comment: Thanks for clarifying. No, I don't agree. Barring fancy "if os.platform" games in setup.py, scripts will be platform-independent Python code. From "Distributing Python Modules" section 2.5, "Scripts are files containing Python source code", and as such, should foll

[issue9332] Document requirements for os.symlink usage on Windows

2010-08-01 Thread Ned Batchelder
Ned Batchelder added the comment: This breaks virtualenv3 on Python 3.2, which simply test for the existence of os.symlink, which then fails for lack of privileges. Perhaps an os.can_symlink() method, returning a boolean? It can request privileges if you like, but provides a simple test tha

[issue9333] Expose a way to enable os.symlink on Windows

2010-08-01 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'm not sure the setting has to be restored. All that's being added is an attempt to assign the symlink privilege to the current process token. I would consider to attempt to assign the privilege when the Python process starts up (or when os is loaded) - and

[issue9332] Document requirements for os.symlink usage on Windows

2010-08-01 Thread Jason R. Coombs
Jason R. Coombs added the comment: Ned, you bring up a good point. Please see #9333 for a discussion on the new os.symlink and privileges. -- ___ Python tracker ___

[issue6858] This is a python file, apply syntax highlighting

2010-08-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Interesting idea. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue9444] argparse does not honor prefix_chars when adding default options

2010-08-01 Thread Theodore Turocy
Theodore Turocy added the comment: I was less than clear in what I wrote last night, Doug. What I mean is that the idiom "::foo" for a long argument, instead of the more standard-looking "--foo", appears in the test suite. This suggests to me that the intended behavior for the default help

[issue8397] BZ2File doesn't protect against mixed iterator and read usage

2010-08-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well I'm not the bz2 maintainer but I could take a look. The BZ2File implementation is generally a straight ripoff of the 2.x file object, with (de)compression calls added where necessary. I guess the ripoff was a one-shot effort and subsequent maintenance wa

[issue9447] Python 3.1.2 test suite segfaults on the alpha architecture

2010-08-01 Thread Tobias Klausmann
Tobias Klausmann added the comment: Nevermind, we messed this up ourselves. Sorry for the noise. -- status: open -> closed ___ Python tracker ___

[issue9400] multiprocessing.pool.AsyncResult.get() messes up exceptions

2010-08-01 Thread Ray.Allen
Ray.Allen added the comment: This is because when an subprocess.CalledProcessError is raised, the CalledProcessError instance is picked through a socket and then read by "parent" process, but in fact CalledProcessError instances cannot be picked correctly. Because CalledProcessError extends P

[issue9444] argparse does not honor prefix_chars when adding default options

2010-08-01 Thread Doug Hellmann
Doug Hellmann added the comment: I was actually surprised that prefix_chars didn't allow *any* of those characters to indicate an option. For example, a program on Unix might use options that start with '-', but also support '/' as a prefix under Windows. If that's the intended behavior, th

[issue8312] Add post/pre hooks for distutils commands

2010-08-01 Thread Éric Araujo
Éric Araujo added the comment: Should hooks be allowed for any command or just build and install? -- keywords: +gsoc resolution: -> accepted stage: -> needs patch type: -> feature request versions: +Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 _

[issue6439] Demo/embed/demo.c use of PySys_SetArgv() is invalid

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r83404. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue6520] urllib.urlopen does not have timeout parameter where as urllib2.urlopen has

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Not an issue anymore for Python 3. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Python tracker ___ __

[issue4943] trace.CoverageResults.write_results can't write results file for modules loaded by __path__ manipulation

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Should be fixed in r83405. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue9333] Expose a way to enable os.symlink on Windows

2010-08-01 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'm attaching this patch for discussion: Here's what I had in mind for addressing the NotImplementedError when calling os.symlink on Windows XP. During the posixmodule initialization, if the system does not have the CreateSymbolicLink API call, the function

[issue8046] mmap.mmap as a context manager

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Thanks, adapted to current trunk and applied in r83406. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed ___ Python tracker

[issue8602] documentation of bz2 module mildly erroneous

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Now present in all maintained branches. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Python tracker ___ _

[issue6858] This is a python file, apply syntax highlighting

2010-08-01 Thread Tal Einat
Tal Einat added the comment: I'm +1 on adding such an option to the menu, if only to be able to highlight files including only Python code which don't happen to have the .py extension. If support for files including not only Python code is important to anyone, some examples of such files woul

[issue6858] This is a python file, apply syntax highlighting

2010-08-01 Thread Tal Einat
Tal Einat added the comment: In the last paragraph of my previous post, instead of "is a different matter" read "may be problematic". -- ___ Python tracker ___ _

[issue2155] optparse.OptionGroup with_statement context handling

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: I agree with Sebastian that this is not a good use for a context manager. -- nosy: +georg.brandl resolution: -> rejected status: open -> closed ___ Python tracker __

[issue3757] threading.local doesn't support cyclic garbage collecting

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Do you want to fix that? -- assignee: -> pitrou nosy: +georg.brandl ___ Python tracker ___ ___ Python

[issue5319] I/O error during one-liner fails to return OS error status

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Python 2.6, from #5320: $ python2.6 -c 'print 1, 2, 3' > /dev/full || echo error status close failed in file object destructor: Error in sys.excepthook: Original exception was: $ Python 3.1 doesn't output anything and also doesn't set an error status.

[issue5320] I/O error during one-liner gives bad diagnostic (and fails to return OS error status)

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: I think this can be merged with #5319. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> I/O error during one-liner fails to return OS error status ___ Python tracker

[issue3757] threading.local doesn't support cyclic garbage collecting

2010-08-01 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: pitrou -> keywords: +easy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker ___ __

[issue5258] addpackage in site.py fails hard on badly formed .pth files

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Adding a patch that catches exceptions in a single addpackage() call and prints them. I'd like to have more input though if this is a Good Thing(tm). -- assignee: -> r.david.murray keywords: +patch nosy: +georg.brandl, r.david.murray Added file: http:/

[issue5551] os.path.ismount takes a cross-device symlink for a mountpoint

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Thanks, should be fixed in r83408. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue9441] increase logging handlers test coverage

2010-08-01 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I noticed that you use timedelta.total_seconds in secs which returns a float while no test covers fractional number of seconds. While not a problem with your choice of tests, equality comparison of floating point values commonly leads to fragile tests.

[issue8078] add more baud constants to termios

2010-08-01 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8105] mmap crash on Windows with out of range file descriptor

2010-08-01 Thread Brian Curtin
Brian Curtin added the comment: Fixed in r83407 (py3k), r83409 (release31-maint), and r83410 (release27-maint). -- assignee: -> brian.curtin components: +Extension Modules -Library (Lib) resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___

[issue8994] pydoc does not support non-ascii docstrings

2010-08-01 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9448] test_io leaks memory

2010-08-01 Thread Mark Dickinson
New submission from Mark Dickinson : regrest -L detects a memory leak in test_io, on OS X 10.6.4. newton:py3k dickinsm$ ./python.exe Lib/test/regrtest.py -L test_io test_io Testing large file ops skipped on darwin. It requires 2147483648 bytes and a long time. Use 'regrtest.py -u largefile tes

[issue9448] test_io leaks memory

2010-08-01 Thread Mark Dickinson
Mark Dickinson added the comment: test_constructor (test.test_io.CBufferedReaderTest) appears to be one of the offending tests. This is probably not an OS X specific problem. Removing 'Mac' from components. -- assignee: ronaldoussoren -> components: -Macintosh

[issue9448] test_io leaks memory

2010-08-01 Thread Mark Dickinson
Mark Dickinson added the comment: Minimal example to reproduce: the script below exhausts my system memory in a minute or two. import io rawio = io.BytesIO(b"abc") bufio = io.BufferedReader(rawio) while True: bufio.__init__(rawio) -- ___ Pytho

[issue9448] test_io leaks memory

2010-08-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can you try the following patch: diff -r 962e1a7a40fd Modules/_io/bufferedio.c --- a/Modules/_io/bufferedio.c Sun Aug 01 17:30:56 2010 +0200 +++ b/Modules/_io/bufferedio.c Sun Aug 01 18:39:39 2010 +0200 @@ -636,6 +636,8 @@ _buffered_init(buffered *self)

[issue9448] test_io leaks memory

2010-08-01 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- type: behavior -> resource usage versions: +Python 2.6, Python 2.7, Python 3.1 ___ Python tracker ___ __

[issue9449] glibc detected *** /usr/bin/python: corrupted double-linked list

2010-08-01 Thread Nikolaus Rath
New submission from Nikolaus Rath : $ python --version Python 2.6.5 $ pylint --version pylint 0.21.1, astng 0.20.1, common 0.50.3 Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] $ pylint pylint_crasher.py * Module pylint_crasher R0903: 62:Config: Too few public metho

[issue9444] argparse does not honor prefix_chars when adding default options

2010-08-01 Thread Steven Bethard
Steven Bethard added the comment: It is intentional that you have to specify both "/foo" and "+foo" if you want them to be aliases for the same argument. A common use case for prefix_chars is to define "+x" and "-x" options, which usually mean different things. As far as the current issue, I

[issue9448] test_io leaks memory

2010-08-01 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks! That fixes all the test_io leaks I was seeing. -- ___ Python tracker ___ ___ Python-bugs-li

[issue9444] argparse does not honor prefix_chars when adding default options

2010-08-01 Thread Doug Hellmann
Doug Hellmann added the comment: Explicitly specifying aliases makes sense, it just wasn't clear that was the intent from the existing documentation. So, I don't think the behavior needs to change, but a doc update might help. -- ___ Python tracke

[issue9444] argparse does not honor prefix_chars when adding default options

2010-08-01 Thread Steven Bethard
Steven Bethard added the comment: A doc patch would also be welcome, but I do think it's a bug that "ArgumentParser(prefix_chars='+')" throws an exception, and I think Ted's patch looks fine to me. -- ___ Python tracker

[issue9444] argparse does not honor prefix_chars when adding default options

2010-08-01 Thread Doug Hellmann
Doug Hellmann added the comment: Sorry I'm not being clear: I do like the patch, I think the exception should not be raised. -- ___ Python tracker ___ __

[issue9448] test_io leaks memory

2010-08-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks. Fixed in r83411 (py3k), r83412 (2.7), r83413 (3.1). -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

  1   2   >