[issue4006] os.getenv silently discards env variables with non-UTF-8 values

2008-10-01 Thread Toshio Kuratomi

New submission from Toshio Kuratomi <[EMAIL PROTECTED]>:

On a Linux system with a locale setting whose encoding is utf-8, if you
set an environment variable to have a non-utf-8 chanacter, that
environment variable silently does not appear in os.environ::

mkdir ñ
convmv -f utf-8 -t latin-1 --notest ñ
for i in * ; do export PATH=$PATH:$i ; done
echo $PATH
/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/home/badger/bin:�
python3.0
Python 3.0rc1 (r30rc1:66499, Sep 28 2008, 08:21:09) 
[GCC 4.3.0 20080428 (Red Hat 4.3.0-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.environ['PATH']
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python3.0/os.py", line 389, in __getitem__
return self.data[self.keymap(key)]
KeyError: 'PATH'

I'm uncertain of the impact of this.  It was brought up in a discussion
of sending non-ASCii data to a CGI-WSGI script where the data would be
transferred via os.environ.

--
components: Unicode
messages: 74118
nosy: a.badger
severity: normal
status: open
title: os.getenv silently discards env variables with non-UTF-8 values
type: behavior

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2008-10-01 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:

For the moment, I'd suggest that one unicode character has a the same
with as the space character, assuming that stdout.encoding correctly
matches the terminal.

Then the C implementation could do something similar to the statements I
added in traceback.py:
offset = len(line.encode('utf-8')[:offset].decode('utf-8'))

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4005] pydoc in web server mode tails at initial request

2008-10-01 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:

The problem occurs when sys.path contains the name of an existing zip file.

Here is a patch, with tests.

--
keywords: +needs review, patch
nosy: +amaury.forgeotdarc
priority:  -> critical
Added file: http://bugs.python.org/file11671/pkgutil.patch

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3448] Multi-process 2to3

2008-10-01 Thread Collin Winter

Collin Winter <[EMAIL PROTECTED]> added the comment:

I believe the only issue I recall was that the patch didn't work
out-of-the-box for Python 2.6 (changed imports, PEP 8 compliance changes
in the multiprocess module). Has that been fixed?

I disagree with Benjamin: this is an import speed increase, and I don't
see the point in adding the needless complexity of a subclass. The user
won't notice any difference, and anyone wanting to use this as a library
will want the faster version.

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3959] Add Google's ipaddr.py to the stdlib

2008-10-01 Thread Giampaolo Rodola'

Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>:


--
nosy: +giampaolo.rodola

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3774] tkinter Menu.delete bug

2008-10-01 Thread Dan OD

Dan OD <[EMAIL PROTECTED]> added the comment:

gpolo's patch issue3774_2.diff does seem to fix this bug, but it's not in 
the SVN trunk - could this be done before 2.6 final? Thanks!

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3974] collections.namedtuple uses exec to create new classes

2008-10-01 Thread Antoine Pitrou

Antoine Pitrou <[EMAIL PROTECTED]> added the comment:

Have you run benchmarks of both versions? It seems the benefit of the
original version is that it's faster, thanks to hardcoding critical methods.

--
nosy: +pitrou

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3620] test_smtplib is flaky

2008-10-01 Thread Giampaolo Rodola'

Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>:


--
nosy: +giampaolo.rodola

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3989] Tools\Scripts\2to3.py broken under 3.0 rc1 Windows

2008-10-01 Thread Martin v. Löwis

Martin v. Löwis <[EMAIL PROTECTED]> added the comment:

This is now fixed in r66710 and r66711.

--
resolution:  -> fixed
status: open -> closed

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2944] asyncore doesn't handle connection refused correctly

2008-10-01 Thread Giampaolo Rodola'

Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment:

This should have already been fixed in r64062.

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1541] Bad OOB data management when using asyncore with select.poll()

2008-10-01 Thread Giampaolo Rodola'

Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>:


--
nosy: +josiah.carlson

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3863] 2.6rc1: test_threading hangs on FreeBSD 6.3 i386

2008-10-01 Thread Martin v. Löwis

