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

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

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

[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

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

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

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

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

[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

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

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

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

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

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

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

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

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

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

[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

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

[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

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

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

[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/p

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

[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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[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/file

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

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