[issue4213] Lower case file system encoding

2008-10-27 Thread Christian Heimes
New submission from Christian Heimes <[EMAIL PROTECTED]>: Python should lower case the file system encoding in Python/pythonrun.c. On several occasions Python optimizes code paths for lower case encodings like "utf-8" or "latin-1". On my Ubuntu system the file system encoding is upper case ("UTF-

[issue3723] Py_NewInterpreter does not work

2008-10-27 Thread Christian Heimes
Changes by Christian Heimes <[EMAIL PROTECTED]>: -- dependencies: +Lower case file system encoding ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-27 Thread Jesse Noller
Changes by Jesse Noller <[EMAIL PROTECTED]>: -- nosy: +jnoller ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing l

[issue4213] Lower case file system encoding

2008-10-27 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Converting to the lower case doesn't solve the problem: if the locale is "utf8" and Python checks for "utf-8", the optimization will fail. Another example: iso-8859-1, latin-1 or latin1? A correct patch would be to get the most common name

[issue4213] Lower case file system encoding

2008-10-27 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: The lower-casing doesn't hurt, since that's done anyway during codec lookup, but I'd be -1 on making this try to duplicate the aliasing already done by the encodings package. -- nosy: +lemburg

[issue4213] Lower case file system encoding

2008-10-27 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: Here is a patch to get the "most common charset name": use codecs.lookup(codeset).name. Added file: http://bugs.python.org/file11896/get_codeset.patch ___ Python tracker <[EMAIL PROTECTED]>

[issue4213] Lower case file system encoding

2008-10-27 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: Victor's patch fixes the issue with #3723. ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4213] Lower case file system encoding

2008-10-27 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: +1 on adding Viktor's patch. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs

[issue4212] email.LazyImporter does not use absolute imports

2008-10-27 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- assignee: -> barry nosy: +barry ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Pyt

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-27 Thread Akira Kitada
Akira Kitada <[EMAIL PROTECTED]> added the comment: Attached is the patch containing all fixes. I tested this on py3k and trunk on FreeBSD 4.11. The test was done by using unitests in Lib/test. Because I could not find a test for readline and multiprocessing's test does not work on systems with H

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-27 Thread Jesse Noller
Jesse Noller <[EMAIL PROTECTED]> added the comment: Please see issue3770 for details on the multiprocessing library, SEM_OPEN and freebsd. The short answer is that FreeBSD support for MP is not available. ___ Python tracker <[EMAIL PROTECTED]>

[issue4026] fcntl extension fails to build on AIX 6.1

2008-10-27 Thread inkblotter
inkblotter <[EMAIL PROTECTED]> added the comment: This occurs because it must link with -lbsd on AIX 6.1. If you hand link the failing module by adding -lbsd it builds quietly. If you build the prerequisites for the _tkinter module on AIX 6.1, you will also encounter an error becuase this modul

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-27 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: The test_math failure may well be due to a libm bug: tanh(-0.0) might be incorrectly (judging by the BSD man pages) dropping the negative sign from the negative zero. In the output of ./configure, there should be a line that looks like: ch

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-27 Thread Roumen Petrov
Roumen Petrov <[EMAIL PROTECTED]> added the comment: about changes in configure.in(issue4204.diff) - it seems to me that we could unify all darwin platforms. -- nosy: +rpetrov ___ Python tracker <[EMAIL PROTECTED]> _

[issue2306] Update What's new in 3.0

2008-10-27 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Ping. -- nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue4214] no extension debug info with msvc9compiler.py

2008-10-27 Thread Robin Dunn
New submission from Robin Dunn <[EMAIL PROTECTED]>: It looks like part of r59290 resulted in /pdb:None always being part of the ldflags_shared_debug list. This means that there will be no debug info stored for extensions built in debug mode, which kinda negates the purpose of doing a debug build

[issue4214] no extension debug info with msvc9compiler.py

2008-10-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Furthermore, /PDB:None is no more supported by VC2008 express. You end up with files named "None"... -- nosy: +amaury.forgeotdarc ___ Python tracker <[EMAIL PROTECTED]>

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-27 Thread Akira Kitada
Akira Kitada <[EMAIL PROTECTED]> added the comment: Here's the output of configure. Just as Mark said, it looks this is due to a libm bug. """ $ grep tanh config.log configure:22062: checking whether tanh preserves the sign of zero |and tanh(-0.) == -0. */ | atan2(tanh(-0.), -1.) =

[issue3545] Python turning off assertions (Windows)

2008-10-27 Thread Kevin Watters
Changes by Kevin Watters <[EMAIL PROTECTED]>: -- nosy: +kevinwatters ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mai

[issue4215] Running Python 2.6 GUI on Windows Vista

2008-10-27 Thread Joey Pallaria
New submission from Joey Pallaria <[EMAIL PROTECTED]>: I installed Python 2.6 a few days ago and tried to launch the Python IDLE GUI application. Nothing happened. I've read a couple issues about previous versions of Python IDLE not working on Windows Vista. and they recommended deleting the

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2008-10-27 Thread Akira Kitada
Akira Kitada <[EMAIL PROTECTED]> added the comment: Roumen, in Darwin, there is a macro called _DARWIN_C_SOURCE, which re-enables things disabled by _XOPEN_SOURCE or the like. (At least on OS X 10.5.5) ___ Python tracker <[EMAIL PROTECTED]>

[issue4211] frozen packages set an improper __path__ value

2008-10-27 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Looking at Python/import.c:find_module, fixing this will require changing the setting of __path__ for frozen packages and how frozen modules are found. The former will require changing PyImport_ImportFrozenModule() to use a list instead of a str

[issue4216] subprocess.Popen hangs at communicate() when child exits

2008-10-27 Thread Amy
New submission from Amy <[EMAIL PROTECTED]>: I have a simple program to call a shell command "service cpboot start" to start Check Point firewall on RHEL5.1. = #!/usr/bin/env python # vim: softtabstop=4 shiftwidth=4 expandtab import os from subprocess import * p = Popen('servic

[issue4217] Add file comparisons to the unittest library

2008-10-27 Thread Bill Hart
New submission from Bill Hart <[EMAIL PROTECTED]>: In the past year I've become a heavy user of the unittest package for managing a variety of software tests. One capability that I've frequently needed is the ability to generate text file outputs that can be compared against a baseline. To my k

[issue4217] Add file comparisons to the unittest library

2008-10-27 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- versions: +Python 2.7, Python 3.1 ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Py

[issue4049] IDLE does not open too

2008-10-27 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Giampaolo: I'm skeptical that the patch helps. If you can't start IDLE because you cannot import Tkinter, displaying the error in a tkMessageBox will do no good, either. -- nosy: +loewis ___ Pytho

[issue4215] Running Python 2.6 GUI on Windows Vista

2008-10-27 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Can you confirm that you used a "for me" installation, rather than a "for all" installation? If so, this is a duplicate of issue4018. Please understand that the bug tracker is not a place where you get help. Instead, it is a place where you