Changes by Martin v. Löwis <[EMAIL PROTECTED]>:


--
priority: release blocker -> deferred blocker

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1736190] asyncore/asynchat patches

2008-10-01 Thread Giampaolo Rodola'

Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment:

This issue should be closed.

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1161031] Neverending warnings from asyncore

2008-10-01 Thread Giampaolo Rodola'

Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>:


--
nosy: +giampaolo.rodola

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue658749] asyncore connect() and winsock errors

2008-10-01 Thread Giampaolo Rodola'

Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>:


--
nosy: +giampaolo.rodola

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2944] asyncore doesn't handle connection refused correctly

2008-10-01 Thread Alexander Shigin

Alexander Shigin <[EMAIL PROTECTED]> added the comment:

I've got the same error in r64768.

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4007] make clean fails to delete .a and .so.X.Y files

2008-10-01 Thread Skip Montanaro

New submission from Skip Montanaro <[EMAIL PROTECTED]>:

The "clean" target in the makefile fails to delete the libpython.a file
and the libpython.so.X.Y file (should you have configured using
--enable-shared).  The attached trivial patch solves that problem.
The patch is against the trunk as of just before the 2.6 final release.
It will almost certainly apply cleanly to the py3k version as well.

--
components: Build
keywords: easy, patch
messages: 74128
nosy: skip.montanaro
priority: normal
severity: normal
status: open
title: make clean fails to delete .a and .so.X.Y files
type: behavior

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2008-10-01 Thread Hirokazu Yamamoto

Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment:

Amaury, if doing so, the cursor will shift left by 5 columns on my
environment like this, no? ("あ" requires 2 columns for example)

print "あいうえお"
^

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue214033] re incompatibility in sre

2008-10-01 Thread Collin Winter

Changes by Collin Winter <[EMAIL PROTECTED]>:


--
nosy:  -collinwinter

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3774] tkinter Menu.delete bug

2008-10-01 Thread Hirokazu Yamamoto

Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment:

I think gpolo's patch can go.

>I'm not sure (self._tclCommands is not None) check is not really needed.

I want to cancel this opinion. I saw no self._tclCommands check before
any other deletecommand() call, I beleive this is OK.

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4008] IDLE: checksyntax() doesn't support Unicode?

2008-10-01 Thread STINNER Victor

New submission from STINNER Victor <[EMAIL PROTECTED]>:

IDLE checksyntax() function doesn't support Unicode. Example with 
idle-3.0rc1-quits-when-run.py in an ASCII terminal:

$ ./python Tools/scripts/idle
Exception in Tkinter callback
Traceback (most recent call last):
  File "/home/haypo/prog/py3k/Lib/tkinter/__init__.py", line 1405, in 
__call__
return self.func(*args)
  File "/home/haypo/prog/py3k/Lib/idlelib/ScriptBinding.py", line 124, 
in run_module_event
code = self.checksyntax(filename)
  File "/home/haypo/prog/py3k/Lib/idlelib/ScriptBinding.py", line 86, 
in checksyntax
source = f.read()
  File "/home/haypo/prog/py3k/Lib/io.py", line 1719, in read
decoder.decode(self.buffer.read(), final=True))
  File "/home/haypo/prog/py3k/Lib/io.py", line 1294, in decode
output = self.decoder.decode(input, final=final)
  File "/home/haypo/prog/py3k/Lib/encodings/ascii.py", line 26, in 
decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 
87: ordinal not in range(128)

To open an ASCII terminal on Linux, you can for example use xterm with 
an empty environment (except DISPLAY and HOME variables): "env -i 
DISPLAY=$DISPLAY HOME=$HOME xterm".

--
components: IDLE
files: idle-3.0rc1-quits-when-run.py
messages: 74131
nosy: haypo
severity: normal
status: open
title: IDLE: checksyntax() doesn't support Unicode?
versions: Python 3.0
Added file: http://bugs.python.org/file11672/idle-3.0rc1-quits-when-run.py

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4009] A Minor Glitch in the Documentation

2008-10-01 Thread John

