[issue14291] Regression in Python3 of email handling of unicode strings in headers

2012-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset fd4b4650856f by R David Murray in branch '3.2': #14291: if a header has non-ascii unicode, default to CTE using utf-8 http://hg.python.org/cpython/rev/fd4b4650856f New changeset f5dcb2d58893 by R David Murray in branch 'default': Merge #14291: if a

[issue14291] Regression in Python3 of email handling of unicode strings in headers

2012-03-14 Thread R. David Murray
R. David Murray added the comment: Fix committed. Thanks Ali. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue14283] match.pos describes that match object has methods search() and match()

2012-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 544ed2cfb097 by Georg Brandl in branch '3.2': Closes #14283: match() and search() are regex methods, not match methods. http://hg.python.org/cpython/rev/544ed2cfb097 New changeset 3ffa1b88e9f6 by Georg Brandl in branch 'default': #14283: merge with

[issue14296] Compilation error on CentOS 5.8

2012-03-14 Thread Hervé Coatanhay
Hervé Coatanhay added the comment: I forgot to give glibc version: glibc-2.5-81 -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue14289] Prebuilt CHM file on Docs download page

2012-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2800530b00d3 by Georg Brandl in branch '3.2': Closes #14289: put a link to the CHM download page on the docs download page. http://hg.python.org/cpython/rev/2800530b00d3 New changeset b4d1e51d91f8 by Georg Brandl in branch 'default': #14289: merge

[issue829370] math.signum(int)

2012-03-14 Thread Georg Brandl
Georg Brandl added the comment: Can we add a comment to that effect to the math docs? -- nosy: +georg.brandl ___ Python tracker ___

[issue14260] re.groupindex available for modification and continues to work, having incorrect data inside it

2012-03-14 Thread Georg Brandl
Georg Brandl added the comment: Looks like a case for a read-only dict/dictproxy :) -- nosy: +georg.brandl, haypo ___ Python tracker ___

[issue14288] Make iterators pickleable

2012-03-14 Thread Georg Brandl
Georg Brandl added the comment: The "review" link next to the the patch file entry should already work and provide a nice visual diff + commenting interface. -- nosy: +georg.brandl ___ Python tracker

[issue14255] tempfile.gettempdir() didn't return the path with correct case.

2012-03-14 Thread Georg Brandl
Georg Brandl added the comment: There's not much sense in having normcase() if it never does anything :) But in this case, I don't really see why tempfile needs to use normcase(). -- ___ Python tracker __

[issue829370] math.signum(int)

2012-03-14 Thread Frank
Frank added the comment: Mark, https://en.wikipedia.org/wiki/Signum_function or elementary math books tell us that this function is called signum, sign or sgn. A library should adopt this standard for the same reason we don't want a ComputeTheSine or calcsin, which would be very confusing. As

[issue14062] UTF-8 Email Subject problem

2012-03-14 Thread Michal Sladek
Michal Sladek added the comment: Changing code to: encodedSubject = '=?utf-8?b?{0}?='.format(base64Subject) still works properly with smtp.seznam.cz server -- ___ Python tracker ___

[issue14273] distutils2: logging handler not properly initialized

2012-03-14 Thread Vinay Sajip
Vinay Sajip added the comment: > > IIUC the logger should be set to DEBUG, otherwise even if e.g. pip wants to > get > INFO messages it won’t see them.  Is that right? Well, you could set the level to INFO to get INFO and higher messages. DEBUG should only be set for messages of interest to

[issue14296] Compilation error on CentOS 5.8

2012-03-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> benjamin.peterson nosy: +benjamin.peterson, dmalcolm, georg.brandl priority: normal -> critical stage: -> needs patch type: -> compile error ___ Python tracker ___

[issue14127] add st_*time_ns fileds to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds

2012-03-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Posted a review on Rietveld. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue9216] FIPS support for hashlib

2012-03-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch 0002: - cached_info->error_msg doesn't seem deallocated anywhere? Patch 0003: - "usedforsecurity" is a poor name IMO; make it shorter and/or PEP8-ize it ("used_for_security") - the 2-element context array thing is obscure: why not distinct "ctx" and "

[issue11826] Leak in atexitmodule

2012-03-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, if it doesn't crash, it's probably ok ;) Perhaps check modstate->atexit_callbacks for non-NULL? Or do we trust free() to do the right thing? -- nosy: +pitrou ___ Python tracker

