[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

2011-11-16 Thread Per Rosengren
Per Rosengren added the comment: On Linux: >nm -C /lib/libc.so.6 |grep ' inet_aton' 000cbce0 W inet_aton This means that when Python is build with GCC (like on linux), inet_aton is in system libc. If you build with GCC in solaris, inet_aton will be taken from the GCC lib dir. You nee

[issue13419] import does not recognise SYMLINKDs on Windows 7

2011-11-16 Thread Alex Regueiro
New submission from Alex Regueiro : Python 2.7 normally inputs directory-modules fine on Windows 7. The notable exception however is symbolically-linked directories on the filesystem, which are ignored (not thought to exist) by the Python `import` statement. (Note that the Python interpreter n

[issue6715] xz compressor support

2011-11-16 Thread STINNER Victor
STINNER Victor added the comment: I wrote a short review on http://bugs.python.org/review/6715/show -- ___ Python tracker ___ ___ Pyth

[issue13418] Embedded Python memory leak

2011-11-16 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12627] Implement PEP 394: The "python" Command on Unix-Like Systems

2011-11-16 Thread Nick Coghlan
Changes by Nick Coghlan : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue706546] u''.translate not documented

2011-11-16 Thread Joshua Bleecher Snyder
Joshua Bleecher Snyder added the comment: This documentation change didn't make it into the docs for translate in the string module -- see http://docs.python.org/library/string.html. It'd be great to add it there as well, as I just got bitten by this. :) -- nosy: +josharian _

[issue13418] Embedded Python memory leak

2011-11-16 Thread STINNER Victor
STINNER Victor added the comment: (The project example uses _CrtSetDbgFlag(_CRTDBG_LEAK_CHECK_DF | _CRTDBG_ALLOC_MEM_DF) to perform memory leak check.) -- nosy: +haypo ___ Python tracker _

[issue13418] Embedded Python memory leak

2011-11-16 Thread Asesh
New submission from Asesh : Well I just finished embedding Python in my application but even after calling Py_Finalize the debugger shows tons of memory leak. I just called Py_Initialize and then Py_Finalize then after exiting the application, the Visual C++ debugger shows tons of memory leaks

[issue6715] xz compressor support

2011-11-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've tested under 64-bit Windows and it worked fine. -- ___ Python tracker ___ ___ Python-bugs-list

[issue13415] del os.environ[key] ignores errors

2011-11-16 Thread STINNER Victor
STINNER Victor added the comment: > But... there is no os.unsetenv on Windows! Correct, even unsetenv() doesn't exist on Windows: putenv() can be used to unset a variable using an empty value. And it's exactly what Python does. It is confusing because posix_unsetenv() is not build on Windows,

[issue13215] multiprocessing Manager.connect() aggressively retries refused connections

2011-11-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Apparently you forgot to upload the patch... -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue13415] os.unsetenv() on Windows should not use UTF-8

2011-11-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: But... there is no os.unsetenv on Windows! 2.7 used to have one, which called os.putenv(key, "") 3.2 has a os._unsetenv, which is a lambda key: _putenv(key, "") -- nosy: +amaury.forgeotdarc ___ Python tracker

[issue10772] Several actions for argparse arguments missing from docs

2011-11-16 Thread Marc Sibson
Marc Sibson added the comment: changes as per the review, -- Added file: http://bugs.python.org/file23713/issue10772.patch3 ___ Python tracker ___ __

[issue13416] Python Tutorial, Section 3, Minor PEP 8 adjustment

2011-11-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: It's fine as it is; constants are often denoted with capital letters. -- nosy: +benjamin.peterson resolution: -> rejected status: open -> closed ___ Python tracker ___

[issue13417] faster utf-8 decoding

2011-11-16 Thread Antoine Pitrou
New submission from Antoine Pitrou : PEP 393 and the need for a two-pass decoding process has made utf-8 decoding much slower, especially with the current generic implementation. Attached patch makes utf-8 more than twice faster, which means we're around 10-20% slower than 3.2 on non-trivial c

[issue13416] Python Tutorial, Section 3, Minor PEP 8 adjustment

2011-11-16 Thread Nebelhom
New submission from Nebelhom : Python Tutorial 3.3a 3. An informal introduction to python example: - # this is the first comment SPAM = 1 # and this is the second comment # ... and now a third!

[issue13374] Deprecate usage of the Windows ANSI API in the nt module

2011-11-16 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue12729] Python lib re cannot handle Unicode properly due to narrow/wide bug

2011-11-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Closing this bug as PEP 393 is now implemented and makes so-called "narrow builds" obsolete. Python now has an adaptative internal representation that is able to fit all unicode characters. -- resolution: -> out of date stage: -> committed/rejected

