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

2012-03-31 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com 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

[issue14406] Race condition in concurrent.futures

2012-03-31 Thread Matt Joiner
Matt Joiner anacro...@gmail.com 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

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

2012-03-31 Thread Niklas Br
Niklas Br n.brunb...@gmail.com 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,

[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 esbe...@gmail.com: Added file: http://bugs.python.org/file25079/isodates.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14423 ___

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

2012-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Sounds like good fix to me. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14434 ___

[issue14440] Close background process if IDLE closes abnormally.

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com 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

[issue14310] Socket duplication for windows

2012-03-31 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Still no responses? I'll submit this then, unless someone objects. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14310 ___

[issue10576] Add a progress callback to gcmodule

2012-03-31 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Thanks, Jim. Unless anyone objects, I'll commit this then. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10576 ___

[issue14440] Close background process if IDLE closes abnormally.

2012-03-31 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14440 ___ ___

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

2012-03-31 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14039 ___ ___

[issue9787] Release the TLS lock during allocations

2012-03-31 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com 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 tshep...@gmail.com added the comment: Would be nice to get another review. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14034 ___

[issue3035] Removing apparently unwanted functions from Tkinter

2012-03-31 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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 pit...@free.fr 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

[issue14310] Socket duplication for windows

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I would like to see this discussed on python-dev. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14310 ___

[issue3035] Removing apparently unwanted functions from Tkinter

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com 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 andrew.svet...@gmail.com added the comment: Closing as out if date and not active. -- assignee: - asvetlov resolution: - out of date stage: - committed/rejected ___ Python tracker rep...@bugs.python.org

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

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Will do. -- assignee: - asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5136 ___

[issue6124] Tkinter should support the OS X zoom button

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Closing as lack of interest from community. -- resolution: - wont fix stage: test needed - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

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

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com 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

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

2012-03-31 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9016 ___ ___

[issue14458] Non-admin installation fails

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

[issue14458] Non-admin installation fails

2012-03-31 Thread Timothy Madden
New submission from Timothy Madden terminato...@gmail.com: 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

[issue14458] Non-admin installation fails

2012-03-31 Thread Timothy Madden
Timothy Madden terminato...@gmail.com added the comment: This is happening on Windows Server 2008 R2 Enterprise, Service Pack 1 (64-bit) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14458

[issue14435] Remove special block allocation from floatobject.c

2012-03-31 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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 krist...@ccpgames.com 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

[issue10576] Add a progress callback to gcmodule

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue14310] Socket duplication for windows

2012-03-31 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: You are right, I was thinking more of pyobject attributes. I'll fix this then. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14310

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

2012-03-31 Thread manolo69
New submission from manolo69 f114...@rppkn.com: nonetype -- messages: 157190 nosy: manolo69 priority: normal severity: normal status: open title: type([].append([])) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14459

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

2012-03-31 Thread manolo69
manolo69 f114...@rppkn.com added the comment: nonetype should be list??? -- components: +None versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14459 ___

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

2012-03-31 Thread manolo69
manolo69 f114...@rppkn.com added the comment: sorry -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14459 ___ ___ Python-bugs-list mailing list

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

2012-03-31 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8515 ___ ___ Python-bugs-list

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

2012-03-31 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Do you suggest that after myList = [], myList.append(1) should return the list? -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14459

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

2012-03-31 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue14446] Remove deprecated tkinter functions

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: See issue #3035 for details. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14446 ___

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

2012-03-31 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue14458] Non-admin installation fails

2012-03-31 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14458 ___ ___

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

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com 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 rep...@bugs.python.org

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

2012-03-31 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2012-03-31 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2012-03-31 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Fixed. Thanks for the report, Bill. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14434

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

2012-03-31 Thread Ned Deily
Ned Deily n...@acm.org 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

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

2012-03-31 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue14446] Remove deprecated tkinter functions

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com 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 rep...@bugs.python.org

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

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com 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

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

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Thanks to Guilherme Polo for idea and to Éric Araujo for review. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5136 ___

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

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com 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

[issue14417] dict RuntimeError workaround

2012-03-31 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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

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

2012-03-31 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com 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

[issue14440] Close background process if IDLE closes abnormally.

2012-03-31 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com added the comment: I can confirm this problem with Ubuntu 11.04. -- nosy: +serwy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14440 ___

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

2012-03-31 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com added the comment: Links to the rambling Unicode threads 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:

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

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Ok -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11437 ___ ___ Python-bugs-list

[issue14417] dict RuntimeError workaround

2012-03-31 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Thanks, Nick, this is much better than speculation. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14417 ___

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

2012-03-31 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com 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

[issue13210] Support Visual Studio 2010

2012-03-31 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de 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

[issue5680] Command-line arguments when running in IDLE

2012-03-31 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- assignee: - asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5680 ___ ___

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

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: You right. That was my concern. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11437 ___

[issue3177] Add shutil.open

2012-03-31 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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

[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 andrew.svet...@gmail.com 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 krist...@ccpgames.com 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

[issue14406] Race condition in concurrent.futures

2012-03-31 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue14406] Race condition in concurrent.futures

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The patch looks fine, I've committed it. Thanks! -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14406

[issue14440] Close background process if IDLE closes abnormally.

2012-03-31 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

[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 pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7839 ___ ___ Python-bugs-list

[issue4653] Patch to fix typos in C code

2012-03-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4653 ___ ___ Python-bugs-list

[issue14456] Relation between threads and signals unclear

2012-03-31 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue14456] Relation between threads and signals unclear

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Should be fixed now. -- nosy: +pitrou resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14456

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

2012-03-31 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9246 ___ ___ Python-bugs-list

[issue14373] C implementation of functools.lru_cache

2012-03-31 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com 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

[issue14440] Close background process if IDLE closes abnormally.

2012-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com 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.

[issue14373] C implementation of functools.lru_cache

2012-03-31 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com 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 rep...@bugs.python.org

[issue14373] C implementation of functools.lru_cache

2012-03-31 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: Removed file: http://bugs.python.org/file25084/lru_cache_class.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14373 ___

[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 e...@trueblade.com 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 andrew.svet...@gmail.com 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

[issue14417] dict RuntimeError workaround

2012-03-31 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14417 ___

[issue14417] dict RuntimeError workaround

2012-03-31 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org 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 rdmur...@bitdance.com 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 rep...@bugs.python.org http://bugs.python.org/issue7839

[issue14437] _io build fails on cygwin

2012-03-31 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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':

[issue14437] _io build fails on cygwin

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 ___

[issue14316] Broken link in grammar.rst

2012-03-31 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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 ___

[issue14316] Broken link in grammar.rst

2012-03-31 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- nosy: +sandro.tosi resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14316

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

2012-03-31 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11273 ___

[issue14339] Optimizing bin, oct and hex

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

[issue14304] Implement utf-8-bmp codec

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org http://bugs.python.org/issue14304

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

2012-03-31 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue14456] Relation between threads and signals unclear

2012-03-31 Thread Sven Marnach
Sven Marnach s...@marnach.net added the comment: Thanks, Antoine! It's perfectly clear now, and the newly introduces headlines are a definite improvement. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14456

[issue14300] dup_socket() on Windows should use WSA_FLAG_OVERLAPPED

2012-03-31 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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:

[issue14300] dup_socket() on Windows should use WSA_FLAG_OVERLAPPED

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 pit...@free.fr: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14286 ___ ___ Python-bugs-list mailing

[issue14286] xxlimited.obj: unresolved external symbol __imp__PyObject_New

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Hmm... seems to work here (in release mode, for some reason it's skipped in debug mode). -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14286

[issue14116] threading classes' __enter__ should return self

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Closing then. -- resolution: - rejected stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14116

[issue1641544] rlcompleter tab completion in pdb

2012-03-31 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +georg.brandl stage: test needed - patch review versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1641544 ___

[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 pit...@free.fr: -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14141 ___ ___ Python-bugs-list mailing

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

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue672115] Assignment to __bases__ of direct object subclasses

2012-03-31 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: mwh - nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue672115 ___

[issue14059] Implement multiprocessing.Barrier

2012-03-31 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- dependencies: +multiprocessing.Condition.wait_for missing ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14059 ___

[issue14087] multiprocessing.Condition.wait_for missing

2012-03-31 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

[issue14440] Close background process if IDLE closes abnormally.

2012-03-31 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

[issue3177] Add shutil.open

2012-03-31 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com 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   >