[issue7652] Merge C version of decimal into py3k.

2012-03-14 Thread Stefan Krah
Stefan Krah added the comment: Mark Dickinson wrote: > > FWIW, I think we would be better off if this patch were merged in soon. > > +1 OK, I'm counting three +1 for merging soon. Thanks everyone for the encouragement! I'll then proceed with the merge this weekend or shortly after, with one

[issue7652] Merge C version of decimal into py3k.

2012-03-14 Thread Stefan Krah
Stefan Krah added the comment: Arfrever Frehtes Taifersar Arahesis wrote: > Please add --with-system-libmpdec (or --with-system-mpdecimal) option in > `configure`, similarly to --with-system-expat and --with-system-ffi options. I've added that to the list of issues. However, if there is any ch

[issue14255] tempfile.gettempdir() didn't return the path with correct case.

2012-03-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: +1 for fixing. -- nosy: +pitrou priority: normal -> low stage: test needed -> needs patch ___ Python tracker ___ __

[issue14265] Fully qualified test name in failure output

2012-03-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Which failure message are we talking about? regrtest? unittest? -- nosy: +pitrou ___ Python tracker ___ ___

[issue14127] add st_*time_ns fileds to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds

2012-03-14 Thread STINNER Victor
STINNER Victor added the comment: > FYI I wasn't sure what to call the currently-slightly-uncomfortably-named new > function _PyTime_LongFromTime_t(). There is already a private _PyLong_FromTime_t() function in _testcapi.c: just move the function to pytime.c (but keep the _Py prefix). ---

[issue14260] re.groupindex available for modification and continues to work, having incorrect data inside it

2012-03-14 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14300] dup_socket() on Windows should use WSA_FLAG_OVERLAPPED

2012-03-14 Thread sbt
New submission from sbt : According to Microsoft's documentation sockets created using socket() have the overlapped attribute, but sockets created with WSASocket() do not unless you pass the WSA_FLAG_OVERLAPPED flag. The documentation for WSADuplicateSocket() says If the source process uses

[issue14300] dup_socket() on Windows should use WSA_FLAG_OVERLAPPED

2012-03-14 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Which problem are you trying to solve? Can this change be tested somehow? -- nosy: +amaury.forgeotdarc ___ Python tracker ___ ___

[issue14300] dup_socket() on Windows should use WSA_FLAG_OVERLAPPED

2012-03-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Are you sure this is desired? Nowhere can I think of a place in the stdlib where we use overlapped I/O on sockets. -- nosy: +pitrou ___ Python tracker ___

[issue14301] xmlrpc client transport and threading problem

2012-03-14 Thread Kees Bos
New submission from Kees Bos : The transport (second parameter to ServerProxy) must be unique for every thread. This was not the case in pre-python2.7. It is caused by the reuse of the connection (stored in _connection). This could be handled by saving the thread id too. I don't know whether

[issue14300] dup_socket() on Windows should use WSA_FLAG_OVERLAPPED

2012-03-14 Thread sbt
sbt added the comment: pitrou wrote: > Are you sure this is desired? Nowhere can I think of a place in the > stdlib where we use overlapped I/O on sockets. multiprocessing.connection.wait() does overlapped zero length reads on sockets. It's documentation currently claims that it works with so

[issue14062] UTF-8 Email Subject problem

2012-03-14 Thread R. David Murray
R. David Murray added the comment: I think the next thing to do would be to replace the call to send_message with code that calls BytesGenerator to write the message out to disk, and diff the output of the two versions (normal subject and hand-encoded subject). Maybe that will give us a clue

[issue14265] Fully qualified test name in failure output

2012-03-14 Thread R. David Murray
R. David Murray added the comment: I'm pretty sure Michael is talking about unittest. Doing the same for regrtest would be interesting but not as important. (When I run individual tests from the Python test suite I generally use -m unittest to do it.) -- ___

[issue14296] Compilation error on CentOS 5.8

2012-03-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: It looks like this CPU_ api wasn't completely added until glib 2.7. -- ___ Python tracker ___ __

[issue12978] Figure out extended attributes on BSDs

2012-03-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2012/3/12 Nicholas Riley : > > Nicholas Riley added the comment: > > I've spent a few hours looking at xattr and the Linux/OS X (10.4+) > implementations.  Bob Ippolito's xattr module implements the OS X xattr > interface on Linux, Solaris (9+) and FreeBSD

[issue14289] Prebuilt CHM file on Docs download page