New submission from John <[EMAIL PROTECTED]>:

Hello,

I don't know why my previous bug report was ignored, but I must report 
this. Since this is a minor glitch, I hope it will be fixed. Please be 
so kind and fix this.

Please go here and see the 3rd code example:
http://docs.python.org/dev/3.0/library/functions.html?
highlight=property#property

class C(object):
def __init__(self): self._x = None


All other lines in the code example are written in the way that the 
code block of the function definition is in the next line and properly 
indented. Please fix this little glitch. Thank you.

--
assignee: georg.brandl
components: Documentation
messages: 74132
nosy: fretai, georg.brandl
severity: normal
status: open
title: A Minor Glitch in the Documentation
versions: Python 3.0, Python 3.1

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4009] A Minor Glitch in the Documentation

2008-10-01 Thread Georg Brandl

Georg Brandl <[EMAIL PROTECTED]> added the comment:

Please stop wasting our time. There is no bug in how this class is written.

--
resolution:  -> wont fix
status: open -> closed

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4008] IDLE: checksyntax() doesn't support Unicode?

2008-10-01 Thread STINNER Victor

STINNER Victor <[EMAIL PROTECTED]> added the comment:

Hum, the problem is that IDLE asks io.open() to detect the charset 
whereas open() doesn't know the #coding: header. So if your locale is 
ASCII, CP1252 or anything different of UTF-8, read the file will 
fails.

I wrote a patch to detect the encoding. Python code (detect_encoding() 
function) is based on PyTokenizer_FindEncoding() and get_coding_spec() 
(from Parser/tokenizer.c). There is no existing Python function to 
detect the encoding of a Python script? (a public function available 
in a Python script)

--
keywords: +patch
Added file: http://bugs.python.org/file11673/idle_encoding.patch

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3978] ZipFileExt.read() can be incredibly slow

2008-10-01 Thread James Athey

James Athey <[EMAIL PROTECTED]> added the comment:

Why not include this in 2.6.1 or 3.0.1?  The patch fixes several bugs;
it does not provide any new functionality.

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3974] collections.namedtuple uses exec to create new classes

2008-10-01 Thread Raymond Hettinger

Raymond Hettinger <[EMAIL PROTECTED]> added the comment:

The current version is clear and maintainable.  There is nothing unholy
about using exec.  Earlier versions used other approaches and they
proved unnecessarily complex and had unexpected problems.  It is a key
feature for named tuples that they are exactly equivalent to a
hand-written class.

I appreciate your effort but am rejecting it flat-out.

--
resolution:  -> rejected
status: open -> closed

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4010] configure options don't trickle down to distutils

2008-10-01 Thread Skip Montanaro

New submission from Skip Montanaro <[EMAIL PROTECTED]>:

If you are fortunate enough to have all your third-party libraries in
a single quasi-standard location, say, /usr/local/lib, you will
probably have never encountered this problem, but setting environment
variables like LDFLAGS don't get translated into the relevant args for
the distutils build_ext command.  The evidence for this is this output
at the end of the make process:

Failed to find the necessary bits to build these modules:
_hashlib   _sqlite3   _ssl
bsddb185   linuxaudiodev  ossaudiodev
To find the necessary bits, look in setup.py in detect_modules() for
the module's name.


Failed to build these modules:
_curses_curses_panel  _tkinter
gdbm   readline

Here's the specific failure for readline:

>>> import readline_failed
Traceback (most recent call last):
  File "", line 1, in 
ImportError: ld.so.1: python: fatal: libreadline.so.4: open failed: No
such file or directory

yet if you poke around in my config.status file you'll see that I set
the relevant -L and -R flags:

s,@LDFLAGS@,|#_!!_#|-L/opt/app/nonc++/ncurses-5.6/lib
-R/opt/app/nonc++/ncurses-5.6/lib -L/opt/app/nonc++/gdbm-1.8/lib
-R/opt/app/nonc++/gdbm-1.8/lib -L/opt/app/nonc++/readline-4.3/lib
-R/opt/app/nonc++/readline-4.3/lib -L/opt/app/nonc++/tcl-8.4/lib
-R/opt/app/nonc++/tcl-8.4/lib -L/opt/app/nonc++/BerkleyDB-4.3/lib
-R/opt/app/nonc++/BerkleyDB-4.3/lib,g

