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-8) and
Changes by Christian Heimes [EMAIL PROTECTED]:
--
dependencies: +Lower case file system encoding
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3723
___
Changes by Jesse Noller [EMAIL PROTECTED]:
--
nosy: +jnoller
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4204
___
___
Python-bugs-list mailing list
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 of
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
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]
Christian Heimes [EMAIL PROTECTED] added the comment:
Victor's patch fixes the issue with #3723.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4213
___
___
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment:
+1 on adding Viktor's patch.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4213
___
___
Python-bugs-list
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
assignee: - barry
nosy: +barry
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4212
___
___
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
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]
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 module
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:
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]
http://bugs.python.org/issue4204
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Ping.
--
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2306
___
___
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.
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]
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.) ==
Changes by Kevin Watters [EMAIL PROTECTED]:
--
nosy: +kevinwatters
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3545
___
___
Python-bugs-list mailing
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
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]
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
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('service
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
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
versions: +Python 2.7, Python 3.1
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4217
___
___
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
___
Python
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
27 matches
Mail list logo