[issue14455] plistlib unable to read json and binary plist files

2012-03-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This patch is for Python 2. New features are accepted only for Python 3.3+. I ported the patch, but since I have no Mac, I can't check. To date code was specified incorrectly. The length of integers was calculated incorrectly. To convert integers, you can

[issue14406] Race condition in concurrent.futures

2012-03-31 Thread Matt Joiner
Matt Joiner added the comment: Patch with a test included. Being a nondeterministic bug, please adjust the thread count, or timing as necessary, the parameters in the patch are as low as I can get them and still reasonably reproduce the bug (linux 3.2, i386). There's a few complications in te

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-31 Thread Niklas Br
Niklas Br added the comment: David, print(magic) returns Shelf.__init__(self, dbm.open(filename, flag), protocol, writeback) AttributeError: 'module' object has no attribute 'open' Ned, I tried the dmg first, but then I downloaded the source and built it locally, does this mean that the

[issue14423] Getting the starting date of iso week from a week number and a year.

2012-03-31 Thread Esben Agerbæk Black
Changes by Esben Agerbæk Black : Added file: http://bugs.python.org/file25079/isodates.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue14434] Tutorial link in "help()" in Python3 points to Python2 tutorial

2012-03-31 Thread Georg Brandl
Georg Brandl added the comment: Sounds like good fix to me. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailin

[issue14440] Close background process if IDLE closes abnormally.

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: I use Ubuntu Linux 11.10 Hmm, you are right: background process dies. But I'm pretty sure when I worked on IDLE bugs three weeks ago sometimes that process remained to live forever. Aahh. At least sending SIGTERM (kill -9) to foreground IDLE process doesn't

[issue14310] Socket duplication for windows

2012-03-31 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Still no responses? I'll submit this then, unless someone objects. -- ___ Python tracker ___ _

[issue10576] Add a progress callback to gcmodule

2012-03-31 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Thanks, Jim. Unless anyone objects, I'll commit this then. -- ___ Python tracker ___ ___ Py

[issue14440] Close background process if IDLE closes abnormally.

2012-03-31 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue14039] Add "metavar" argument to add_subparsers() in argparse

2012-03-31 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue9787] Release the TLS lock during allocations

2012-03-31 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Closing this since it applies only to our custom tls implementation. Most platforms use native tls now. -- resolution: -> wont fix status: open -> closed ___ Python tracker

[issue14034] Add argparse howto

2012-03-31 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: Would be nice to get another review. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue3035] Removing apparently unwanted functions from Tkinter

2012-03-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2bc374182ed4 by Andrew Svetlov in branch 'default': issue #3035: update PendingDeprecationWarning to DeprectionWarning, point deprecation in tkinter doc http://hg.python.org/cpython/rev/2bc374182ed4 --

[issue10576] Add a progress callback to gcmodule

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Comments: - the tests look fragile. How can you know a garbage collection will only collect your own objects? So you should call gc.collect() first at the beginning of each test and then initialize the self.visit list. We don't want weird failures because of

[issue14310] Socket duplication for windows

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: I would like to see this discussed on python-dev. -- nosy: +pitrou ___ Python tracker ___ ___ Pytho

[issue3035] Removing apparently unwanted functions from Tkinter

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: I've updated the patch following David's recommendations, pushed it into default branch. #14446 has been made to remove deprecated code in 3.4 Closing the issue as fixed. -- resolution: remind -> fixed status: open -> closed

[issue9016] IDLE won't launch (Win XP)

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Closing as out if date and not active. -- assignee: -> asvetlov resolution: -> out of date stage: -> committed/rejected ___ Python tracker __

[issue5136] Deprecating (and removing) "globalcall", "merge" and "globaleval"

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Will do. -- assignee: -> asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue6124] Tkinter should support the OS X zoom button

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Closing as lack of interest from community. -- resolution: -> wont fix stage: test needed -> committed/rejected status: open -> closed ___ Python tracker _

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

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Closing again. Now IDLE works fine both in subprocess and inprocess mode. Future support of non-BMP can be continues after implementing codec for that — #14304 Now I like to close that as «good enough for now». At least IDLE doesn't crashed on printing anyth

[issue9016] IDLE won't launch (Win XP)

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

[issue14458] Non-admin installation fails

2012-03-31 Thread Timothy Madden
Timothy Madden added the comment: attaching the error message box -- Added file: http://bugs.python.org/file25081/Install-admin-msg.png ___ Python tracker ___ __

