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

2008-10-01 Thread James Mills
New submission from James Mills [EMAIL PROTECTED]: Trying to use pydoc in it's webserver mode fails: $ pydoc3.0 -p 8000 pydoc server ready at http://localhost:8000/ Exception happened during processing of request from ('127.0.0.1', 42939) Traceback (most

[issue3991] urllib.request.urlopen does not handle non-ASCII characters

2008-10-01 Thread Toshio Kuratomi
Toshio Kuratomi [EMAIL PROTECTED] added the comment: Oh, that's cool. I've been fine with this being a request for a needed function to quote and unquote full urls rather than a bug in urlopen(). I think iri's are a distraction here, though. The RFC for iris even says that specifications that

[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

[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

[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] http://bugs.python.org/issue3959 ___ ___ Python-bugs-list

[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

[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] http://bugs.python.org/issue3989 ___

[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] http://bugs.python.org/issue1541 ___ ___ Python-bugs-list

[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] http://bugs.python.org/issue3863 ___

[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] http://bugs.python.org/issue1736190 ___ ___

[issue1161031] Neverending warnings from asyncore

2008-10-01 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' [EMAIL PROTECTED]: -- nosy: +giampaolo.rodola ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1161031 ___ ___

[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] http://bugs.python.org/issue2944 ___ ___

[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

[issue214033] re incompatibility in sre

2008-10-01 Thread Collin Winter
Changes by Collin Winter [EMAIL PROTECTED]: -- nosy: -collinwinter ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue214033 ___ ___ Python-bugs-list

[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.

[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] http://bugs.python.org/issue4009

[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] http://bugs.python.org/issue3978

[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

[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] http://bugs.python.org/issue4006 ___

[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

[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. --

[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

[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:

[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

[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]

[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

[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

[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:

[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

[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] http://bugs.python.org/issue2382 ___

[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

[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

[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] http://bugs.python.org/issue4010

[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(). --

[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] http://bugs.python.org/issue4010 ___ ___