The workaround is to run the build_ext command separately:

./python ../setup.py build_ext --library-dirs=... --rpath=...

It's not hard to work around this problem, but it's tedious to build
the command line args from the massive list of directories I have to
educate distutils about.

--
components: Build, Distutils
messages: 74137
nosy: skip.montanaro
priority: normal
severity: normal
status: open
title: configure options don't trickle down to distutils
type: behavior

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4006] os.getenv silently discards env variables with non-UTF-8 values

2008-10-01 Thread Martin v. Löwis

Martin v. Löwis <[EMAIL PROTECTED]> added the comment:

For the moment, this case is just not supported.

--
nosy: +loewis
versions: +Python 3.0

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3774] tkinter Menu.delete bug

2008-10-01 Thread Martin v. Löwis

Martin v. Löwis <[EMAIL PROTECTED]> added the comment:

> gpolo's patch issue3774_2.diff does seem to fix this bug, but it's not in 
> the SVN trunk - could this be done before 2.6 final?

Definitely not. The release is about to be produced today.

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4010] configure options don't trickle down to distutils

2008-10-01 Thread Brett Cannon

Brett Cannon <[EMAIL PROTECTED]> added the comment:

Well, all of my modules are in a non-standard location and I have no
build issues on OS X 10.5. If you look at PyBuildExt.detect_modules()
you will see that the paths are at least added for the search path from
LDFLAGS and CPPFLAGS.

--
nosy: +brett.cannon

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3995] iso-xxx/cp1252 inconsistencies in Python 2.* not in 3.*

2008-10-01 Thread Roumen Petrov

Roumen Petrov <[EMAIL PROTECTED]> added the comment:

Thanks Martin for correction: yes not reserved - assigned.

Jean-Michel, you test case is incorrect. You terminal is run in CP1252
where byte \x80 is shown as euro sing. But if you run terminal(if is
possible in reported operating system) in ISO-8859-{1|15} this byte is a
control character without visual representation.

To avoid "visual" ambiguity you should use hex representation of characters:
1) >>> unicode('\x80', 'cp1252')
u'\u20ac'
2) >>> unicode('\xa4','iso-8859-15')
u'\u20ac'

For the second case in you terminal you should enter:
>>> unicode('¤','iso-8859-15')
u'\u20ac'
'¤'(cp1252) = \xa4 = 164 = '€'(iso-8859-15)

I guess you understand what is incorrect in you report.

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1759845] subprocess.call fails with unicode strings in command line

2008-10-01 Thread Greg Couch

Greg Couch <[EMAIL PROTECTED]> added the comment:

We're having the same problem.  My quick fix was to patch subprocess.py
so the command line and executable are converted to the filesystem
encoding (mbcs).

--
nosy: +gregcouch
Added file: http://bugs.python.org/file11674/Python-2.5.2-subprocess.patch

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4010] configure options don't trickle down to distutils

2008-10-01 Thread Skip Montanaro

Skip Montanaro <[EMAIL PROTECTED]> added the comment:

Brett> Well, all of my modules are in a non-standard location and I have
Brett> no build issues on OS X 10.5. If you look at
Brett> PyBuildExt.detect_modules() you will see that the paths are at
Brett> least added for the search path from LDFLAGS and CPPFLAGS.

Ah, there's the problem.  It picks through LDFLAGS looking for -L but fails
to pay attention to -R.  I'll see if I can work up a patch.

Also, I'm seeing this problem on Solaris.  I suppose it's possible that
linkage on OS X records the location of the libraries it finds, sort of
implicitly doing a -R.

Skip

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3448] Multi-process 2to3

2008-10-01 Thread Benjamin Peterson

Benjamin Peterson <[EMAIL PROTECTED]> added the comment:

I don't think we should force people using it as a library to go
multiprocess. Also, it's trivial to just change the name of the class
used if that is wanted.

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3448] Multi-process 2to3

