[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset b365036b17c2 by Vinay Sajip in branch 'default': Issue #12039: Now suppress spurious select.error raised on FreeBSD when the server (an asyncore.dispatcher) is closed. http://hg.python.org/cpython/rev/b365036b17c2 -- nosy:

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-10 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: I've done a bit more investigating, and the select.error is raised in the server thread when the main thread closes the SMTP server (asyncore.dispatcher). I've modified the server code to swallow the error if the server has been closed.

[issue12047] Expand the style guide

2011-05-10 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: georg.brandl components: Documentation files: style.diff keywords: patch nosy: georg.brandl, rhettinger priority: normal severity: normal status: open title: Expand the style guide Added file:

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-10 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: See http://bugs.python.org/issue12047 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11948 ___

[issue12047] Expand the style guide

2011-05-10 Thread Georg Brandl
New submission from Georg Brandl ge...@python.org: Sounds very good to me. One small thing: in the first para of Audience, there's a talk down them which looks funny to me in this word order. One question: I could imagine wording like this is rarely needed instead of this is experts only --

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-10 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Additional information point for Senthil: In the case where the BadStatusLine is raised, the server is sending a 200 OK status response but there is no actual response data - only headers. --

[issue12047] Expand the style guide

2011-05-10 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: there's a talk down them which looks funny to me in this word order. It was missing a word. Should be talk down to them. Thanks for spotting this -- I fix it in the commit. One question: I could imagine wording like this

[issue12047] Expand the style guide

2011-05-10 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: And I sincerely hope we don't have any docs that say if you don't know what this is, you don't need it instead of an explanation :) -- ___ Python tracker rep...@bugs.python.org

[issue12047] Expand the style guide

2011-05-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset d5d91b14b238 by Raymond Hettinger in branch '3.2': Issue 12047: Expand the style guide. http://hg.python.org/cpython/rev/d5d91b14b238 -- nosy: +python-dev ___ Python tracker

[issue12047] Expand the style guide

2011-05-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 50a5e271edf9 by Raymond Hettinger in branch '2.7': Issue 12047: Expand the style guide. http://hg.python.org/cpython/rev/50a5e271edf9 -- ___ Python tracker rep...@bugs.python.org

[issue12047] Expand the style guide

2011-05-10 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12047 ___

[issue12048] Python 3, ZipFile Bug In Chinese

2011-05-10 Thread yaoyu
New submission from yaoyu yao...@126.com: Python 3, ZipFile Bug In Chinese: 1. In Python3.1.3 can't extract 复件 test.txt from test.zip ╕┤╝■ test.txt Traceback (most recent call last): File C:\Temp\PythonZipTest\pythonzip.py, line 14, in module main() File

[issue12049] expose RAND_bytes() function of OpenSSL

2011-05-10 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: The _ssl module has RAND_add() RAND_status() and RAND_egd() functions, but not RAND_bytes(). I would be nice to be able to generate random bytes using RAND_bytes(). And maybe also RAND_pseudo_bytes()? I will work on a patch,

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 204e027dfa98 by Vinay Sajip in branch 'default': Issue #12039: Add end_headers() call to avoid BadStatusLine. http://hg.python.org/cpython/rev/204e027dfa98 -- ___ Python tracker

[issue5752] xml.dom.minidom does not escape CR, LF and TAB characters within attribute values

2011-05-10 Thread Jens Grivolla
Changes by Jens Grivolla jens.grivo...@gmail.com: -- nosy: +Jens.Grivolla ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5752 ___ ___

[issue12044] subprocess.Popen.__exit__ doesn't wait for process end

2011-05-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Well, no, looks ok for me then :) -- resolution: - rejected status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12044 ___

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-10 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: The errors seem to have gone away now, but there is still apparently a behaviour change - previously there was no error when a end_headers() call was omitted when handling a request, but now apparently an end_headers() call is needed to

[issue9971] Optimize BufferedReader.readinto

