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

2010-02-10 Thread John-Michael Glenn
John-Michael Glenn 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 "/Applications/Python 2.6/ID

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

2010-02-10 Thread zhou wei
New submission from zhou wei : 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(): ... will give: Display all 182 possibilities? (y or n) instead of a real tab

[issue7863] platform module doesn't detect Windows 7

2010-02-10 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Brian Curtin wrote: > > Brian Curtin 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 workstation/server. #7766 is what mak

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

2010-02-10 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +gps ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue7897] Support parametrized tests in unittest

2010-02-10 Thread Michael Foord
Changes by Michael Foord : -- assignee: -> michael.foord nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2010-02-10 Thread Antoine Pitrou
Antoine Pitrou 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 character, it should pr

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

2010-02-10 Thread Antoine Pitrou
Antoine Pitrou 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, 2.7, 3.2) unde

[issue6472] Update ElementTree with upstream changes

2010-02-10 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- title: Inconsistent use of "iterator" in ElementTree doc & diff between Py and C modules -> Update ElementTree with upstream changes ___ Python tracker ___

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

2010-02-10 Thread Barry A. Warsaw
Barry A. Warsaw 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 _

[issue7899] MemoryError While Executing Python Code

2010-02-10 Thread Prashanth noble
New submission from Prashanth noble : 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: [ | ] FAIL MemoryError DEBUG Traceback (most rece

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

2010-02-10 Thread Brian Curtin
Changes by Brian Curtin : -- keywords: +needs review type: behavior -> feature request versions: -Python 3.1 ___ Python tracker ___ __

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

2010-02-10 Thread Michael Foord
New submission from Michael Foord : 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 Python 2.7a3+ (trunk:78

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

2010-02-10 Thread anatoly techtonik
anatoly techtonik 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 is going to be commit

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

2010-02-10 Thread anatoly techtonik
anatoly techtonik added the comment: The reason is to provide a good usage example. -- ___ Python tracker ___ ___ Python-bugs-list mai

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

2010-02-10 Thread Michael Foord
Michael Foord added the comment: Fixed revision 78130. -- resolution: -> accepted stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue7901] Add Vista/7 symlink support

2010-02-10 Thread Robert Paul Allen
New submission from Robert Paul Allen : 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 severity: normal status:

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

2010-02-10 Thread Michael Foord
Michael Foord added the comment: Fixed revision 78130. -- resolution: -> accepted stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

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

2010-02-10 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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 ___

[issue7901] Add Vista/7 symlink support

2010-02-10 Thread Ezio Melotti
Ezio Melotti added the comment: Duplicate of #1578269. -- nosy: +ezio.melotti resolution: -> duplicate stage: -> committed/rejected status: open -> closed ___ Python tracker __

[issue7501] python -m unittest path_to_suite_function errors

2010-02-10 Thread Michael Foord
Michael Foord added the comment: Use load_tests instead. -- resolution: -> rejected stage: -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue7863] platform module doesn't detect Windows 7

2010-02-10 Thread Brian Curtin
Brian Curtin 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 whether or not th

[issue6608] asctime causing python to crash

2010-02-10 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

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

2010-02-10 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

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

2010-02-10 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue7902] relative import broken

2010-02-10 Thread ganges master
New submission from ganges master : 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 this is a relative import and shoul

[issue7902] relative import broken

2010-02-10 Thread ganges master
ganges master 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 ___ __

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

2010-02-10 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue7903] Configure script incorrect for reasonably recent OpenBSD

2010-02-10 Thread johns
New submission from johns : 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, # even thoug

[issue7902] relative import broken

2010-02-10 Thread Brett Cannon
Brett Cannon 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 : 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 '://' indicates a URL w

[issue7903] Configure script incorrect for reasonably recent OpenBSD

2010-02-10 Thread Stefan Krah
Stefan Krah added the comment: Thanks for reporting. This looks like a duplicate of issue3920. -- nosy: +skrah ___ Python tracker ___

[issue7904] urllib.urlparse mishandles novel schemes

2010-02-10 Thread Ezio Melotti
Ezio Melotti 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 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: http://bugs.python.org/file16204/urllib2-3819.diff _

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

2010-02-10 Thread R. David Murray
R. David Murray 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 ___ Pyt

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

2010-02-10 Thread Vlastimil Brom
Vlastimil Brom 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 encoding error using a ra

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

2010-02-10 Thread Brian Curtin
Brian Curtin 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, applied patch 25

[issue7903] Configure script incorrect for reasonably recent OpenBSD

2010-02-10 Thread Skip Montanaro
Skip Montanaro 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 better to just

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

2010-02-10 Thread R. David Murray
R. David Murray 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 turns out to be wrong whe

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

2010-02-10 Thread Matthew Barnett
Matthew Barnett 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. issue2636-20100211.zip is the new

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

2010-02-10 Thread R. David Murray
R. David Murray 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 __

[issue7903] Configure script incorrect for reasonably recent OpenBSD

2010-02-10 Thread johns
johns added the comment: Yeah or better yet take out the versioning entirely. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

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

2010-02-10 Thread R. David Murray
New submission from R. David Murray : 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 open, but BsdDbShelf do

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

2010-02-10 Thread Meador Inge
Meador Inge 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 I am still not

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

2010-02-10 Thread R. David Murray
R. David Murray 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 speed belongs in Shelv

[issue7904] urllib.urlparse mishandles novel schemes

2010-02-10 Thread Senthil Kumaran
Senthil Kumaran 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 according to rfc 3986,

[issue7899] MemoryError While Executing Python Code

2010-02-10 Thread Brian Curtin
Brian Curtin 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 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 slash. there are vario

[issue7903] Configure script incorrect for reasonably recent OpenBSD

2010-02-10 Thread Skip Montanaro
Skip Montanaro 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 ___ _

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

2010-02-10 Thread anatoly techtonik
anatoly techtonik added the comment: I am sorry - too much windows to reply. This must be *unified*, of course. -- ___ Python tracker ___