[issue14458] Non-admin installation fails

2012-03-31 Thread Timothy Madden
New submission from Timothy Madden : Trying to install the release package (python 3.2.2 x86-64 .msi, 2.7.2 x86-64 .msi) without elevation fails, even if 'Install just for me' is selected in the installer options, and I have write permissions in the selected install folder. Under the same acco

[issue14458] Non-admin installation fails

2012-03-31 Thread Timothy Madden
Timothy Madden added the comment: This is happening on Windows Server 2008 R2 Enterprise, Service Pack 1 (64-bit) -- ___ Python tracker ___ _

[issue14435] Remove special block allocation from floatobject.c

2012-03-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 10fcaf5903e6 by Kristján Valur Jónsson in branch 'default': Issue #14435: Add Misc/NEWS and Misc/ACKS http://hg.python.org/cpython/rev/10fcaf5903e6 -- ___ Python tracker

[issue10576] Add a progress callback to gcmodule

2012-03-31 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Thank you Antoine. Your points: - Yes, I can robustify this. - I think I worried that the actual contents might be too complex to test for it. I'll see if I can't just simplify it as you suggest. - right, thanks. - gc.callbacks is a simple module attrib

[issue10576] Add a progress callback to gcmodule

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: > - gc.callbacks is a simple module attribute. Anyone can set it to > anything else, e.g. gc.callbacks=None. We have to accomodate this > possibility or else introduce annoying api functions to edit the list. > I thought it best to do things similarly to sys.i

[issue14310] Socket duplication for windows

2012-03-31 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: You are right, I was thinking more of pyobject attributes. I'll fix this then. -- ___ Python tracker ___ _

[issue14459] type([].append([]))

2012-03-31 Thread manolo69
New submission from manolo69 : nonetype -- messages: 157190 nosy: manolo69 priority: normal severity: normal status: open title: type([].append([])) ___ Python tracker ___ __

[issue14459] type([].append([]))

2012-03-31 Thread manolo69
manolo69 added the comment: nonetype should be list??? -- components: +None versions: +Python 3.2 ___ Python tracker ___ ___ Python-b

[issue14459] type([].append([]))

2012-03-31 Thread manolo69
manolo69 added the comment: sorry -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/ma

[issue8515] idle "Run Module" (F5) does not set __file__ variable

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

[issue14459] type([].append([]))

2012-03-31 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Do you suggest that after "myList = []", "myList.append(1)" should return the list? -- nosy: +amaury.forgeotdarc ___ Python tracker ___

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-31 Thread R. David Murray
R. David Murray added the comment: Ned: that shouldn't prevent whichdb from figuring out the type of the db file, though, if I understand correctly. Niklas: that's unexpected, so I suspect something is not right about how you inserted the print. You did say you were a Python newbie...I think

[issue14446] Remove deprecated tkinter functions

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: See issue #3035 for details. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue14459] type([].append([]))

2012-03-31 Thread R. David Murray
R. David Murray added the comment: It sounds like manolo69 is just confused about what the append operation returns (which is None). Since this is a carefully considered part of the design of Python (operations that mutate objects rather than creating a new object return None), I'm closing t

[issue14458] Non-admin installation fails

2012-03-31 Thread R. David Murray
Changes by R. David Murray : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue5136] Deprecating (and removing) "globalcall", "merge" and "globaleval"

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Attaching the patch to make depredations. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file25082/issue5136.diff ___ Python tracker ___

[issue5136] Deprecating (and removing) "globalcall", "merge" and "globaleval"

2012-03-31 Thread Éric Araujo
Éric Araujo added the comment: LGTM (looks good to me). In your NEWS entry, you don’t have to copy the whole explanation, just say something like “deprecated old, unused functions” and interested people will be able to come here read the details. In your commit message, be sure to say that

[issue14434] Tutorial link in "help()" in Python3 points to Python2 tutorial

2012-03-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset d478c0a68bcb by R David Murray in branch '3.2': #14434: make tutorial link in 'help' banner version-specific http://hg.python.org/cpython/rev/d478c0a68bcb New changeset ee9b6574b497 by R David Murray in branch 'default': Merge #14434: make tutorial

[issue14434] Tutorial link in "help()" in Python3 points to Python2 tutorial

2012-03-31 Thread R. David Murray
R. David Murray added the comment: Fixed. Thanks for the report, Bill. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-31 Thread Ned Deily
Ned Deily added the comment: David, right you are. I verified that the current 3.2.3rc2 without gdbm does correctly recognize a shelve from another Python backed with gdbm 1.10: dbm.error: db type is dbm.gnu, but the module is not available Niklas, yes, to build a Python from source on OS X w

[issue5136] Deprecating (and removing) "globalcall", "merge" and "globaleval"

2012-03-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6023d73c6f87 by Andrew Svetlov in branch 'default': fix issue #5136: deprecate old unused functions from tkinter. http://hg.python.org/cpython/rev/6023d73c6f87 -- nosy: +python-dev ___ Python tracker

[issue14446] Remove deprecated tkinter functions

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Also see #5136 for deprecated C Functions from _tkinter.c That set have to go away in 3.4 as well as deprecations from tkinter/__init__.py -- ___ Python tracker __

[issue5136] Deprecating (and removing) "globalcall", "merge" and "globaleval"

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Pushed deprecation warnings into default branch. #14446 updated to add those function to remove list for 3.4 release. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Pyth

[issue5136] Deprecating (and removing) "globalcall", "merge" and "globaleval"

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks to Guilherme Polo for idea and to Éric Araujo for review. -- ___ Python tracker ___ ___ Pytho

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

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: I reproduced the bug. Roger Serwy, your patch looks working, but can you describe: 1. Why do you need `self.known_invalid` list? 2. Why do you always extend that list (`known_invalid` variable is just shared alias for `self.known_invalid` member, not list copy

[issue14417] dict RuntimeError workaround

2012-03-31 Thread Nick Coghlan
Nick Coghlan added the comment: Attached script is a first cut at a multi-threading stress test for the new dict behaviour. It should be significantly worse than anything a real world app is likely to be doing to a dictionary that is shared between threads without any form of synchronisation.

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

2012-03-31 Thread Roger Serwy
Roger Serwy added the comment: Without the known_invalid list, each call to GetCurrentKeySet would cause an error message to appear. The effect of keeping track of these bad key bindings is that the user receives a notification only once about a particular bad key binding. (The present archit

[issue14440] Close background process if IDLE closes abnormally.

2012-03-31 Thread Roger Serwy
Roger Serwy added the comment: I can confirm this problem with Ubuntu 11.04. -- nosy: +serwy ___ Python tracker ___ ___ Python-bugs-l

[issue13997] Clearly explain the bare minimum Python 3 users should know about Unicode

2012-03-31 Thread Chris Rebert
Chris Rebert added the comment: Links to the "rambling Unicode thread"s for posterity and convenience: Gets into several issues, among them, Unicode: http://mail.python.org/pipermail/python-ideas/2012-February/013665.html Unicode-specific offshoot of the above: http://mail.python.org/pipermail

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

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Ok -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue14417] dict RuntimeError workaround

2012-03-31 Thread R. David Murray
R. David Murray added the comment: Thanks, Nick, this is much better than speculation. -- ___ Python tracker ___ ___ Python-bugs-list

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

2012-03-31 Thread Roger Serwy
Roger Serwy added the comment: I just realized that if the user, for whatever reason, fixes a bad key binding and then rebinds it to the previously bad one, no error message would appear. This can occur if the user is switching between key sets where one key set contains invalid bindings. --

[issue13210] Support Visual Studio 2010

2012-03-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: The errnomodule patch shouldn't be checked in as is. Instead, an elaborate comment needs to be added fully explaining the situation with the errno codes, and giving criteria under which cases it is necessary. On the face value, it's incorrect: if the compile

[issue5680] Command-line arguments when running in IDLE

2012-03-31 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- assignee: -> asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: You right. That was my concern. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue3177] Add shutil.open

2012-03-31 Thread Chris Rebert
Chris Rebert added the comment: > The alternative is to call Popen(['xdg-open', etc.]) and check if we get > ENOENT, but I don’t know if this would be non-ambiguous (for example, do we > get ENOENT if xdg-open exists but not the file?). It's unambiguous. Python itself never opens the target f

[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: I like Eric's proposition, e.g. raising error if (list, shell=True) or (str, shell=False) If nobody object I can try to make initial patch for that. -- ___ Python tracker __

[issue13210] Support Visual Studio 2010

2012-03-31 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Why should python compiled with VS2010 have different error codes than one compiled with the older compilers? We could revisit this in a new python version, but for now, we should maintain compatibility across compilers. the errno codes (EAGAIN etc)

[issue14406] Race condition in concurrent.futures

2012-03-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0312db5265d0 by Antoine Pitrou in branch '3.2': Issue #14406: Fix a race condition when using `concurrent.futures.wait(return_when=ALL_COMPLETED)`. http://hg.python.org/cpython/rev/0312db5265d0 New changeset 2c1432552213 by Antoine Pitrou in branc

[issue14406] Race condition in concurrent.futures

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch looks fine, I've committed it. Thanks! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker _

[issue14440] Close background process if IDLE closes abnormally.

2012-03-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Andrew: I strongly agree with the goal that IDLE should not leave zombie processes. The background process should die if either 1) IDLE restarts the shell with a new background process, as with every edit-run cycle, or 2) IDLE dies. The desired behavior seems

[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

2012-03-31 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue4653] Patch to fix typos in C code

2012-03-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14456] Relation between threads and signals unclear

2012-03-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 52e32f3b933d by Antoine Pitrou in branch '3.2': Issue #14456: improve documentation of the signal module w.r.t. threads. http://hg.python.org/cpython/rev/52e32f3b933d New changeset 44d13f371811 by Antoine Pitrou in branch 'default': Issue #14456: i

[issue14456] Relation between threads and signals unclear

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Should be fixed now. -- nosy: +pitrou resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue9246] os.getcwd() hardcodes max path len

2012-03-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14373] C implementation of functools.lru_cache

2012-03-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: Matt, I'm attaching a pure python version to serve as a better map for how to implement this in C. * it incorporate the recent lru_cache algorithmic updates (moving the root around the circular queue to re-use old links). * it shows which parts should be

[issue14440] Close background process if IDLE closes abnormally.

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Terry, sorry. That's definitely posix-specific bug. I'll make a patch assuming Windows works well with killing IDLE. To be polite I'll describe used signal names shortly. SIGKILL, SIGTERM, SIGINT and SIGQUIT are used to stop process. — SIGKILL is mimic to Wi

[issue14373] C implementation of functools.lru_cache

2012-03-31 Thread Raymond Hettinger
Raymond Hettinger added the comment: Updated to show how to handle the kwd_mark and the try/except. -- Added file: http://bugs.python.org/file25085/lru_cache_class.py ___ Python tracker ___

[issue14373] C implementation of functools.lru_cache

2012-03-31 Thread Raymond Hettinger
Changes by Raymond Hettinger : Removed file: http://bugs.python.org/file25084/lru_cache_class.py ___ Python tracker ___ ___ Python-bugs-list m

