[issue6525] Problem with string.lowercase in Windows XP

2009-07-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue6525] Problem with string.lowercase in Windows XP

2009-07-20 Thread Peter Landgren
Peter Landgren added the comment: Just some more test. I compared the result of string.letters, string.uppercase and string.lowercase in 2.5 and 2.6: Python25: Letters= ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzâèîÄܣ׃¬Á║└┴┬├─┼ãà ╚╔╩╦╠═╬¤ðÐÊËÈıÍÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷°¨·¹³²■ 

[issue6530] Regression on "python -Wi" crash

2009-07-20 Thread Kurt B. Kaiser
New submission from Kurt B. Kaiser : Rev 73196 http://svn.python.org/ view?view=rev&revision=73196 Caused regression on http://bugs.python.org/issue1503294 when running build.sh: (gdb) r -Wi Starting program: /home/neal/python/trunk/ python -Wi warning: Unable to find dynamic linker breakpo

[issue6526] importlib.import_module affects permissions of .pyc files subsequently created by import

2009-07-20 Thread Brett Cannon
Brett Cannon added the comment: On Mon, Jul 20, 2009 at 16:25, R. David Murray wrote: > > R. David Murray added the comment: > > Oh, a bit of clarification: the call that creates the pyc file in both > the "normal" case and the error case is a call to the normal import > command (or __import__

[issue6526] importlib.import_module affects permissions of .pyc files subsequently created by import

2009-07-20 Thread R. David Murray
R. David Murray added the comment: Oh, a bit of clarification: the call that creates the pyc file in both the "normal" case and the error case is a call to the normal import command (or __import__ in the test case). The call to import_module is a prereq to producing the bug, but it doesn't matte

[issue6526] importlib.import_module affects permissions of .pyc files subsequently created by import

2009-07-20 Thread R. David Murray
R. David Murray added the comment: If you have a .py file with permissions r--r--r-- and you import it, the pyc file will (in 2.6+ and 3.x) have permissions r--r--r--. However, if '.' is in the path and import_module has been used, the file will instead have permissions rw--r--r-- (assuming the

[issue6526] importlib.import_module affects permissions of .pyc files subsequently created by import

2009-07-20 Thread Brett Cannon
Brett Cannon added the comment: import_module are implemented completely differently between 2.6 and 3.1, so the difference is not surprising. As for the permission stuff, the files are simply created using open(..., 'wb') so it has everything to do with what the system default for the execu

[issue6529] get{pw,gr}{nam,[ug]id}() calls are not re-entrant

2009-07-20 Thread Danek Duvall
New submission from Danek Duvall : In tracking down 6861990 getgrnam_r() str2group() function makes decisions based on return value before it's set (viewable on bugs.opensolaris.org), I noted that the pwd and grp modules don't use the MT-safe interfaces to the password and group name se

[issue6528] builtins colored as keyword at beginning of line

2009-07-20 Thread R. David Murray
Changes by R. David Murray : -- nosy: +gpolo priority: -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue6528] builtins colored as keyword at beginning of line

2009-07-20 Thread Freiddie
New submission from Freiddie : I noticed in that whenever I enter "None" at the beginning of the line in IDLE 3.1, the word is colored orange (for keywords) rather than purple. If I insert a space right before the "None", it returns to its normal purple color (for builtins), so it only seems to o

[issue6527] test_ttk_guionly buildbot test crash: Tcl_FinalizeNotifier: notifier pipe not initialized

2009-07-20 Thread R. David Murray
New submission from R. David Murray : The buildbots occasionally crash in test_ttk_guionly with the following output: test_ttk_guionly Tcl_FinalizeNotifier: notifier pipe not initialized make: *** [buildbottest] Abort trap program finished with exit code 2 Here is an example: http://www.python

[issue6525] Problem with string.lowercase in Windows XP

2009-07-20 Thread R. David Murray
R. David Murray added the comment: Hmm. I thought I remembered looking at this before. See (closed) issue 1633600. It looks like the linux issue is fixed in 2.7, but I'm not sure when or how, nor can I reproduce my test or yours at the moment since I seem to have a configuration problem on my

[issue6526] importlib.import_module affects permissions of .pyc files subsequently created by import

2009-07-20 Thread R. David Murray
R. David Murray added the comment: Test case. -- keywords: +patch Added file: http://bugs.python.org/file14526/issue6526-test.diff ___ Python tracker ___

[issue6526] importlib.import_module affects permissions of .pyc files subsequently created by import

2009-07-20 Thread R. David Murray
New submission from R. David Murray : In debugging an intermittent test failure we discovered that if '.' is in the path and import_module is called, then what happens when __import__ causes the creation of a .pyc file changes. Without the forgoing, the permissions of the .py file are copied to

[issue6525] Problem with string.lowercase in Windows XP

2009-07-20 Thread Peter Landgren
Peter Landgren added the comment: OK about 2.5 Downloaded and installed Python 2.6.2 on my Win XP box and get the same error as with Python 2.5.1. Ok about Python 3, it will be nice when we have upgraded our application, Gramps, to this version and get rid of all kind of coding issues. ---

[issue6525] Problem with string.lowercase in Windows XP

2009-07-20 Thread R. David Murray
R. David Murray added the comment: That's still not a crash...a crash is when the python interpreter fails. 2.5 isn't getting bug fixes any more. Do you see the same problem in 2.6? In 3.x this is a non-issue, since 3.x uses unicode internally. -- nosy: +r.david.murray _

[issue6525] Problem with string.lowercase in Windows XP

2009-07-20 Thread Peter Landgren
Peter Landgren added the comment: True, but later in the application code like this a = u"qaz" + string.lowercase[26] causes a = u"qaz" + string.lowercase[26] UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 0: ordinal not in range(128) 0x83 corresponds to â. --

[issue6525] Problem with string.lowercase in Windows XP

2009-07-20 Thread Peter Landgren
Peter Landgren added the comment: Thru, but later in the application code like this a = u"qaz" + string.lowercase[26] causes a = u"qaz" + string.lowercase[26] UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 0: ordinal not in range(128) 0x83 corresponds to â. --

[issue6525] Problem with string.lowercase in Windows XP

2009-07-20 Thread R. David Murray
Changes by R. David Murray : -- priority: -> normal type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue6525] Problem with string.lowercase in Windows XP

