[issue13897] Move fields relevant to sys.exc_info out of frame into generator/threadstate

2012-04-14 Thread Stefan Behnel
Stefan Behnel added the comment: >> As long as there is a way to access these fields directly from the >> struct (with the usual preprocessor conditional), I don't think Cython >> will actually start to use the PyErr_[GS]etExcInfo() functions in >> CPython - simply for performance reasons. > > I

[issue11750] Mutualize win32 functions

2012-04-14 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson : -- nosy: +kristjan.jonsson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14574] SocketServer doesn't handle client disconnects properly

2012-04-14 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson : -- nosy: +kristjan.jonsson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14534] Add method to mark unittest.TestCases as "do not run".

2012-04-14 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: +1, we already have such decorators for individual test cases. Code should be obvious, particularly testing code and mixins often aren't. Magic such as identifying classes to run by their type should be over rideable. All magic should. -- nos

[issue14576] IDLE cannot connect to subprocess - New solution

2012-04-14 Thread clikkeb
New submission from clikkeb : It's a common issue that IDLE cannot start on Windows because "IDLE's subprocess didn't make connection.Either IDLE can't start a subprocess or personal firewall software is blocking the connection." Everyone claim that the user should set the firewal so that IDLE

[issue14577] pickling uses __class__ so you can't pickle proxy/mock objects that pretend to be other objects

2012-04-14 Thread Michael Foord
New submission from Michael Foord : Pickling uses __class__ instead of type(obj) to determine the type to pickle. This means that objects which pretend to be other objects (like proxy and mock objects) can't be pickled correctly: >>> class Foo(object): ... __class__ = property(lambda *a, **k:

[issue14577] pickling uses __class__ so you can't pickle proxy/mock objects that pretend to be other objects

2012-04-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Have you tried making a change and see if any tests fail? This is a behaviour change and I wonder if the original behaviour is by design or accident. -- components: +Library (Lib) nosy: +alexandre.vassalotti, pitrou type: -> enhancement versions: +Pyt

[issue6380] Deadlock during the "import" in the fork()'ed child process if fork() happened while import_lock was held

2012-04-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: This was fixed long ago in 724bbd489ad4. Dmitriy's example works fine with 2.7. -- nosy: +pitrou resolution: -> out of date stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

[issue14574] SocketServer doesn't handle client disconnects properly

2012-04-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14577] pickling uses __class__ so you can't pickle proxy/mock objects that pretend to be other objects

2012-04-14 Thread Michael Foord
Michael Foord added the comment: So, changing copyreg.py to use type(self) instead of self.__class__ isn't sufficient. _pickle accesses __class__ as well it seems. However I'm running all tests with this change in place to see if it breaks intended behaviour: Python 3.3.0a1+ (default:51016ff

[issue14577] pickling uses __class__ so you can't pickle proxy/mock objects that pretend to be other objects

2012-04-14 Thread Michael Foord
Michael Foord added the comment: test_pickle still passes with only copyreg.py modified. With one additional change in pickle.py (line 405 to use type(obj) instead of obj.__class__) the pickling works as I would hope (I would need assistance to fix _pickle): >>> import sys [65446 refs] >>>

[issue14577] pickling uses __class__ so you can't pickle proxy/mock objects that pretend to be other objects

2012-04-14 Thread Michael Foord
Changes by Michael Foord : -- resolution: -> wont fix stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue14577] pickling uses __class__ so you can't pickle proxy/mock objects that pretend to be other objects

2012-04-14 Thread Nick Coghlan
Nick Coghlan added the comment: Some additional thoughts for anyone else that comes across this issue. Consider the case of a weakref proxy (the only proxy type in the stdlib): for that, you never want to serialise the proxy, you want to serialise the original object. To correctly serialise

[issue14577] pickling uses __class__ so you can't pickle proxy/mock objects that pretend to be other objects

2012-04-14 Thread Michael Foord
Michael Foord added the comment: Nick - in general proxy objects have a *reference* to their target (weakref being somewhat of a special case), and pickle can already handle multiple references to the same target when deserializing an object graph. So I don't see that argument holding water f

[issue9303] Migrate sqlite3 module to _v2 API to enhance performance

2012-04-14 Thread Robin Schreiber
Robin Schreiber added the comment: I have now submitted a patch, which swapped out all the necessary calls. Tests are all running as expected. I will now try to remove some backwards compatibility code. -- keywords: +patch Added file: http://bugs.python.org/file25211/sqlite.patch ___

[issue13700] imaplib.IMAP4.authenticate authobject fails with PLAIN mechanism

2012-04-14 Thread Simonas Kazlauskas
Simonas Kazlauskas added the comment: Exactly same thing happens with `XOAUTH` mechanism too, so this bug report should be made more general. (Py3.2.2) -- nosy: +nagisa ___ Python tracker

[issue13700] imaplib.IMAP4.authenticate authobject does not work correctly in python3

2012-04-14 Thread R. David Murray
Changes by R. David Murray : -- title: imaplib.IMAP4.authenticate authobject fails with PLAIN mechanism -> imaplib.IMAP4.authenticate authobject does not work correctly in python3 ___ Python tracker __

[issue14574] SocketServer doesn't handle client disconnects properly

2012-04-14 Thread Charles-François Natali
Charles-François Natali added the comment: Thanks for the report. Several things are going on here: 1. Even though socketserver's StreamRequestHandler uses unbuffered wfile for the socket """ class StreamRequestHandler(BaseRequestHandler): [...] rbufsize = -1 wbufsize = 0 # A

[issue9303] Migrate sqlite3 module to _v2 API to enhance performance

2012-04-14 Thread Robin Schreiber
Changes by Robin Schreiber : Removed file: http://bugs.python.org/file25211/sqlite.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue9303] Migrate sqlite3 module to _v2 API to enhance performance

2012-04-14 Thread Robin Schreiber
Changes by Robin Schreiber : Added file: http://bugs.python.org/file25212/sqlite.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue6380] Deadlock during the "import" in the fork()'ed child process if fork() happened while import_lock was held

2012-04-14 Thread Brett Cannon
Brett Cannon added the comment: Just to answer Greg's question, importlib uses a context manager to manage the import lock so as long as that surfaces the right thing in a fork then things will be fine. -- ___ Python tracker

[issue14578] importlib doesn't check Windows registry for paths

2012-04-14 Thread Brett Cannon
New submission from Brett Cannon : Because I don't have access to Windows, importlib doesn't check the Windows registry for paths to search (see the use of _PyWin_FindRegisteredModule() in Python/import.c and its definition in PC/import_nt.c). I am considering this a release blocker as once im

[issue14578] importlib doesn't check Windows registry for paths

2012-04-14 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue14578] importlib doesn't check Windows registry for paths

2012-04-14 Thread Eric Snow
Eric Snow added the comment: Yeah, that's one part of imp.find_module that I kind of set aside too (the #ifdef MS_COREDLL sections in Python/import.c). For now would it be sufficient to expose _PyWin_FindRegisteredModule() privately with a wrapper in the imp module? --

[issue2377] Replace __import__ w/ importlib.__import__

2012-04-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2dd046be2c88 by Brett Cannon in branch 'default': Issue #2377: Make importlib the implementation of __import__(). http://hg.python.org/cpython/rev/2dd046be2c88 -- nosy: +python-dev ___ Python tracker

[issue14578] importlib doesn't check Windows registry for paths

2012-04-14 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue2377] Replace __import__ w/ importlib.__import__

2012-04-14 Thread Brett Cannon
Brett Cannon added the comment: While the code has been committed, I'm leaving the issue open until I have checked that the language spec is up-to-date and I have written the "What's New" entry. I am holding off on both, though, unti any tweaks I make to the import process is in for Python 3.

[issue2377] Replace __import__ w/ importlib.__import__

2012-04-14 Thread Brett Cannon
Changes by Brett Cannon : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2012-04-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think this should be a blocker for 3.3. -- nosy: +pitrou priority: normal -> release blocker ___ Python tracker ___ _

[issue2377] Replace __import__ w/ importlib.__import__

2012-04-14 Thread Brett Cannon
Brett Cannon added the comment: Notes on what to mention: importlib.invalidate_caches() doctests and ImportError now spitting out the full module name ImportError's new attributes -- ___ Python tracker ___

[issue2377] Replace __import__ w/ importlib.__import__

2012-04-14 Thread Brett Cannon
Brett Cannon added the comment: More notes: 5% startup loss according to normal_startup; within realm of compiler optimizations. -- ___ Python tracker ___ _

[issue14579] Possible vulnerability in the utf-16 decoder after error handling

2012-04-14 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : In the utf-16 decoder after calling unicode_decode_call_errorhandler aligned_end is not updated. This may potentially cause data leaks, memory damage, and crash. The bug introduced by implementation of the issue #4868. In a similar situation in the utf-8

[issue14579] Possible vulnerability in the utf-16 decoder after error handling

2012-04-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, pitrou stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue14579] Possible vulnerability in the utf-16 decoder after error handling

2012-04-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file25214/utf16_update_after_error-3.2.patch ___ Python tracker ___ ___ Pytho

[issue14580] imp.reload can fail for sub-modules

2012-04-14 Thread Paul Ollis
New submission from Paul Ollis : Code like this:: import collections.abc imp.reload(collections.abc) Raises the following exception: SystemError: Negative size passed to PyUnicode_New This occurs on the latest mercurial checkout (76302). -- components: Interpreter Core me

[issue14580] imp.reload can fail for sub-modules

2012-04-14 Thread Paul Ollis
Paul Ollis added the comment: Patch adding a test to reproduce the issue. -- keywords: +patch Added file: http://bugs.python.org/file25215/patch01-tests.diff ___ Python tracker

[issue14580] imp.reload can fail for sub-modules

2012-04-14 Thread Paul Ollis
Paul Ollis added the comment: Patch that fixes the issue. -- Added file: http://bugs.python.org/file25216/patch01-code.diff ___ Python tracker ___ __

[issue14580] imp.reload can fail for sub-modules

2012-04-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brett.cannon priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue11750] Mutualize win32 functions

2012-04-14 Thread sbt
sbt added the comment: Attached is an up to date patch. * code has been moved to Modules/_windows.c * DWORD is uniformly treated as unsigned * _subprocess's handle wrapper type has been removed (although subprocess.py still uses a Python implemented handle wrapper type) I'm not familiar wit

[issue11750] Mutualize win32 functions

2012-04-14 Thread Brian Curtin
Brian Curtin added the comment: I don't think we need the vcproj file, unless I missed something. -- ___ Python tracker ___ ___ Pytho

[issue11750] Mutualize win32 functions

2012-04-14 Thread sbt
sbt added the comment: > I don't think we need the vcproj file, unless I missed something. _multiprocessing.win32 currently wraps closesocket(), send() and recv() so it needs to link against ws2_32.lib. I don't know how to make _windows link against ws2_32.lib without adding a vcproj file fo

[issue14581] Support case-insensitive file extensions on Windows in importlib

2012-04-14 Thread Brett Cannon
New submission from Brett Cannon : Importlib doesn't cover case-insensitivity on file extensions under Windows (see test.test_import.test_import: http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%203.x/builds/41/steps/test/logs/stdio). Should add a test to test_importlib and then fix

[issue14582] Have importlib use return value from a loader's load_module()

2012-04-14 Thread Brett Cannon
New submission from Brett Cannon : Right now importlib doesn't use what loader.load_module() returns as that was what import.c did. But PEP 302 explicitly states that load_module() is expected to return the module that was loaded. So to save a dict lookup I want to rely on the return value of

[issue14583] try/except import fails --without-threads

2012-04-14 Thread Stefan Krah
New submission from Stefan Krah : In the build --without-threads, catching an ImportError in support.py fails. Fedora buildbot: http://www.python.org/dev/buildbot/all/builders/AMD64%20Fedora%20without%20threads%203.x/builds/1986/steps/test/logs/stdio ./python ./Tools/scripts/run_tests.py -j 1

[issue14584] Add gzip support the XMLRPC Server

2012-04-14 Thread Raymond Hettinger
New submission from Raymond Hettinger : The xmlrpclib client already supports gzipped data and say so in the HTTP header: "Accept-Encoding: gzip". Our XMLRPC Server ignores this header and always sends uncompressed data. -- messages: 158282 nosy: rhettinger priority: normal severity: n

[issue14581] Support case-insensitive file extensions on Windows in importlib

2012-04-14 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue11750] Mutualize win32 functions

2012-04-14 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: It shouldn't. I noticed this and fixed this at CCP a while back but I wasn't in Python Committer mode at the time. _select needs fixing. -- ___ Python tracker ___

[issue14582] Have importlib use return value from a loader's load_module()

2012-04-14 Thread Eric Snow
Eric Snow added the comment: big +1! I went quite a while before realizing that loader.load_module() was supposed to return the module, due to this specific issue. -- nosy: +eric.snow ___ Python tracker

[issue14580] imp.reload can fail for sub-modules

2012-04-14 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue14583] try/except import fails --without-threads

2012-04-14 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue14575] IDLE crashes after file open in OS X

2012-04-14 Thread Roger Serwy
Roger Serwy added the comment: Hugh, Can you launch IDLE from the terminal and report the error message you receive? From a regular Terminal, enter: python -m idlelib.idle FILE_TO_OPEN.py -- nosy: +serwy ___ Python tracker

[issue14574] SocketServer doesn't handle client disconnects properly

2012-04-14 Thread Vladan Djeric
Vladan Djeric added the comment: Thank you for taking a look Charles-François. I should note that catching the first exception in the request handler and then calling self.wfile.close() wouldn't fully solve the issue. The self.wfile.close() call would throw another broken pipe exception (whic

[issue14575] IDLE crashes after file open in OS X

2012-04-14 Thread Ned Deily
Ned Deily added the comment: This is almost certainly due to using the Apple-supplied Tcl/Tk 8.5 in Mac OS X 10.6. The Apple-suppied version of Tcl/Tk is buggy to the point of being unusable with Tkinter applications, in particular IDLE. There are many duplicate issues on similar problems,

[issue14576] IDLE cannot connect to subprocess - New solution

2012-04-14 Thread Roger Serwy
Roger Serwy added the comment: I can confirm that setting HOMEPATH to a non-existent directory will prevent IDLE from starting when using idle.bat. If you modify idle.bat such that python.exe is called instead of pythonw.exe, then IDLE starts normally, but with this console message: Warnin

[issue8900] IDLE crashes if Preference set to At Startup -> Open Edit Window

2012-04-14 Thread Roger Serwy
Changes by Roger Serwy : -- nosy: +asvetlov, terry.reedy type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue9925] Idle doesn't launch

2012-04-14 Thread Roger Serwy
Roger Serwy added the comment: Is this still a valid issue? -- status: open -> pending type: -> behavior ___ Python tracker ___ ___ P

[issue8820] IDLE not launching correctly

2012-04-14 Thread Roger Serwy
Roger Serwy added the comment: Joseph, Jeff, Is this still a valid issue with the latest release of IDLE? -- status: open -> pending type: -> behavior ___ Python tracker ___ __

[issue14006] Improve the documentation of xml.etree.ElementTree

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

[issue9150] IDLE should not save trailing whitespace after strip trailing whitespace has been used

2012-04-14 Thread Roger Serwy
Roger Serwy added the comment: Ryan, is this still an issue? -- status: open -> pending versions: -Python 2.6 ___ Python tracker ___

[issue14578] importlib doesn't check Windows registry for paths

2012-04-14 Thread Brett Cannon
Brett Cannon added the comment: You could just expose it, but on Windows I believe all extension modules are builtins, so you should be able to properly use _winreg to get at the registry and thus not require keeping the C code around. But that's just a guess. -- ___

[issue9803] IDLE closes with save while breakpoint open

2012-04-14 Thread Roger Serwy
Roger Serwy added the comment: This is a duplicate of #6257. -- nosy: +serwy resolution: -> duplicate status: open -> closed superseder: -> Idle terminates on source save while debugging ___ Python tracker __

[issue3493] No Backslash (\) in IDLE 1.2.2

2012-04-14 Thread Roger Serwy
Roger Serwy added the comment: Is this still an issue with the latest version of IDLE? -- nosy: +serwy ___ Python tracker ___ ___ Pyth

[issue6649] idlelib/rpc.py missing exit status on exithook

2012-04-14 Thread Roger Serwy
Roger Serwy added the comment: The existing code will raise an error since os._exit requires an argument. http://docs.python.org/library/os.html#os._exit The patch looks good to me. -- nosy: +serwy ___ Python tracker

[issue14581] Support case-insensitive file extensions on Windows in importlib

2012-04-14 Thread Brett Cannon
Brett Cannon added the comment: OK, is supporting this really necessary? It's a special case on Windows only; even OS X which is also case-insensitive doesn't support this. But if it does need to be supported, then does someone know if this extends to all module types or only .py and .pyw fil

[issue2377] Replace __import__ w/ importlib.__import__

2012-04-14 Thread Roger Serwy
Roger Serwy added the comment: Brett, your latest commit breaks IDLE. Here's the error message: Failed to import extension: FormatParagraph Failed to load extension 'FormatParagraph' Traceback (most recent call last): File "./idlelib/EditorWindow.py", line 998, in load_standard_extensions

[issue2377] Replace __import__ w/ importlib.__import__

2012-04-14 Thread Brett Cannon
Brett Cannon added the comment: Another thing to note: index does not default to -1 anymore but to 0; bug that should have gone away in Python 2.7. -- ___ Python tracker ___ __

[issue3493] No Backslash (\) in IDLE 1.2.2

2012-04-14 Thread Ned Deily
Ned Deily added the comment: The problem of not honoring alternate input methods should no longer be a problem when using a current ActiveState Tcl/Tk 8.5.x on Mac OS X and a Python that is built to link with it, such as the current Python 2.7.x and 3.2.x installers from python.org. At the m

[issue2377] Replace __import__ w/ importlib.__import__

2012-04-14 Thread Brett Cannon
Brett Cannon added the comment: So IDLE broke because it was relying on buggy behaviour accidentally left in Python 2.7 and carried forward (plus it was not updated to use best practices like importlib.import_module()). Roger, can you try the patch I have uploaded and see if that fixes things

[issue2377] Replace __import__ w/ importlib.__import__

2012-04-14 Thread Roger Serwy
Roger Serwy added the comment: I tested update_idle.diff and it corrects the issue. While IDLE's use of __import__ may be "buggy", I don't see anything in the documentation about deprecation or other warnings about this usage. This is a backwards-incompatible change. -- ___

[issue2377] Replace __import__ w/ importlib.__import__

2012-04-14 Thread Roger Serwy
Roger Serwy added the comment: I caused a segmentation fault with the following (on Linux): $ mkdir crash $ touch crash/mod.py $ echo "__import__('mod', globals(), locals(), [], 1)" > crash/__init__.py $ ./python3 -m crash -- ___ Python tracker

[issue12436] Missing items in installation/setup instructions

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

[issue12387] IDLE save keyboard shortcut problem

2012-04-14 Thread Roger Serwy
Roger Serwy added the comment: I can confirm this issue on Linux. This issue is caused by not explicitly binding to <> in config-keys.def (and in configHandler.py's GetCoreKeys.) Presently, only binds to <>. Should all the lowercase bindings without uppercase bindings be changed, or shoul

[issue2377] Replace __import__ w/ importlib.__import__

2012-04-14 Thread Brett Cannon
Brett Cannon added the comment: I committed the fix. Thanks for testing, Roger. As for the change in semantics, I'm fully aware it is not backwards-compatible. Unfortunately the incorrect usage was not even discovered until I started my bootstrap work because the import statement does the rig

[issue2377] Replace __import__ w/ importlib.__import__

2012-04-14 Thread Roger Serwy
Roger Serwy added the comment: Brett, I see your point. The docs for __import__ should be updated to include your two-import fix as well as reference PEP328. http://docs.python.org/dev/library/functions.html?highlight=__import__#__import__ -- ___

[issue14585] Have test_import run more importlib tests

2012-04-14 Thread Brett Cannon
New submission from Brett Cannon : As it stands, test_import runs importlib.test.import_.test_relative_imports. It would probably be better to have test_import run all importlib tests using __import__(), especially since it is already coded up in importlib.test.__main__ to do so. In all hones

[issue14585] Have test_import run more importlib tests

2012-04-14 Thread Brett Cannon
Changes by Brett Cannon : -- components: +Tests stage: -> needs patch versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-li

[issue14585] Have test_import run more importlib tests

2012-04-14 Thread Brett Cannon
Changes by Brett Cannon : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue14585] Have test_import run more importlib tests

2012-04-14 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue2377] Replace __import__ w/ importlib.__import__

2012-04-14 Thread Brett Cannon
Brett Cannon added the comment: OK, crasher is fixed (as is importlib as it failed on the test case as well thanks to the slicing of [:-0] returning the empty string instead of the entire string). And I will update the docs to be a bit more clear about things (at least those docs have the ri

[issue14586] TypeError: truncate() takes no keyword arguments

2012-04-14 Thread Guy Taylor
New submission from Guy Taylor : The Python docs suggest that io.IOBase.truncate' should take a keyword argument of 'size'. However this causes a 'TypeError': TypeError: truncate() takes no keyword arguments Suggest that the docs are changed to 'truncate(size)' or CPython is changed to allow

[issue14102] argparse: add ability to create a man page

2012-04-14 Thread Andrew Regner
Changes by Andrew Regner : -- nosy: +adregner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue12387] IDLE save keyboard shortcut problem

2012-04-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: I would like to see them all changed. -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bug

[issue14519] In re's examples the example with scanf() contains wrong analog for %x, %X specifiers

2012-04-14 Thread py.user
py.user added the comment: the same problem in the %o analog valid strings for the %x specifier of scanf(): "+0xabc" "-0xabc" "+abc" "-abc" valid strings for the %o specifier of scanf(): "+0123" "-0123" "+123" "-123" how to patch the %x specifier: 0[xX][\dA-Fa-f]+ -> [-+]?(0[xX])?[\dA-Fa-

[issue8900] IDLE crashes if Preference set to At Startup -> Open Edit Window

2012-04-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Brett C. just today pushed http://hg.python.org/cpython/rev/556b9bafdee8 changeset: 76310:556b9bafdee8 user:Brett Cannon date:Sat Apr 14 20:44:23 2012 -0400 summary: IDLE was relying on implicit relative imports which have gone away in Pytho

[issue12387] IDLE save keyboard shortcut problem

2012-04-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree; lets be consistently lenient. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue3982] support .format for bytes

2012-04-14 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12081] Remove distributed copy of libffi

2012-04-14 Thread Ross Lagerwall
Ross Lagerwall added the comment: In any case, it should be OK to remove libffi_arm_wince? Is WinCE supported? -- ___ Python tracker ___ ___