[issue6523] smtplib exception smtp.connect TypeError encode_plain

2009-07-20 Thread Leonard Kevin McGuire Jr
New submission from Leonard Kevin McGuire Jr kmcgu...@kmcguire.org: -- SYSTEM INFORMATION - module: smtplib system: linux python3.0 -V Python 3.0.1+ - TEST CASE PYTHON SOURCE - import smtplib smtp = smtplib.SMTP() smtp.connect('mail.myserver.org')

[issue6524] tarfile module missing decompression support?

2009-07-20 Thread Henrik ravn
New submission from Henrik ravn hra...@gmail.com: When doing the following with python 2.6.2 on Windows Vista SP1: import tarfile tf = tarfile.TarFile(sometarfile.tar.bz2) Traceback (most recent call last): File pyshell#2, line 1, in module tf = tarfile.TarFile(sometarfile.tar.bz2)

[issue6524] tarfile module missing decompression support?

2009-07-20 Thread Henrik ravn
Henrik ravn hra...@gmail.com added the comment: Nevermind - apparently I misunderstood the docs. Sorry. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6524 ___

[issue5188] telnetlib process_rawq buffer handling is confused

2009-07-20 Thread LazyLogik
LazyLogik naimesh.thak...@gmail.com 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

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

2009-07-20 Thread Michael Haubenwallner
Michael Haubenwallner michael.haubenwall...@salomon.at 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

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

2009-07-20 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: - michael.foord nosy: +michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6514 ___

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

2009-07-20 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk 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 rep...@bugs.python.org

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

2009-07-20 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk 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 rep...@bugs.python.org

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

2009-07-20 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk 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

[issue6491] Improve --with-dbmliborder option

2009-07-20 Thread djc
Changes by djc dirk...@ochtman.nl: -- nosy: +djc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6491 ___ ___ Python-bugs-list mailing list

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

2009-07-20 Thread Graham Dumpleton
Graham Dumpleton graham.dumple...@gmail.com 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:

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

2009-07-20 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: georg.brandl - benjamin.peterson nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6522 ___

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

2009-07-20 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: benjamin.peterson - georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6522 ___

[issue6462] bsddb3 intermittent test failures

2009-07-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue6525] Problem with string.lowercase in Windows XP

2009-07-20 Thread Peter Landgren
New submission from Peter Landgren peter.tal...@telia.com: 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

[issue6525] Problem with string.lowercase in Windows XP

2009-07-20 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- priority: - normal type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6525 ___

[issue6525] Problem with string.lowercase in Windows XP

2009-07-20 Thread Peter Landgren
Peter Landgren peter.tal...@telia.com added the comment: Thru, but later in the application code like this a = uqaz + string.lowercase[26] causes a = uqaz + string.lowercase[26] UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 0: ordinal not in range(128) 0x83

[issue6525] Problem with string.lowercase in Windows XP

2009-07-20 Thread Peter Landgren
Peter Landgren peter.tal...@telia.com added the comment: True, but later in the application code like this a = uqaz + string.lowercase[26] causes a = uqaz + string.lowercase[26] UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 0: ordinal not in range(128) 0x83

[issue6525] Problem with string.lowercase in Windows XP

2009-07-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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:

[issue6525] Problem with string.lowercase in Windows XP

2009-07-20 Thread Peter Landgren
Peter Landgren peter.tal...@telia.com 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

[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 rdmur...@bitdance.com: 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

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

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

[issue6525] Problem with string.lowercase in Windows XP

2009-07-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[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 rdmur...@bitdance.com: 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

[issue6528] builtins colored as keyword at beginning of line

2009-07-20 Thread Freiddie
New submission from Freiddie fei.yua...@gmail.com: 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

[issue6528] builtins colored as keyword at beginning of line

2009-07-20 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +gpolo priority: - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6528 ___ ___

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

2009-07-20 Thread Danek Duvall
New submission from Danek Duvall duv...@comfychair.org: 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

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

2009-07-20 Thread Brett Cannon
Brett Cannon br...@python.org 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

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

2009-07-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2009-07-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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,

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

2009-07-20 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: On Mon, Jul 20, 2009 at 16:25, R. David Murray rep...@bugs.python.orgwrote: R. David Murray rdmur...@bitdance.com 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

[issue6530] Regression on python -Wi crash

2009-07-20 Thread Kurt B. Kaiser
New submission from Kurt B. Kaiser k...@shore.net: Rev 73196 http://svn.python.org/ view?view=revrevision=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