2011-05-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Based on the above I think you are right about using the internal buffer regardless (revision attached). You pay a price with larger buffer sizes but on balance it seems to be a much better general purpose solution. The java-like solution

[issue1195] Problems on Linux with Ctrl-D and Ctrl-C during raw_input

2011-05-10 Thread Ralf Schmitt
Ralf Schmitt sch...@gmail.com added the comment: Either you clearerr or you can't rely on feof. fgets might also set the end of file indicator *and* return valid data. I don't see a reason to not call clearerr right before trying to read from the stream. --

[issue9971] Optimize BufferedReader.readinto

2011-05-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: By the way, the Java-like version actually seems quite interesting. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9971 ___

[issue12046] Windows build identification incomplete

2011-05-10 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Note, the Unix build only identifies itself like that if there is a working copy of hg on $PATH at configure time. If not, the version string also silently defaults to default. That requirement creates a bit of a problem for the OS X installer build

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-10 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: On Tue, May 10, 2011 at 09:12:58AM +, Vinay Sajip wrote: Either omitting the end_headers() call was always an error but previously undetected, or the requirement to always call end_headers() is new and this should be documented. I'm

[issue12050] unconsumed_tail of zlib.Decompress is not always cleared on decompress() call

2011-05-10 Thread Takeshi Yoshino
New submission from Takeshi Yoshino tyosh...@google.com: http://docs.python.org/library/zlib.html says If max_length is not supplied then the whole input is decompressed, and unconsumed_tail is an empty string. However, if there's preceding decompress call with max_length specified,

[issue9971] Optimize BufferedReader.readinto

2011-05-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: +Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t) Why downcasting the size? Can't you store the size into a Py_off_t? I suppose that sizeof(Py_off_t) = sizeof(Py_ssize_t). --

[issue11877] Change os.fsync() to support physical backing store syncs

2011-05-10 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: I don't agree with you and i don't believe it is implemented like that. But it seems i am the only one on this issue who sees it like that. Thus i apply 11877.6.diff. Declaring variables as auto is not necessary in C code and

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2011-05-10 Thread Jonathan Halcrow
Jonathan Halcrow jonathan.halc...@gmail.com added the comment: I'm having a problem using the current version (0.1.20110504) with python 2.5 on OSX 10.5. When I try to import regex I get the following import error: dlopen(snipped/python2.5/site-packages/_regex.so, 2): Symbol not found:

[issue1046092] HTMLParser fix to accept malformed tag attributes

2011-05-10 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: For the record, the new issue is #12008. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1046092 ___

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-10 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: @Senthil - are you planning to make the documentation change, or should I? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12039 ___

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2011-05-10 Thread Jonathan Halcrow
Jonathan Halcrow jonathan.halc...@gmail.com added the comment: It seems that _regex_unicode.c is missing from setup.py, adding it to ext_modules fixes my previous issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2636

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2011-05-10 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: Issues with Regexp should probably be handled on the Regexp tracker. -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2636

[issue11979] Minor improvements to the Sockets readme: typos, wording and sphinx features usage

2011-05-10 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11979 ___ ___

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-10 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: On Tue, May 10, 2011 at 02:06:48PM +, Vinay Sajip wrote: @Senthil - are you planning to make the documentation change, or should I? I shall do it, Vinay. Thanks! -- ___ Python tracker

[issue12011] The signal module should raise OSError for OS-related exceptions, not RuntimeError

2011-05-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Patch: signal.signal() and signal.siginterrupt() raise an OSError, instead of a RuntimeError: OSError has an errno attribute. -- keywords: +patch Added file: http://bugs.python.org/file21939/signal_oserror.patch Looks good to me.

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2011-05-10 Thread Kurt B. Kaiser
Kurt B. Kaiser k...@shore.net added the comment: Tcl/Tk uses modified utf-8 internally. This includes using 0xC080, a multibyte Unicode null character, for embedded nulls that work with C's null terminated strings. Java does the same. Note that typing Ctrl-space and Ctrl-2 are conventional

