[issue7896] IDLE.app crashes when attempting to open a .py file

2010-02-10 Thread John-Michael Glenn
John-Michael Glenn j-...@hotmail.com added the comment: I compiled it myself. I know there are issues with the system Tk 8.5 on OSX 10.6, although this is a new type of problem and and probably unrelated to the other ones. ...crap, I have 8.5 on 10.6.2 ...start IDLE by running

[issue7898] rlcompleter add real tab when text is empty feature

2010-02-10 Thread zhou wei
New submission from zhou wei lilaboc...@gmail.com: When I use rlcompleter in interactive Python mode, I think it will be more convenient if autocomplete produce a real tab when text-to-autocomplete is empty. For example: def test(): ...TAB will give: Display all 182 possibilities? (y or n)

[issue7863] platform module doesn't detect Windows 7

2010-02-10 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Brian Curtin wrote: Brian Curtin cur...@acm.org added the comment: Here's a patch which fixes this on trunk. 2.6/3.1 is a different story as there doesn't appear to be a way to get the platform type to differentiate

[issue7418] hashlib : the names of the different hash algorithms

2010-02-10 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +gps ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7418 ___ ___ Python-bugs-list mailing list

[issue7897] Support parametrized tests in unittest

2010-02-10 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- assignee: - michael.foord nosy: +michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7897 ___

[issue7898] rlcompleter add real tab when text is empty feature

2010-02-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: On the one hand, it makes sense for the common case of completing using the Tab key. On the other hand, it will appear quite bizarre to people who have another, dedicated key for auto-completion. By the way, rather than inserting a tab

[issue7505] ctypes not converting None to Null in 64-bit system

2010-02-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It works in 64-bit mode under Mandriva Linux (gcc 4.4.1), with Python 2.6, 2.7 and 3.2. $ python issue7505.py b = (nil) a = 7, c = 7, d = 7, e = 7, f = 7, g = 7, h = 7, i = 7, j = 7, k = 7, l = 7 I also works with a hand-compiled Python (2.6,

[issue6472] Update ElementTree with upstream changes

2010-02-10 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- title: Inconsistent use of iterator in ElementTree doc diff between Py and C modules - Update ElementTree with upstream changes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6472

[issue7582] [patch] diff.py to use iso timestamp

2010-02-10 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: This seems like a new feature to me so I'm removing 2.6 from the list. My browser won't let me remove Python 3.1. -- nosy: +barry versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org

[issue7899] MemoryError While Executing Python Code

2010-02-10 Thread Prashanth noble
New submission from Prashanth noble prashanth.b...@gmail.com: we are executing two queries and storing the result sets and matching the data. the table has got around 8 million records and while executing the same i am getting the Memory Issue. TRACE Arguments: [

[issue7582] [patch] diff.py to use iso timestamp

2010-02-10 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- keywords: +needs review type: behavior - feature request versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7582 ___

[issue7900] posix.getgroups() failure on Mac OS X

2010-02-10 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: test_posix fails on trunk on Mac OS X (Snow Leopard) test.test_support.TestFailed: Traceback (most recent call last): File Lib/test/test_posix.py, line 42, in testNoArgFunctions posix_func() OSError: [Errno 22] Invalid argument

[issue7582] [patch] diff.py to use iso timestamp

2010-02-10 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I use this tool in instructions how to generate patches on windows, so I am interested to see this fix in the version, that users will likely to use for next couple of years, but I'd be happy to see this committed in any branch. If it

[issue7585] [patch] difflib should separate filename from timestamp with tab

2010-02-10 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: The reason is to provide a good usage example. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7585 ___

[issue7588] unittest.TestCase.shortDescription isn't short anymore

2010-02-10 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Fixed revision 78130. -- resolution: - accepted stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7588

[issue7901] Add Vista/7 symlink support

2010-02-10 Thread Robert Paul Allen
New submission from Robert Paul Allen ipatrol6...@yahoo.com: I would like to see support for NTFS symbolic links to be added to the os module. As simple Popen('mklink') implementation could be used. Any other ideas? -- components: Library (Lib), Windows messages: 99170 nosy: ipatrol

[issue7893] unittest: have to subclass TextTestRunner to use alternative TestResult

2010-02-10 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Fixed revision 78130. -- resolution: - accepted stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7893

[issue7582] [patch] diff.py to use iso timestamp

2010-02-10 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: I'd like to propose to change default diff format to unicode as well What kind of unicode format is it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7582

[issue7901] Add Vista/7 symlink support

2010-02-10 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Duplicate of #1578269. -- nosy: +ezio.melotti resolution: - duplicate stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7501] python -m unittest path_to_suite_function errors

2010-02-10 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Use load_tests instead. -- resolution: - rejected stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7501

[issue7863] platform module doesn't detect Windows 7

2010-02-10 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: I'll look into whatever other trickery could be applied to 2.6/3.1. The patch against trunk works correctly for Win7, Win 2003 Server SP1, Win XP SP2, and Win 2000 Server SP2. platform.platform() outputs the same info for the latter three OSes

[issue6608] asctime causing python to crash

2010-02-10 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar sridh...@activestate.com: -- nosy: +srid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6608 ___ ___ Python-bugs-list

[issue5492] Error on leaving IDLE with quit() or exit() under Linux

2010-02-10 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar sridh...@activestate.com: -- nosy: +srid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5492 ___ ___ Python-bugs-list

[issue6393] OS X: python3 from python-3.1.dmg crashes at startup

2010-02-10 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar sridh...@activestate.com: -- nosy: +srid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6393 ___ ___ Python-bugs-list

[issue7902] relative import broken

2010-02-10 Thread ganges master
New submission from ganges master gangesmas...@users.sourceforge.net: the relative-import mechanism is broken... at least on python2.6 but i'd guess on later versions as well. consider this package layout: /tmp/foo/ /tmp/foo/__init__.py /tmp/foo/bar.py where bar.py is: # note

[issue7902] relative import broken

2010-02-10 Thread ganges master
ganges master gangesmas...@users.sourceforge.net added the comment: i believe brett is in charge of this, adding him to the noisy. sorry if it's not you :) -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org

[issue1533] Bug in range() function for large values

2010-02-10 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1533 ___ ___ Python-bugs-list

[issue7903] Configure script incorrect for reasonably recent OpenBSD

2010-02-10 Thread johns
New submission from johns j...@cox.net: Current OpenBSD is at 4.7 with a new release every six months. diff below: --- configure Mon Jun 8 17:22:57 2009 +++ configure.new Wed Feb 10 16:00:34 2010 @@ -2086,7 +2086,7 @@ # On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined,

[issue7902] relative import broken

2010-02-10 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: So doing the import manually through __import__('os', globals(), locals(), ['walk'], 1) does not work. My guess is it has something to do with the IMPORT_FROM opcode (or something related), but I don't have time right now to dig deeper.

[issue7904] urllib.urlparse mishandles novel schemes

2010-02-10 Thread mARK
New submission from mARK python.mblo...@xoxy.net: urlparse.urlsplit('s3://example/files/photos/161565.jpg') returns ('s3', '', '//example/files/photos/161565.jpg', '', '') instead of ('s3', 'example', '/files/photos/161565.jpg', '', '') according to rfc 3986 's3' is a valid scheme name, so the

[issue7903] Configure script incorrect for reasonably recent OpenBSD

2010-02-10 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Thanks for reporting. This looks like a duplicate of issue3920. -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7903

[issue7904] urllib.urlparse mishandles novel schemes

2010-02-10 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Thanks for the report, could you provide a patch with unit tests? -- nosy: +ezio.melotti priority: - normal stage: - test needed versions: +Python 2.6, Python 2.7 -Python 2.5 ___ Python tracker

[issue3819] urllib2 sends Basic auth across redirects

2010-02-10 Thread David Fischer
David Fischer dfisc...@ucsdmail.com added the comment: I attached a diff of a fix for this bug. This may not be the ideal fix, but hopefully it will give the developer who actually does resolve it a good start. -- keywords: +patch Added file:

[issue7835] Minor bug in 2.6.4 related to cleanup at end of program

2010-02-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Committed in r78137 to trunk, r78138 py26, r78139 py3k, and r78140 py31. -- components: +Library (Lib) -Interpreter Core resolution: - fixed stage: patch review - committed/rejected status: open - closed

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-02-10 Thread Vlastimil Brom
Vlastimil Brom vlastimil.b...@gmail.com added the comment: Thanks for the quick update, I confirm the fix for both issues; just another finding (while testing the behaviour mentioned previously - msg91917) The property name normalisation seem to be much more robust now, I just encountered an

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-02-10 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: False alarm, the failures are my fault. I had a previous version of symlink_support, and applying patch 25 added the contents of symlink_support to the file again, thus causing an ImportError on that file. Sorry about that. I removed the file,

[issue7903] Configure script incorrect for reasonably recent OpenBSD

2010-02-10 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: John Current OpenBSD is at 4.7 with a new release every six months. John diff below: ... John - OpenBSD/2.* | OpenBSD/3.[0123456789] | OpenBSD/4.[0123]) John + OpenBSD/2.* | OpenBSD/3.* | OpenBSD/4.[01234567]) Wouldn't it be