2008-10-01 Thread Nick Edds

Nick Edds <[EMAIL PROTECTED]> added the comment:

The currently attached patch works in Python2.5 not Python2.6, so I will
update it for 2.6 when I get the chance. But as it is currently written,
the default behavior is not multiprocess. Instead, if you want
multiprocess, you specify how many processes you want when you run 2to3
from the command line. And as long as you've got multiple files to run
2to3 on and multiple cores, doing multiprocess 2to3 is significantly faster.

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4010] configure options don't trickle down to distutils

2008-10-01 Thread Skip Montanaro

Skip Montanaro <[EMAIL PROTECTED]> added the comment:

Here's a patch.  Works for me on Solaris 10.  I'll try to check
it out on OS X 10.5.  Would appreciate it if someone on Linux can
kick the tires too.

--
keywords: +easy, patch
Added file: http://bugs.python.org/file11675/runtime.diff

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4011] Create DAG for PEP 101

2008-10-01 Thread Brett Cannon

New submission from Brett Cannon <[EMAIL PROTECTED]>:

PEP 101 says it would be nice to have a dependency graph that showed
what could and could not be done in parallel when cutting a release.
Should throw one together using OmniGraffle or Graphviz.

--
assignee: brett.cannon
messages: 74147
nosy: brett.cannon
priority: low
severity: normal
status: open
title: Create DAG for PEP 101

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2008-10-01 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:

This seems to be a difficult problem. Doesn't the exact width depend on 
the terminal capabilities? and fonts, and combining diacritics...

An easy way to put the caret at the same exact position is to repeat the 
beginning of the line up to the offending offset:
   print "あいうえお"
   print "あいうえお^<--
But I don't know how to make it look less ugly.

At least my "one unicode char is one space" suggestion corrects the case 
of Western languages, and all messages with single-width characters.

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2008-10-01 Thread STINNER Victor

STINNER Victor <[EMAIL PROTECTED]> added the comment:

See also a related issue: issue3975.

--
nosy: +haypo

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4012] Minor errors in multiprocessing docs

2008-10-01 Thread Kent Johnson

New submission from Kent Johnson <[EMAIL PROTECTED]>:

In the docs for AsyncResult
http://docs.python.org/dev/library/multiprocessing.html#multiprocessing.pool.AsyncResult

"get([timeout)" is missing a ]

In the example following, it refers to pool.applyAsync() in two places;
the docs spell this apply_async(), one of them must be wrong :-)

--
assignee: georg.brandl
components: Documentation
messages: 74150
nosy: georg.brandl, kjohnson
severity: normal
status: open
title: Minor errors in multiprocessing docs
versions: Python 2.6

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4006] os.getenv silently discards env variables with non-UTF-8 values

2008-10-01 Thread STINNER Victor

STINNER Victor <[EMAIL PROTECTED]> added the comment:

It's not a bug, it's a feature! Python3 rejects invalid byte sequence
(according to the "default system encoding") from the command line or
environment variables. listdir(str) will also drop invalid filenames.
Yes, we need a PEP (a FAQ) about invalid bytes sequences.

--
nosy: +haypo

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4010] configure options don't trickle down to distutils

2008-10-01 Thread Skip Montanaro

Skip Montanaro <[EMAIL PROTECTED]> added the comment:

Confirmed that nothing seems broken on my OS X 10.5 laptop (doing a
unix-style build, not a framework build).

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3736] super is a built-in type

2008-10-01 Thread Raymond Hettinger

Raymond Hettinger <[EMAIL PROTECTED]> added the comment:

The super() docs have been updated to be more clear.  It is still listed
amongst built-in functions -- that list doesn't separate callables that
are also types, so super() is appropriately listed side-by-side with
tuple().

--
resolution:  -> fixed
status: open -> closed

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4010] configure options don't trickle down to distutils

2008-10-01 Thread Skip Montanaro

Skip Montanaro <[EMAIL PROTECTED]> added the comment:

Seems to work for framework builds as well.

___
Python tracker <[EMAIL PROTECTED]>

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com