2012-03-14 Thread Nam Nguyen
Nam Nguyen added the comment: I can't find any CHM for download. For example, this is everything there is to Python 3.2.2: http://www.python.org/ftp/python/3.2.2/ Yet there's no sight of CHM in it. -- ___ Python tracker

[issue14270] Can't install a project in a specific directory

2012-03-14 Thread Éric Araujo
Éric Araujo added the comment: Mathieu’s patch attached. Test upcoming. -- keywords: +patch Added file: http://bugs.python.org/file24842/distutils2.14270.patch ___ Python tracker _

[issue14288] Make iterators pickleable

2012-03-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: The dict iterators depend on the order of the dict being the same when unpickled on another python (the order will vary depending on dummy entries, insertion order, 32 vs 64 bit builds, salted hashes, etc). Sets have the same issue -- it doesn't seem poss

[issue8743] set() operators don't work with collections.Set instances

2012-03-14 Thread Mark Shannon
Mark Shannon added the comment: Review of set-with-Set.patch: Looks good overall. I agree that restricting operations to instances of Set rather than Iterable is correct. Implementing "__rsub__" in terms of - (subtraction) means that infinite recursion is a possibility. It also creates an u

[issue14288] Make iterators pickleable

2012-03-14 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- Removed message: http://bugs.python.org/msg155759 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2012-03-14 Thread Matt Joiner
Matt Joiner added the comment: Roger that. I'll start on a patch for this in a month or two if all goes well. -- ___ Python tracker ___ _

[issue14302] Move python.exe to bin/

2012-03-14 Thread Brian Curtin
New submission from Brian Curtin : After talks at PyCon with several people, python.exe will live in C:\Python33\bin rather than C:\Python33 to come more in line with the Unix layout. This will also simplify another issue with the Path option for the 3.3 installer as well as packaging's targe

[issue14222] Using time.time() in Queue.get breaks when system time is changed

2012-03-14 Thread Matt Joiner
Changes by Matt Joiner : -- nosy: +anacrolix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue3835] tkinter goes into an infinite loop (pydoc.gui)

2012-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7cbc48324938 by Andrew Svetlov in branch 'default': Revert the patch for issue 3835 because failed on Windows buildbot http://hg.python.org/cpython/rev/7cbc48324938 -- ___ Python tracker

[issue3835] tkinter goes into an infinite loop (pydoc.gui)

2012-03-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: Recall to 'open' state -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Py

[issue12684] profile does not dump stats on exception like cProfile does

2012-03-14 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +needs review nosy: +georg.brandl stage: -> patch review versions: -Python 3.4 ___ Python tracker ___

[issue3835] tkinter goes into an infinite loop (pydoc.gui)

2012-03-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: Close as 'not a bug' because Guilherme's test to reproduce the bug from msg73304 works good at least for Linux. Windows version of Tcl/Tk compiled without threading support. So current behavior is correct and should not to be fixed. -- resolution: -

[issue13839] -m pstats should combine all the profiles given as arguments

2012-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3a5a0e7d38c5 by Antoine Pitrou in branch 'default': Issue #13839: When invoked on the command-line, the pstats module now accepts several filenames of profile stat files and merges them all. http://hg.python.org/cpython/rev/3a5a0e7d38c5 --

[issue13839] -m pstats should combine all the profiles given as arguments

2012-03-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've committed the patch. Eric, adding a test suite for pstats' command-line interface is a separate concern. -- nosy: +pitrou resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed __

[issue14303] Incorrect documentation for socket.py on linux

2012-03-14 Thread Shane Hansen
New submission from Shane Hansen : The python docs state that for socket.makefile "The file object references a dup()ped version of the socket file descriptor, so the file object and socket object may be closed or garbage-collected independently." In fact for socket.py dup() is never called, a

[issue14222] Using time.time() in Queue.get breaks when system time is changed