[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

2012-03-31 Thread Eric V. Smith
Eric V. Smith added the comment: While I still think raising those errors is a good thing, we should also look at Nick's shell-command: http://shell-command.readthedocs.org/en/latest/index.html -- ___ Python tracker

[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov added the comment: Nick's library is awesome and I +1 to include it into stdlib if Nick is ready to do. But also I like to prevent obviously bad usage of popen. We cannot and don't want to remove popen shell=True param, so let's add raising exception for useless parameters comb

[issue14417] dict RuntimeError workaround

2012-03-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue14417] dict RuntimeError workaround

2012-03-31 Thread Stefan Krah
Stefan Krah added the comment: By adding a slow __eq__() method to Nick's script I can trigger the RuntimeError reliably. -- nosy: +skrah Added file: http://bugs.python.org/file25086/hammer_dict_eq.py ___ Python tracker

[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

2012-03-31 Thread R. David Murray
R. David Murray added the comment: Yes, Nick's library looks good, but that should be a separate issue, it isn't really relevant to this one. -- ___ Python tracker ___ _

[issue14437] _io build fails on cygwin

2012-03-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset f96b603278cc by Antoine Pitrou in branch '3.2': Issue #14437: Fix building the _io module under Cygwin. http://hg.python.org/cpython/rev/f96b603278cc New changeset 6f8dd543d80a by Antoine Pitrou in branch '2.7': Issue #14437: Fix building the _io m

[issue14437] _io build fails on cygwin

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fix committed in 2.7 and 3.2. 3.3 shouldn't be affected. Thank you! -- nosy: +pitrou resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed versions: -Python 3.3 ___ Python tracker

[issue14316] Broken link in grammar.rst

2012-03-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset b038bfc67e3d by Sandro Tosi in branch 'default': Issue #14316: fix broken link; fix by Éric Araujo http://hg.python.org/devguide/rev/b038bfc67e3d -- nosy: +python-dev ___ Python tracker

[issue14316] Broken link in grammar.rst

2012-03-31 Thread Sandro Tosi
Changes by Sandro Tosi : -- nosy: +sandro.tosi resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue11273] asyncore creates selec (or poll) on every iteration

2012-03-31 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list

[issue14339] Optimizing bin, oct and hex

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: While optimizing stuff is nice, I'm not sure there's a use case here. Does it significantly speed up a real-world workload you're having? -- nosy: +pitrou ___ Python tracker

[issue14304] Implement utf-8-bmp codec

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: The solution outlined in the issue title ("utf-8-bmp codec") sounds like a rather dubious idea. -- nosy: +loewis, pitrou ___ Python tracker __

[issue13872] socket.detach doesn't mark socket._closed

2012-03-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3a220feafa15 by Antoine Pitrou in branch '3.2': Issue #13872: socket.detach() now marks the socket closed (as mirrored in the socket repr()). http://hg.python.org/cpython/rev/3a220feafa15 New changeset d2f0c3eb1eed by Antoine Pitrou in branch 'def

[issue13872] socket.detach doesn't mark socket._closed

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you Matt. I've now committed the patch in relevant versions. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: -Python 2.6, Python 2.7, Python 3.1 ___ Python tracker

[issue14456] Relation between threads and signals unclear

2012-03-31 Thread Sven Marnach
Sven Marnach added the comment: Thanks, Antoine! It's perfectly clear now, and the newly introduces headlines are a definite improvement. -- ___ Python tracker ___ ___

[issue14300] dup_socket() on Windows should use WSA_FLAG_OVERLAPPED

2012-03-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5be4d8fc9c44 by Antoine Pitrou in branch 'default': Issue #14300: Under Windows, sockets created using socket.dup() now allow overlapped I/O. http://hg.python.org/cpython/rev/5be4d8fc9c44 -- nosy: +python-dev _

[issue14300] dup_socket() on Windows should use WSA_FLAG_OVERLAPPED

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I've committed the patch to 3.3 since it can be useful with the new wait() method. Thanks! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue14286] xxlimited.obj: unresolved external symbol __imp__PyObject_New

2012-03-31 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue14286] xxlimited.obj: unresolved external symbol __imp__PyObject_New

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hmm... seems to work here (in release mode, for some reason it's skipped in debug mode). -- nosy: +pitrou ___ Python tracker ___ _

[issue14116] threading classes' __enter__ should return self

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Closing then. -- resolution: -> rejected stage: -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue1641544] rlcompleter tab completion in pdb

2012-03-31 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +georg.brandl stage: test needed -> patch review versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ _

[issue14141] 2.7.2 64-bit Windows library has __impt_Py* for several symbols instead of __imp__Py*

2012-03-31 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14151] multiprocessing.connection.Listener fails with invalid address

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the patch. I don't think it deserves to be a public API (it could be a private function, i.e. starting with an underscore). Also, it's better if you can add a test (to Lib/test/test_multiprocessing.py) checking that ValueError is raised when applica

[issue672115] Assignment to __bases__ of direct object subclasses

2012-03-31 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: mwh -> nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue14059] Implement multiprocessing.Barrier

2012-03-31 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- dependencies: +multiprocessing.Condition.wait_for missing ___ Python tracker ___ ___ Python-bugs-list m

[issue14087] multiprocessing.Condition.wait_for missing

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: AFAICT (Raw)Value relies on ctypes, so the tests should be skipped if ctypes is unavailable. Or I guess you could use a Semaphore instead. -- ___ Python tracker _

[issue14440] Close background process if IDLE closes abnormally.

2012-03-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Just a bit more info: ^D and ^\ in Command Prompt interpreter print '^D' or '^\'. Return causes syntax error. ^Z\n in interpreter causes silent close. (Because DOS used ^Z as end-of-file.) ^D in IDLE causes silent close. IDLE ignores ^\ and ^Z both -- nothing

[issue3177] Add shutil.open

2012-03-31 Thread STINNER Victor
STINNER Victor added the comment: > (1) Platform doesn't support this feature -> raise NotImplemented It's better to not define the function if the platform doesn't support the feature. -- ___ Python tracker _

  1   2   >