2009-07-20 Thread Peter Landgren
New submission from Peter Landgren : string.lowercase is changed after locale.setlocale(locale.LC_ALL,'') in Windows XP but not in Linux. This little test script on Windows XP and Linux explains the problem: import locale import string print string.lowercase print locale.setlocale(locale.LC_ALL,

[issue6462] bsddb3 intermittent test failures

2009-07-20 Thread R. David Murray
R. David Murray added the comment: Another buildbot intermittent failure, this one from http://www.python.org/dev/buildbot/all/x86%20XP-4%20trunk/builds/2332 ie: the x86 XP-4 buildbot: Traceback (most recent call last): File "E:\cygwin\home\db3l\buildarea\trunk.bolen-windows\build\lib\thr

[issue6522] docs for unittest.expectedFailure do not syntactically show it's a decorator

2009-07-20 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: benjamin.peterson -> georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue6522] docs for unittest.expectedFailure do not syntactically show it's a decorator

2009-07-20 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: georg.brandl -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker ___ ___ Pytho

[issue4200] atexit module not safe in Python 3.0 with multiple interpreters

2009-07-20 Thread Graham Dumpleton
Graham Dumpleton added the comment: This new problem I am seeing looks like it may be linked to where the 'atexit' module is initialised/imported in a sub interpreter but never in the main interpreter. I can avoid the crash by having: PyImport_ImportModule("atexit"); Py_Finalize();

[issue6491] Improve --with-dbmliborder option

2009-07-20 Thread djc
Changes by djc : -- nosy: +djc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/op

[issue6514] "python -m unittest " does not run any tests

2009-07-20 Thread Michael Foord
Michael Foord added the comment: This isn't a bug - the command line message if you run "python -m unittest" on Python 2.4-2.6 is just confusing. It has never worked. -- resolution: -> rejected status: open -> closed ___ Python tracker

[issue6514] "python -m unittest " does not run any tests

2009-07-20 Thread Michael Foord
Michael Foord added the comment: Ha - no I can't reproduce it on trunk. The python -m features are new in trunk and neither documented nor working in 2.4-2.6. -- ___ Python tracker

[issue6514] "python -m unittest " does not run any tests

2009-07-20 Thread Michael Foord
Michael Foord added the comment: I can duplicate the problem - I wonder if this has to do with the refactoring into a package? Anyway, thanks for catching this. -- ___ Python tracker ___

[issue6514] "python -m unittest " does not run any tests

2009-07-20 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> michael.foord nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue6163] [HP-UX] ld: Unrecognized argument: +s -L

2009-07-20 Thread Michael Haubenwallner
Michael Haubenwallner added the comment: Ohw, indeed, this line was copied from 3 lines below, sorry! The actual patch I'm using does not do { compiler[:3] == 'gcc' }, but { compiler.find("gcc") }, to also work when CC=gcc-version, but this is a different problem independent of hp-ux. But exact

[issue5188] telnetlib process_rawq buffer handling is confused

2009-07-20 Thread LazyLogik
LazyLogik added the comment: Hello, I am also facing problems in using telnetlib. I think following changes are also required. e.g. on line 442 (if c!= IAC) should be replaced with (if c!= IAC[0]). Similarly line 465 (if cmd in (DO, DONT)) should be replaced with (if cmd in (DO[0], DONT[0])

[issue6524] tarfile module missing decompression support?

2009-07-20 Thread Henrik ravn
Henrik ravn added the comment: Nevermind - apparently I misunderstood the docs. Sorry. -- status: open -> closed ___ Python tracker ___ __