2012-03-14 Thread Charles-François Natali
Charles-François Natali added the comment: Random thoughts: - as noted by Antoine, it probably affects a lot of code throughout the standard library - sem_timedwait() (used by lock.acquire() on POSIX) is affected (the implementation using a condition variable could use pthread_condattr_setclock(

[issue14255] tempfile.gettempdir() didn't return the path with correct case.

2012-03-14 Thread Jeff McNeil
Jeff McNeil added the comment: The normcase call isn't exactly a no-op in ntpath.py as it also swaps / for \\. Removing the .lower() seems to simply make it a watered down version of normpath. There are a couple of options I guess. We could simply keep the altsep, or update _get_default_te

[issue14062] UTF-8 Email Subject problem

2012-03-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: I digged a little bit further. The data being sent is 'Content-Type: multipart/mixed; boundary="===1981330074035035012=="\r\nMIME-Version: 1.0\r\nFrom: rzro...@seznam.cz\r\nTo: msla...@volny.cz\r\nSubject: =?utf-8?b?xb5sdcWlb3XEjWvDvSBrxa/FiA==?

[issue14127] add st_*time_ns fileds to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds

2012-03-14 Thread Guido van Rossum
Guido van Rossum added the comment: I added a review as well. Not sure if that sends email by itself. -- ___ Python tracker ___ ___ P

[issue14127] add st_*time_ns fileds to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds

2012-03-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I added a review as well. Not sure if that sends email by itself. It's supposed to send e-mail, but sometimes not all recipients are spelt right... -- ___ Python tracker __

[issue14062] UTF-8 Email Subject problem

2012-03-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: I also attach a stand-alone version. To run this locally, run smtpdX.Y.py -dn localhost:2525 -- Added file: http://bugs.python.org/file24844/a.py ___ Python tracker

[issue14288] Make iterators pickleable

2012-03-14 Thread sbt
sbt added the comment: I think PyAPI_FUNC(PyObject *) _PyIter_GetIter(const char *iter); has a confusing name for a convenience function which retrieves an attribute from the builtin module by name. Not sure what would be better. Maybe _PyIter_GetBuiltin(). -- nosy: +sbt _

[issue14288] Make iterators pickleable

2012-03-14 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: another trick has been suggested. For hidden iterator objects, such as stringiter, to actually put them in the "types" module. in there, we could do something like: #types.py stringiter = iter('').__class__ and we would then change the name of the ite

[issue13554] Tkinter doesn't use higher resolution app icon

2012-03-14 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14062] UTF-8 Email Subject problem

2012-03-14 Thread R. David Murray
R. David Murray added the comment: OK, got it. When I created BytesParser I turned the 'NL' constant into a class attribute, but in the line that handles Header objects in BytesParser I failed to change NL to self._NL. So when send_message calls flatten with linesep='\r\n', in that one plac

[issue12684] profile does not dump stats on exception like cProfile does

2012-03-14 Thread Jim Jewett
Jim Jewett added the comment: If I read that patch right, it ignores (and does not even reraise) SystemExit (unchanged), but other Exceptions currently block the dump (and your patch causes them to still dump). (1) Why is SystemExit ignored? (2) There should be tests to show that there w

[issue14062] UTF-8 Email Subject problem

2012-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset d0bf40ff20ef by R David Murray in branch '3.2': #14062: fix BytesParser handling of linesep for Header objects http://hg.python.org/cpython/rev/d0bf40ff20ef New changeset 7617f3071320 by R David Murray in branch 'default': #14062: fix BytesParser h

[issue12294] multiprocessing.Pool: Need a way to find out if work are finished.

2012-03-14 Thread Guilherme Gonçalves
Guilherme Gonçalves added the comment: I uploaded a patch that adds an is_alive() method to multiprocessing.Pool, along with the associated test and documentation updates. Please let me know if there are any issues, I'll be glad to rework the patch. -- keywords: +patch nosy: +guilherm

[issue14062] UTF-8 Email Subject problem

2012-03-14 Thread R. David Murray
R. David Murray added the comment: Thanks for the bug report. I thought we had tests for processing Header objects when serializing a message using BytesParser, but clearly we didn't. And thanks Tatiana and Martin for issue review and testing. -- resolution: -> fixed status: open ->

[issue10050] urllib.request still has old 2.x urllib primitives

2012-03-14 Thread Jeff McNeil
Jeff McNeil added the comment: I don't see why we'd need to make these _private -- they're just accessors/mutators for the most part. I'd be happy to help clean this up if you need it. -- ___ Python tracker ___

[issue12818] email.utils.formataddr incorrectly quotes parens inside quoted strings

2012-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset ec191c51a15f by R David Murray in branch 'default': #12818: remove escaping of () in quoted strings in formataddr http://hg.python.org/cpython/rev/ec191c51a15f -- nosy: +python-dev ___ Python tracker

[issue12818] email.utils.formataddr incorrectly quotes parens inside quoted strings

2012-03-14 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue14288] Make iterators pickleable

2012-03-14 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue14127] add st_*time_ns fileds to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds

2012-03-14 Thread Larry Hastings
Larry Hastings added the comment: I was notified by email of both Antoine's and Guido's reviews. -- ___ Python tracker ___ ___ Python

[issue14234] CVE-2012-0876 (hash table collisions CPU usage DoS) for embedded copy of expat

2012-03-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: Replacing the generate_hash_secret_salt function with one containing assert(0) shows that it still gets called so there are apparently still ways that initialize parsers that do not call XML_SetHashSalt using the Python hash prefix. ./python Lib/test/test_

[issue8739] Update to smtpd.py to RFC 5321

2012-03-14 Thread R. David Murray
R. David Murray added the comment: By the way, Alberto, if you haven't already submitted a contributor agreement, could you do so please? We have one from Dan from the sprints. Michele, you aren't marked in the tracker as having submitted an agreement but you've been active long enough I wo

[issue10050] urllib.request still has old 2.x urllib primitives

2012-03-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: My concern was with the method get_full_url. I have seen it being useful in more than one place and it's not just the accessor. Others are just the accessors and those can be safely removed. When get_full_url gives the correct url, taking into consideration the

[issue10050] urllib.request still has old 2.x urllib primitives

2012-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset eab274c7d456 by Senthil Kumaran in branch 'default': deprecated the old urllib primitives in 3.3 urllib package - issue 10050 http://hg.python.org/cpython/rev/eab274c7d456 -- ___ Python tracker

[issue14200] Idle shell crash on printing non-BMP unicode character

2012-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset c06b94c5c609 by Andrew Svetlov in branch 'default': Issue #14200: Idle shell crash on printing non-BMP unicode character. http://hg.python.org/cpython/rev/c06b94c5c609 -- ___ Python tracker

[issue13959] Re-implement parts of imp in pure Python

2012-03-14 Thread Brett Cannon
Brett Cannon added the comment: Attached is a start for re-implementing imp. Still need code for cache_from_source, source_from_cache, find_module, load_module, reload, load_compiled, load_source, and load_package. -- keywords: +patch Added file: http://bugs.python.org/file24846/imp.d

[issue14234] CVE-2012-0876 (hash table collisions CPU usage DoS) for embedded copy of expat

2012-03-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: false alarm, thats just what happens when PYTHONHASHSEED=0 (I won't be committing the assert, I was just testing behavior). For what its worth, the xmlparse.c generate_hash_seed() function is pretty poor as far as picking a random number goes as it is time

[issue10050] urllib.request still has old 2.x urllib primitives

2012-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 30f13d7fecd0 by Senthil Kumaran in branch 'default': Fix the buildbot breakdown - issue 10050 http://hg.python.org/cpython/rev/30f13d7fecd0 -- ___ Python tracker

[issue14304] Implement utf-8-bmp codec

2012-03-14 Thread Andrew Svetlov
New submission from Andrew Svetlov : Tkinter (and IDLE specially) can use only UCS-2 characters. In PyShell IDLE tries to escape non-ascii. To better result we should to escape only non-BMP chars leaving BMP characters untouched. -- assignee: asvetlov messages: 155793 nosy: asvetlov pri

[issue14304] Implement utf-8-bmp codec

2012-03-14 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- components: +Tkinter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue14200] Idle shell crash on printing non-BMP unicode character

2012-03-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: Patch escapes avery non-ascii char while better to escape only non-BMP. Will be done after #14304 -- resolution: -> fixed ___ Python tracker

[issue14200] Idle shell crash on printing non-BMP unicode character

2012-03-14 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue14222] Using time.time() in Queue.get breaks when system time is changed

2012-03-14 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14139] test_ftplib: segfault

2012-03-14 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue14305] fix typos

2012-03-14 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- hgrepos: 116 nosy: tshepang priority: normal severity: normal status: open title: fix typos ___ Python tracker ___ __

[issue13963] dev guide has no mention of mechanics of patch review

2012-03-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: It should be noted that diff in git supported format is recommended in the devguide - http://docs.python.org/devguide/committing.html#minimal-configuration If it breaks the rietveld integration, then we should not be advising it. -- nosy: +orsenth

[issue13248] deprecated in 3.2, should be removed in 3.3

2012-03-14 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue14305] fix typos

2012-03-14 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- keywords: +patch Added file: http://bugs.python.org/file24847/08b3d0bf0a61.diff ___ Python tracker ___ __