[issue5754] Shelve module writeback parameter does not act as advertised

2010-02-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Thanks for the patch. I applied the doc patch and a slightly simplified version of the test in r78141 (we tend to just let errors bubble up rather than code explicit Fails, since as often as not if you provide a specific message it

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-02-10 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: I've been aware for some time that exception messages in Python 2 can't be Unicode, but I wasn't sure which encoding to use, so I've decided to use that of sys.stdout. It appears to work OK in IDLE and at the Python prompt.

[issue7835] Minor bug in 2.6.4 related to cleanup at end of program

2010-02-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Fix modified to catch the case where the shutdown has also deleted module dictionary, at MAL's suggestion, in r78142. -- ___ Python tracker rep...@bugs.python.org

[issue7903] Configure script incorrect for reasonably recent OpenBSD

2010-02-10 Thread johns
johns j...@cox.net added the comment: Yeah or better yet take out the versioning entirely. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7903 ___

[issue7905] Shelf 'keyencoding' keyword argument is undocumented and does not work.

2010-02-10 Thread R. David Murray
New submission from R. David Murray rdmur...@bitdance.com: While working on another shelve issue I noticed that the keyencoding keyword argument was added to shelf, but that the value is hardcoded to 'utf-8' in the __init__ body. DbfilenameShelf does not have a keyencoding option, nor does

[issue2537] re.compile(r'((x|y+)*)*') should fail

2010-02-10 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Ruby's behavior seems best to me. We can obtain the Ruby behavior easily. There is one check in sre_compile.py in the '_simple' function that needs to be removed (see attached patch). Whether or not the Ruby behavior is the correct behavior

[issue5483] [PATCH]Add FastDbfilenameShelf: shelf nerver sync cache even when writeback=True

2010-02-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I agree that caching for speed is something that should be implemented in another layer. It certainly is orthogonal to the writeback issue. The best caching strategy is going to depend on the application, so I don't think caching for

[issue7904] urllib.urlparse mishandles novel schemes

2010-02-10 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Does s3 stand for the amazon s3 services? urlparse does not have it under its list of known schemes yet. Does s3 have any specifications as such or is aligned towards any of the known schemes (like http or ftp)? s3 is valid scheme name

[issue7899] MemoryError While Executing Python Code

2010-02-10 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Can you provide a test case which can reproduce the issue? Specifically one which doesn't require the use of your DatabaseLibrary package? -- nosy: +brian.curtin priority: - normal stage: - test needed type: performance - resource usage

[issue7904] urllib.urlparse mishandles novel schemes

2010-02-10 Thread mARK
mARK python.mblo...@xoxy.net added the comment: it's not actually necessary to have a list of known schemes. any url that has a double slash after the colon is expected to follow that with an authority section (what urlparse calls netloc), optionally followed by a path, which starts with a

[issue7903] Configure script incorrect for reasonably recent OpenBSD

2010-02-10 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Yeah or better yet take out the versioning entirely. Perhaps. Is 1.x treated differently than 2, 3 or 4? S -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7903

[issue7582] [patch] diff.py to use iso timestamp

2010-02-10 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I am sorry - too much windows to reply. This must be *unified*, of course. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7582 ___