[issue13374] Deprecate usage of the Windows ANSI API in the nt module

2011-11-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5f239b0ba819 by Victor Stinner in branch 'default': Issue #13374: Deprecate os.getcwdb() on Windows http://hg.python.org/cpython/rev/5f239b0ba819 -- ___ Python tracker

[issue7732] imp.find_module crashes Python if there exists a directory named "__init__.py"

2011-11-16 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue13064] Port codecs and error handlers to the new Unicode API

2011-11-16 Thread STINNER Victor
STINNER Victor added the comment: Martin von Loewis implemented this issue, thanks Martin! -- ___ Python tracker ___ ___ Python-bugs-

[issue13415] os.unsetenv() on Windows should not use UTF-8

2011-11-16 Thread STINNER Victor
New submission from STINNER Victor : os.unsetenv(name) encodes name to UTF-8. I think that the ANSI code page (or another code page?) should be used. -- components: Unicode, Windows messages: 147773 nosy: ezio.melotti, haypo priority: normal severity: normal status: open title: os.unset

[issue6715] xz compressor support

2011-11-16 Thread Nadeem Vawda
Nadeem Vawda added the comment: I've tested the Windows build, and it works fine. If there are no objections, I'll commit on Saturday. Btw, what is the preferred channel for communicating with buildbot owners? I'll want to send out an email asking that all the *nix bots have liblzma-dev install

[issue6715] xz compressor support

2011-11-16 Thread Nadeem Vawda
Nadeem Vawda added the comment: Everything is ready to go, as far as I'm concerned. Once I've tested the Windows build using the binary from the externals repository, I'll be ready to commit it to the main repository. -- ___ Python tracker

[issue6715] xz compressor support

2011-11-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I just added the missing files liblzma.a to the "externals" repository. If someone can quickly check that it works on win32, I don't have anything else to add to this change. -- ___ Python tracker

[issue6715] xz compressor support

2011-11-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: What is the status on this, Nadeem? It would be lovely to get the feature in the stdlib. -- ___ Python tracker ___

[issue8913] Document that datetime.__format__ is datetime.strftime

2011-11-16 Thread Florent Xicluna
Changes by Florent Xicluna : -- type: -> behavior versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker ___ ___ Python-bugs

[issue13126] find() slower than rfind()

2011-11-16 Thread Florent Xicluna
Changes by Florent Xicluna : -- priority: low -> normal stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue13309] test_time fails: time data 'LMT' does not match format '%Z'

2011-11-16 Thread Florent Xicluna
Changes by Florent Xicluna : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue9102] pybench: Cannot compare 2.x and 3.x benchmarks

2011-11-16 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue4508] distutils compiler not handling spaces in path to output/src files

2011-11-16 Thread ipatrol
ipatrol added the comment: Ok, I found a similar problem with MMTK. I am currently altering my distutils package to add a function called nt_quote_dir that adds quotes to paths with spaces and then applies it to each path if the platform is win32. When I'm done I will submit a diff after conf

[issue1481032] patch smtplib:when SMTPDataError, rset crashes with sslerror

2011-11-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +barry, r.david.murray -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2011-11-16 Thread Ezio Melotti
Ezio Melotti added the comment: > 16ed15ff0d7c was not in current stable py3.2 so I missed it.. It's also in 3.2 and 2.7 (but it's quite recent, so if you didn't pull recently you might have missed it). > When the comma is now raised as attribute name, then the problem is > anyway moved to t

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2011-11-16 Thread kxroberto
kxroberto added the comment: 16ed15ff0d7c was not in current stable py3.2 so I missed it.. When the comma is now raised as attribute name, then the problem is anyway moved to the higher level anyway - and is/can be handled easily there by usual methods. (still I guess locatestarttagend_tolera

[issue6304] Confusing error message when passing bytes to print with file pointing to a binary file

2011-11-16 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +pitrou versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue4246] execution model - clear and complete example in documentation

2011-11-16 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch versions: +Python 2.7, Python 3.3 ___ Python tracker ___ ___ Py

[issue13413] time.daylight incorrect behavior in linux glibc

2011-11-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +belopolsky, lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue3693] Obscure array.array error message

2011-11-16 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9102] pybench: Cannot compare 2.x and 3.x benchmarks

2011-11-16 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2011-11-16 Thread Ezio Melotti
Ezio Melotti added the comment: Note that the regex and the way the parser considers the commas changed in 16ed15ff0d7c (it now considers them as the name of a value-less attribute), so adding a group for the comma is no longer doable. In theory, the approach you suggest might work, but if we