[issue7978] SocketServer doesn't handle syscall interruption

2012-03-14 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue14305] fix typos

2012-03-14 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker ___ __

[issue8536] Support new features of ZLIB 1.2.4

2012-03-14 Thread Nadeem Vawda
Nadeem Vawda added the comment: Jesús, did you have any particular idea about exactly where these new features would be useful? Or was your idea that someone needs to read through the code and check whether the features can be used at all? Also, it should be noted that the scope of this issue h

[issue13248] deprecated in 3.2, should be removed in 3.3

2012-03-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: In unittest, DictContainsSubset() should be removed from 3.3. It was defective by design (wrong argument order). I concur with Ezio that the other unittest methods should remain intact. I'm not sure whether assertSameElements() should stay or go (when G

[issue14306] try/except block is both efficient and expensive?

2012-03-14 Thread Tshepang Lekhonkhobe
New submission from Tshepang Lekhonkhobe : In Doc/faq/design.rst, we got this text: "A try/except block is extremely efficient. Actually catching an exception is expensive." The 2 sentences appear contradictory. -- assignee: docs@python components: Documentation messages: 155798 nosy:

[issue14305] fix typos

2012-03-14 Thread Roundup Robot
New submission from Roundup Robot : New changeset 0092ab03fdd5 by Georg Brandl in branch '3.2': Closes #14305: fix typo. http://hg.python.org/cpython/rev/0092ab03fdd5 -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: open -> closed

[issue13153] IDLE crashes when pasting non-BMP unicode char on UCS-16 build

2012-03-14 Thread Ned Deily
Ned Deily added the comment: (Oops, wrong assignment!) -- assignee: astrand -> asvetlov nosy: +asvetlov ___ Python tracker ___ ___ Py

[issue13153] IDLE crashes when pasting non-BMP unicode char on UCS-16 build

2012-03-14 Thread Ned Deily
Changes by Ned Deily : -- nosy: -astrand ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue14306] try/except block is both efficient and expensive?

2012-03-14 Thread Georg Brandl
Georg Brandl added the comment: It could be reworded, yes. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing

[issue13153] IDLE crashes when pasting non-BMP unicode char on UCS-16 build

2012-03-14 Thread Ned Deily
Ned Deily added the comment: Reassigning to Andrew to investigate solution similar to the one used in Issue14200. -- assignee: ned.deily -> astrand nosy: +astrand title: IDLE crash with unicode bigger than 0x -> IDLE crashes when pasting non-BMP unicode char on UCS-16 build versio

[issue14306] try/except block is both efficient and expensive?

2012-03-14 Thread Ezio Melotti
Ezio Melotti added the comment: What it's trying to say is that in case the operation in the "try" block succeeds there's almost no overhead, so it's very efficient. On the other hand, raising and then catching the error is expensive. -- nosy: +ezio.melotti _

[issue12342] characters with ord above 65535 fail to display in IDLE

2012-03-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed in #14200 -- assignee: -> asvetlov resolution: fixed -> duplicate stage: commit review -> committed/rejected status: open -> closed superseder: -> Idle shell crash on printing non-BMP unicode character versions: -Python 2.7, Python 3.2 ___

[issue11437] IDLE crash on startup with typo in config-keys.cfg

2012-03-14 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- assignee: -> asvetlov nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue12558] Locale-dependent exception for float width argument to Tkinter widget constructor

2012-03-14 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- assignee: -> asvetlov nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue14200] Idle shell crash on printing non-BMP unicode character

2012-03-14 Thread Roger Serwy
Roger Serwy added the comment: Andrew, please reopen this issue. Your committed patch does not work if IDLE is not using the subprocess. >>> got_ahsa = "\N{GOTHIC LETTER AHSA}" >>> got_ahsa Traceback (most recent call last): File "", line 1, in got_ahsa File "i

[issue14217] text output pretends to be code

2012-03-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: Éric - not really. nonlocal is from python3.x onwards only. -- ___ Python tracker ___ ___ Python-

[issue14200] Idle shell crash on printing non-BMP unicode character

2012-03-14 Thread Roger Serwy
Roger Serwy added the comment: Attached is a patch to undo Andrew's and fixes the issue in a simple manner. The tcl_unicode_range.patch from Issue12342 has already been applied, so catching ValueError within IDLE is all that is now needed. -- Added file: http://bugs.python.org/file248

  1   2   >