[issue4709] Mingw-w64 and python on windows x64

2011-05-10 Thread Ruben Van Boxem
Ruben Van Boxem vanboxem.ru...@gmail.com added the comment: Has anyone looked at this? I'm trying to build gdb with Python enabled with mingw-w64 (Python 2.7.1 with manually created import libraries), but have to manually define MS_WIN64 in the CFLAGS. The patch only does what's right (i.e.

[issue11959] smtpd cannot be used without affecting global state

2011-05-10 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: The overridden create_socket() method will have the same behaviour for the case when a socket map is *not* passed in to smtpd.__init__(). Users using the existing signature for the constructor will cause the sockmap instance attribute to

[issue12011] The signal module should raise OSError for OS-related exceptions, not RuntimeError

2011-05-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset b86b39211ef1 by Victor Stinner in branch 'default': Issue #12011: signal.signal() and signal.siginterrupt() raise an OSError, http://hg.python.org/cpython/rev/b86b39211ef1 -- nosy: +python-dev

[issue12011] The signal module should raise OSError for OS-related exceptions, not RuntimeError

2011-05-10 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12011 ___

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Waldemar Kornewald
Waldemar Kornewald wkornew...@gmail.com added the comment: Symlinked packages used to work on Windows until recently, but a few days ago Microsoft published a few security patches and things stopped working. On my local machine I uninstalled all Visual C++ Runtime library patches (they were

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: Are you able to narrow it down to which security update(s) caused the breakage? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6727 ___

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Waldemar Kornewald
Waldemar Kornewald wkornew...@gmail.com added the comment: I uninstalled these three security patches: * KB2467173: http://support.microsoft.com/kb/2467173 * KB2467174: http://support.microsoft.com/kb/2467174 * KB2467175: http://support.microsoft.com/kb/2467175 Without those patches symlinked

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: Don't do anything you're not comfortable with. If you can get your system to whatever state it was in the past where things worked properly, feel free to dig into it. I will try to look into this situation and see if there's anything in these

[issue12044] subprocess.Popen.__exit__ doesn't wait for process end

2011-05-10 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: There's just one thing I'm concerned with. People using context managers tend to expect the __exit__ method to perform cleanup actions and release corresponding resources if necessary, for example closing the underlying file or socket.

[issue12051] Segfault in JSONEncoder subclasses with check_circular=False

2011-05-10 Thread Ezio Melotti
New submission from Ezio Melotti ezio.melo...@gmail.com: Subclasses of JSONEncoder that use check_circular=False can segfault json: import json class EndlessJSONEncoder(json.JSONEncoder): ... def default(self, o): ... return [o] ...

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: That's interesting. You're saying that you've been using symlinked packages for some time and that it works for you. I filed this bug because it's never worked for me. Can you describe a little bit about the environment in which you've

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: And since you seem to have some systems that honor symlinked packages, can you run the attached test_import_symlink_package.py and report the results? -- ___ Python tracker rep...@bugs.python.org

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: Out of the patches listed, http://www.microsoft.com/technet/security/advisory/2269637.mspx is the only part that appears to be related in any way, although it doesn't specify a whole lot on the surface. The title is Insecure Library Loading

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Waldemar Kornewald
Waldemar Kornewald wkornew...@gmail.com added the comment: I'm using Python 2.6.6 on Windows 7 Professional with the latest service pack. My system is pretty bare bones. Do you have Visual Studio or the Visual Studio Redistributables? Here's the output of your script (the last exception seems

[issue8498] Cannot use backlog = 0 for sockets

2011-05-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 48743ad2d2ef by Antoine Pitrou in branch '2.7': Issue #8498: In socket.accept(), allow to specify 0 as a backlog value in http://hg.python.org/cpython/rev/48743ad2d2ef New changeset 713006ecee0c by Antoine Pitrou in branch '3.2':

[issue8498] Cannot use backlog = 0 for sockets

2011-05-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed, thanks for the patch and review! -- resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker

[issue12050] unconsumed_tail of zlib.Decompress is not always cleared on decompress() call

2011-05-10 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: Thanks for the bug report. It seems that the code needs fixing. I'll look into it this weekend. -- assignee: - nadeem.vawda nosy: +nadeem.vawda stage: - needs patch versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 -Python

[issue12052] round() erroneous for some large arguments

2011-05-10 Thread Neil
New submission from Neil na...@raytheon.com: round() returns incorrect results for certain large real-integer arguments. Demonstration via interpreter session: x = 2.0**52+1 # Huge, odd double integer near limits of what IEEE format can fully represent in its mantissa part round(x) - x #

[issue12052] round() erroneous for some large arguments

2011-05-10 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Please upgrade: this issue is already fixed in current versions of Python. -- nosy: +mark.dickinson resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org

[issue12052] round() erroneous for some large arguments

2011-05-10 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: (Duplicate of issue 7070.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12052 ___ ___

[issue9971] Optimize BufferedReader.readinto

2011-05-10 Thread John O'Connor
John O'Connor tehj...@gmail.com added the comment: Victor: AFAIK its not actually downcasting. The safe downcast just uses an assertion when debugging is enabled. I chose to use it because it seems to be a convention in the file. Antoine: You say quirky, I say elegant :) Though I have no

[issue12051] Segfaults in _json while encoding objects

2011-05-10 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: New patch fixes two more segfaults while encoding highly-nested objects. Updated the issue title accordingly. -- title: Segfault in JSONEncoder subclasses with check_circular=False - Segfaults in _json while encoding objects Added

[issue9971] Optimize BufferedReader.readinto

2011-05-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Also, while we're at it, would it be worthwhile for me to make a patch for the prefech() method you proposed? Should a separate issue be created for that? I know there was no definitive answer in the email thread but it may be fun to

[issue8824] Improve documentation of exec

2011-05-10 Thread Jordan Stadler
Jordan Stadler jordan.stad...@gmail.com added the comment: I'm going to update the documentation to include the scope information. Should be done within a day. -- nosy: +jstadler ___ Python tracker rep...@bugs.python.org

[issue12053] Add prefetch() for Buffered IO (experiment)

2011-05-10 Thread John O'Connor
New submission from John O'Connor tehj...@gmail.com: A prefetch() method for Buffered IO may greatly assist 3rd party buffering among other gains. If nothing else, it is worth experimenting with. Discussion on the topic is here:

[issue9971] Optimize BufferedReader.readinto

2011-05-10 Thread John O'Connor
John O'Connor tehj...@gmail.com added the comment: No problem for me either way. I created issue12053 to track that. - John O'Connor On Tue, May 10, 2011 at 3:19 PM, Antoine Pitrou rep...@bugs.python.orgwrote: Antoine Pitrou pit...@free.fr added the comment: Also, while we're at it,

[issue12049] expose RAND_bytes() function of OpenSSL

2011-05-10 Thread John O'Connor
Changes by John O'Connor tehj...@gmail.com: -- nosy: +jcon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12049 ___ ___ Python-bugs-list mailing

[issue11888] Add C99's log2() function to the math library

2011-05-10 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: Why configure script check two times for log2 function ? -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11888 ___

[issue12053] Add prefetch() for Buffered IO (experiment)

2011-05-10 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12053 ___ ___

[issue11888] Add C99's log2() function to the math library

2011-05-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset d3f9895e2e19 by Mark Dickinson in branch 'default': Issue #11888: remove duplicate check for log2 in configure.in. http://hg.python.org/cpython/rev/d3f9895e2e19 -- ___ Python tracker

[issue11888] Add C99's log2() function to the math library

2011-05-10 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks, Roumen. Fixed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11888 ___ ___

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2011-05-10 Thread Kurt B. Kaiser
Kurt B. Kaiser k...@shore.net added the comment: Rejecting for now, out of date, doesn't apply, not single topic. -- resolution: out of date - rejected stage: test needed - committed/rejected status: open - closed ___ Python tracker

[issue11888] Add C99's log2() function to the math library

2011-05-10 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Victor, what do you think about simply #undefining HAVE_LOG2 on Tiger (e.g. in pyport.h), so that the fallback log2 version is used there instead of the system version? Does anyone know the appropriate preprocessor check for OS X = 10.4? I

[issue12054] test_socket: replace custom _get_unused_port() by support.find_unused_port()

2011-05-10 Thread Charles-François Natali
New submission from Charles-François Natali neolo...@free.fr: Lib/test/test_socket.py uses custom _get_unused_port to return a port which will be likely available for binding in some tests. The same functionality is already provided by support.find_unuse_port, let's make use of it. Patch

[issue9971] Optimize BufferedReader.readinto

2011-05-10 Thread John O'Connor
Changes by John O'Connor tehj...@gmail.com: Removed file: http://bugs.python.org/file21957/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9971 ___

[issue12054] test_socket: replace custom _get_unused_port() by support.find_unused_port()

2011-05-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 695a7acae392 by Antoine Pitrou in branch '3.2': Issue #12054: use support.find_unused_port() instead of reinventing the wheel http://hg.python.org/cpython/rev/695a7acae392 New changeset 1b9d6226a3dd by Antoine Pitrou in branch

[issue12054] test_socket: replace custom _get_unused_port() by support.find_unused_port()

2011-05-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: An obvious one indeed, thank you :) -- nosy: +pitrou resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: Thanks for that. The output is very telling. First, it shows there's a bug in the test script where an exception occurs when it succeeds because a .pyc file is created and not properly cleaned up. Second, it demonstrates that the bug as I

[issue11888] Add C99's log2() function to the math library

2011-05-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 34871c3072c9 by Victor Stinner in branch 'default': Issue #11888: skip some log2 tests on Mac OS X Tiger http://hg.python.org/cpython/rev/34871c3072c9 -- ___ Python tracker

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: Removed file: http://bugs.python.org/file14741/test_import_symlink_package.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6727 ___

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: I updated the test script to avoid the error when the .pyc (or __pycache__) is created. -- Added file: http://bugs.python.org/file21959/test_import_symlink_package.py ___ Python tracker

[issue8824] Improve documentation of exec

2011-05-10 Thread Jordan Stadler
Changes by Jordan Stadler jordan.stad...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file21960/exec_doc_touchup_2_x.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8824

[issue8824] Improve documentation of exec

2011-05-10 Thread Jordan Stadler
Changes by Jordan Stadler jordan.stad...@gmail.com: Added file: http://bugs.python.org/file21961/exec_doc_touchup_3_x.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8824 ___

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: Confirmed the issue exists on Python 2.7 and 3.2 -- versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6727

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: Removed file: http://bugs.python.org/file21959/test_import_symlink_package.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6727 ___

[issue6727] ImportError when package is symlinked on Windows

2011-05-10 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: Updated script to run under Python 3.2 as well. -- Added file: http://bugs.python.org/file21962/test_import_symlink_package.py ___ Python tracker rep...@bugs.python.org

[issue8824] Improve documentation of exec

2011-05-10 Thread Jordan Stadler
Jordan Stadler jordan.stad...@gmail.com added the comment: Patches for 2.x and 3.x documentation related to 'exec'. 2.x Provides more information about scopes when using additional expressions for 'exec'. 2.x documentation for 'exec' is found in reference/simple_stmts. 3.x Provides more

[issue12014] str.format parses replacement field incorrectly

2011-05-10 Thread Ben Wolfson
Ben Wolfson wolf...@gmail.com added the comment: Actually, that's the wrong place in MarkupIterator_next to include that loop. The attached diff has it in the right place. The results of make test here are: 328 tests OK. 1 test failed: test_unicode 25 tests skipped: test_codecmaps_cn

[issue11888] Add C99's log2() function to the math library

2011-05-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: New changeset 34871c3072c9 by Victor Stinner in branch 'default': Issue #11888: skip some log2 tests on Mac OS X Tiger Oh... I realized that the test doesn't fail on Mac OS X Tiger PPC, only on Mac OS X Tiger x86. But I am too

[issue10419] distutils command build_scripts fails with UnicodeDecodeError

2011-05-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 6ad356525381 by Victor Stinner in branch 'default': Close #10419, issue #6011: build_scripts command of distutils handles correctly http://hg.python.org/cpython/rev/6ad356525381 -- nosy: +python-dev resolution: - fixed

[issue6011] python doesn't build if prefix contains non-ascii characters

2011-05-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: New changeset 6ad356525381 by Victor Stinner in branch 'default': Close #10419, issue #6011: build_scripts command of distutils handles correctly http://hg.python.org/cpython/rev/6ad356525381 --

[issue12051] Segfaults in _json while encoding objects

2011-05-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset a21f5af476cb by Ezio Melotti in branch '2.7': #12051: Fix segfault in json.dumps() while encoding highly-nested objects using the C accelerations. http://hg.python.org/cpython/rev/a21f5af476cb New changeset 9557e4eeb291 by Ezio

[issue12051] Segfaults in _json while encoding objects

2011-05-10 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12051

[issue10419] distutils command build_scripts fails with UnicodeDecodeError

2011-05-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 47236a0cfb15 by Victor Stinner in branch '3.2': Close #10419, issue #6011: build_scripts command of distutils handles correctly http://hg.python.org/cpython/rev/47236a0cfb15 -- ___ Python

[issue11169] compileall doesn't support PEP 383 (undecodable paths/filenames)

2011-05-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 85cfbbc7da60 by Victor Stinner in branch '3.2': Issue #11169: compileall module uses repr() to format filenames and paths to http://hg.python.org/cpython/rev/85cfbbc7da60 -- nosy: +python-dev

[issue10419] distutils command build_scripts fails with UnicodeDecodeError

2011-05-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset fd7d4639dae2 by Victor Stinner in branch '3.1': Issue #10419: Fix build_scripts command of distutils to handle correctly http://hg.python.org/cpython/rev/fd7d4639dae2 -- ___ Python

[issue6011] python doesn't build if prefix contains non-ascii characters

2011-05-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I fixed #10419 in Python 3.2 and 3.3 (I applied my copy_script-2.patch fix). It is now possible to compile and install Python 3.2 and 3.3 with a non-ASCII prefix, so this issue can be done. If you have issues when compiling Python

[issue10419] distutils command build_scripts fails with UnicodeDecodeError

2011-05-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Issue fixed in Python 3.1, 3.2, 3.3. Thanks to Arfrever, I realized that this issue not only concerns the compilation of Python itself with a non-ASCII prefix (issue #6011), but the installation of any Python script containing a

[issue2857] add codec for java modified utf-8

2011-05-10 Thread Adal Chiriliuc
Adal Chiriliuc adal.chiril...@gmail.com added the comment: I use the hachoir Python package to parse Java .class files and extract the strings from them and having support for Java modified UTF-8 would have been nice. -- nosy: +adalx ___ Python

[issue8824] Improve documentation of exec

2011-05-10 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8824 ___ ___

[issue12039] test_logging: bad file descriptor on FreeBSD bot

2011-05-10 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset d59ec3aa442e by Senthil Kumaran in branch 'default': Issue #12039 - Update the http.server.rst with the requirement to call `end_headers` after calling `send_header`. http://hg.python.org/cpython/rev/d59ec3aa442e --