[issue13294] http.server: HEAD request should not return a body

2011-11-16 Thread Michele Orrù
Michele Orrù added the comment: Well, actually SimpleHTTPRequesthandler extends BaseHTTPHandler with basic do_GET and do_HEAD methods. Unittests for http.server shows that this behavior is intended, since: Traceback (most recent call last): File "Lib/test/test_httpservers.py", line 639, in

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2011-11-16 Thread kxroberto
kxroberto added the comment: The old patch warned already the majority of real cases - except the missing white space between attributes. "The tolerant regex will match both": locatestarttagend_tolerant: The main and frequent issue on the web here is the missing white space between attribut

[issue13398] _cursesmodule does not build, doesn't find Python.h on Solaris

2011-11-16 Thread Maciej Bliziński
Maciej Bliziński added the comment: It's not only the curses module, other two modules are failing as well, the same way - not finding Python.h. maciej@unstable9s :~/src/opencsw/pkg/lang-python/python/branches/python-3.2 > grep ^PY_CPPFLAGS work/solaris9-sparc/build-isa-sparcv8/Python-3.2.2/M

[issue13414] test_strftime failed on OpenBSD

2011-11-16 Thread Remi Pointel
Remi Pointel added the comment: Sure. -- Added file: http://bugs.python.org/file23710/strftime.c ___ Python tracker ___ ___ Python-bu

[issue13414] test_strftime failed on OpenBSD

2011-11-16 Thread STINNER Victor
STINNER Victor added the comment: Can you also please attach your C test program? -- nosy: +belopolsky, haypo ___ Python tracker ___

[issue13410] String formatting bug in interactive mode

2011-11-16 Thread Eric V. Smith
Eric V. Smith added the comment: Interesting! Same here. Using eval() fails with or without -v: --- a/Lib/test/test_format.py +++ b/Lib/test/test_format.py @@ -289,6 +289,18 @@ else: raise TestFailed, '"%*d"%(maxsize, -127) should fail' +def test_issue13410(

[issue13414] test_strftime failed on OpenBSD

2011-11-16 Thread Remi Pointel
Changes by Remi Pointel : Added file: http://bugs.python.org/file23709/test_strftime_python33.log ___ Python tracker ___ ___ Python-bugs-list

[issue13414] test_strftime failed on OpenBSD

2011-11-16 Thread Remi Pointel
Changes by Remi Pointel : Added file: http://bugs.python.org/file23708/test_strftime_python32.log ___ Python tracker ___ ___ Python-bugs-list

[issue13414] test_strftime failed on OpenBSD

2011-11-16 Thread Remi Pointel
Changes by Remi Pointel : Added file: http://bugs.python.org/file23707/test_strftime_python27.log ___ Python tracker ___ ___ Python-bugs-list

[issue13414] test_strftime failed on OpenBSD

2011-11-16 Thread Remi Pointel
Changes by Remi Pointel : Added file: http://bugs.python.org/file23706/test_datetime_python33.log ___ Python tracker ___ ___ Python-bugs-list

[issue13414] test_strftime failed on OpenBSD

2011-11-16 Thread Remi Pointel
New submission from Remi Pointel : Hello, I was running test_datetime.py and it failed on OpenBSD. I have tested with Python 2.7, Python 3.2 and Python 3.3. Python 2.7: test_datetime.py: ok test_srtftime.py: failed (see attached file: test_strftime_python27.log) Have a lot of: Conflict for non

[issue7983] The encoding map from Unicode to CP932 is different from that of Windows'

2011-11-16 Thread cedre.m
cedre.m added the comment: http://support.microsoft.com/kb/170559/EN-US http://msdn.microsoft.com/en-us/goglobal/cc305152.aspx -- ___ Python tracker ___ _

[issue7983] The encoding map from Unicode to CP932 is different from that of Windows'

2011-11-16 Thread cedre.m
Changes by cedre.m : -- nosy: +cedrem ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mai

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2011-11-16 Thread Ezio Melotti
Ezio Melotti added the comment: The strict/tolerant mode mainly works by using either a strict or a tolerant regex. If the markup is invalid, the strict regex doesn't match and it gives an error. The tolerant regex will match both valid and invalid markup at the same time, without distincti

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2011-11-16 Thread kxroberto
kxroberto added the comment: Well in many browsers for example there is a internal warning and error log (window). Which yet does not (need to) claim to be a official W3C checker. It has positive effect on web stabilization. For example just looking now I see the many HTML and CSS warnings an

[issue13406] Deprecation warnings when running the test suite

2011-11-16 Thread Ezio Melotti
Ezio Melotti added the comment: Should be fixed now. -- assignee: -> ezio.melotti resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker _