[issue17858] Different documentation for identical methods

2013-04-28 Thread Georg Brandl
Georg Brandl added the comment: This patch includes changes from #17851, please remove that (but you can remove the comma after block). -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17858

[issue17853] Conflict between lexical scoping and name injection in __prepare__

2013-04-28 Thread Alex Gaynor
Changes by Alex Gaynor alex.gay...@gmail.com: -- nosy: +alex ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17853 ___ ___ Python-bugs-list mailing

[issue17852] Built-in module _io can loose data from buffered files at exit

2013-04-28 Thread Charles-François Natali
Charles-François Natali added the comment: It used to be a consistently reliable behavior in Python 2 (and we made it so in PyPy too), provided of course that the process exits normally; but it no longer is in Python 3. Well I can see the reasons for not flushing files, if it's clearly

[issue17838] Can't assign a different value for sys.stdin in IDLE

2013-04-28 Thread Roger Serwy
Roger Serwy added the comment: I agree with Serhiy that the patch should be updated to better explain why the extra reference to stdin was being held. The attached patch provides that update in case anyone considers applying it in the future. Terry, are you suggesting that the code should

[issue17859] improve error message for saving ints to file

2013-04-28 Thread anatoly techtonik
New submission from anatoly techtonik: I needed to write some bytes to file and got this message. hex = open('hex', 'wb') for x in range(0, 0xff, 0x11): ... hex.write(x) ... Traceback (most recent call last): File stdin, line 2, in module TypeError: 'int' does not support the buffer

[issue17806] Add keyword args support to str/bytes.expandtabs()

2013-04-28 Thread Ezio Melotti
Ezio Melotti added the comment: Without patch: $ ./python -m timeit -s 'et = a\tb\tc\td\te.expandtabs' 'et()' 100 loops, best of 3: 0.672 usec per loop $ ./python -m timeit -s 'et = a\tb\tc\td\te.expandtabs' 'et(4)' 100 loops, best of 3: 0.744 usec per loop $ ./python -m timeit -s 'et =

[issue17859] improve error message for saving ints to file

2013-04-28 Thread Ezio Melotti
Ezio Melotti added the comment: Maybe the error could be replaced with something like: TypeError: write() requires an object that supports the buffer interface, not 'type' But that's a bit long and also not entirely accurate, because the type accepted by write depends on the type of the file

[issue17857] sqlite modules doesn't build with 2.7.4 on Mac OS X 10.4

2013-04-28 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 28.04.2013 05:20, Ned Deily wrote: Ned Deily added the comment: Marc-Andre, can you elaborate on why you think Python 3 is not affected? The changes for Issue17073 also added sqlite3_int64 to 3.2, 3.3, and default and, for me on 10.4,

[issue16518] add buffer protocol to glossary

2013-04-28 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16518 ___ ___ Python-bugs-list

[issue17825] Indentation.offset and SyntaxError.offset mismatch

2013-04-28 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +Interpreter Core, Library (Lib) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17825 ___

[issue17857] sqlite modules doesn't build with 2.7.4 on Mac OS X 10.4

2013-04-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17857 ___ ___

[issue17857] sqlite modules doesn't build with 2.7.4 on Mac OS X 10.4

2013-04-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch for issue14572 was applied only to 2.7 and then I backported the bug back from 3.x. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17857 ___

[issue17838] Can't assign a different value for sys.stdin in IDLE

2013-04-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Last patch LGTM. With keeping a reference in sys.__stdin__ we will encounter same issue. sys.stdin = None sys.__stdin__ = None # close! -- ___ Python tracker rep...@bugs.python.org

[issue17857] sqlite modules doesn't build with 2.7.4 on Mac OS X 10.4

2013-04-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 44fe1f5b07e3 by Serhiy Storchaka in branch '2.7': Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3, http://hg.python.org/cpython/rev/44fe1f5b07e3 New changeset b677f656c0bf by Serhiy Storchaka in branch '3.3': Issue #17857:

[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2013-04-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 44fe1f5b07e3 by Serhiy Storchaka in branch '2.7': Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3, http://hg.python.org/cpython/rev/44fe1f5b07e3 -- ___ Python tracker

[issue17073] Integer overflow in sqlite module

2013-04-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 44fe1f5b07e3 by Serhiy Storchaka in branch '2.7': Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3, http://hg.python.org/cpython/rev/44fe1f5b07e3 -- ___ Python tracker

[issue17842] Add base64 module tests for a bytearray argument

2013-04-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17842 ___ ___

[issue17853] Conflict between lexical scoping and name injection in __prepare__

2013-04-28 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- versions: +Python 3.4 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17853 ___

[issue17842] Add base64 module tests for a bytearray argument

2013-04-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6e57d097ae56 by Serhiy Storchaka in branch '2.7': Issue #17842. Added base64 module tests with bytearray arguments. http://hg.python.org/cpython/rev/6e57d097ae56 New changeset 44edbea21640 by Serhiy Storchaka in branch '3.3': Issue #17842. Added

[issue17659] no way to determine First weekday (based on locale)

2013-04-28 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. We'll be interested in the results of your research, certainly. Windows support would also be a question we'd probably want to consider before deciding whether or not to add this. I've added MAL as nosy since I suspect he'll have

[issue12220] minidom xmlns not handling spaces in xmlns attribute value field

2013-04-28 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. It would be nice to have a test before we commit this. The tests should use assertRaisesRegex to look for something specific to this error...probably the word 'syntax'...in the error text. On the other hand, if the spaces are

[issue1727418] xmlrpclib waits indefinately

2013-04-28 Thread R. David Murray
R. David Murray added the comment: Thanks for verifying this, Adam. -- nosy: +r.david.murray resolution: - out of date stage: test needed - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue17724] urllib -- add_handler method refactoring for clarity

2013-04-28 Thread R. David Murray
R. David Murray added the comment: I presume you closed this bug yourself because you decided it probably wasn't worth applying it? I'm inclined to agree. Cleaning up the code would be nice, but since the existing code works fine, changing it *just* to clean it up probably isn't worth the

[issue17860] subprocess docs lack info how to use output result

2013-04-28 Thread anatoly techtonik
New submission from anatoly techtonik: http://docs.python.org/3/library/subprocess.html A common confusion is that result from subprocess calls in Python 3 is bytes, not string, and needs to be converted. The problem is complicated because you need to know the encoding of input/output

[issue17860] subprocess docs lack info how to use output result

2013-04-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, haypo stage: - needs patch type: - enhancement versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17860

[issue17853] Conflict between lexical scoping and name injection in __prepare__

2013-04-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: Nick, care to review? -- keywords: +patch Added file: http://bugs.python.org/file30043/classderef.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17853

[issue17839] base64 module should use memoryview

2013-04-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which allows bytes-like arguments in the base64 module. I just removed type checking if underlying function raises an exception with an appropriate message. I'm not sure about b32encode(), perhaps we can left an exception from memoryview().

[issue17842] Add base64 module tests for a bytearray argument

2013-04-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Committed. Thank you for the patch. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17842

[issue17861] put opcode information in one place

2013-04-28 Thread Benjamin Peterson
New submission from Benjamin Peterson: Right now, opcode information is duplicated in Include/opcode.h and Lib/opcode.py. I should only have to update one manually and have the other one generated automatically. opcode.h should probably be generated by a script from opcode.py. --

[issue7152] urllib2.build_opener() skips ProxyHandler

2013-04-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset f2472fb98457 by R David Murray in branch '3.3': #7152: Clarify that ProxyHandler is added only if proxy settings are detected. http://hg.python.org/cpython/rev/f2472fb98457 New changeset aca80409ecdd by R David Murray in branch 'default': Merge

[issue17853] Conflict between lexical scoping and name injection in __prepare__

2013-04-28 Thread Ethan Furman
Ethan Furman added the comment: Thanks, Benjamin. Looking at that patch I realize the fix was way beyond my current core-hacking skills. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17853

[issue17358] imp.load_module() leads to the improper caching of the 'file' argument

2013-04-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3dcc81c2eef5 by Brett Cannon in branch '3.3': Issue #17358: imp.load_source() and load_compiled() should now return http://hg.python.org/cpython/rev/3dcc81c2eef5 New changeset be6bbc9f0561 by Brett Cannon in branch 'default': merge for issue #17358

[issue17358] imp.load_module() leads to the improper caching of the 'file' argument

2013-04-28 Thread Brett Cannon
Brett Cannon added the comment: I figured out why testing was difficult; the file is only read from if it's necessary. That means if you are trying to load source which has bytecode available which is legitimate it will simply skip over the source and read from the bytecode. So in the end I

[issue17659] no way to determine First weekday (based on locale)

2013-04-28 Thread Éric Araujo
Éric Araujo added the comment: If I read the patch correctly, the code can return 0 if Monday is the first weekday as indicated by glibc, or as a fallback. I think there should be a difference. -- ___ Python tracker rep...@bugs.python.org

[issue12220] minidom xmlns not handling spaces in xmlns attribute value field

2013-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'unsupported syntax' would be more accurate, but I agree that saying what it is that is unsupported is even better. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12220

[issue7152] urllib2.build_opener() skips ProxyHandler

2013-04-28 Thread Éric Araujo
Éric Araujo added the comment: Patch adds a mention of DataHandler, that code doesn’t have yet. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7152 ___

[issue17859] improve error message for saving ints to file

2013-04-28 Thread Éric Araujo
Éric Araujo added the comment: I don’t understand that the first message says. If one wants to call the write method of a file object opened in binary mode, one needs to pass bytes, as the doc surely explains. The same error that is seen here with ints would be seen with any other objects.

[issue17862] itertools.chunks(iterable, size, fill=None)

2013-04-28 Thread anatoly techtonik
New submission from anatoly techtonik: The history: 2007 - http://bugs.python.org/issue1502 2009 - http://bugs.python.org/issue6021 I'd like to resurrect this proposal again, but name it: itertools.chunks(iterable, size, fill=None) Two reasons. 1. practicality - top itertools request on

[issue17860] subprocess docs lack info how to use output result

2013-04-28 Thread Andrew Svetlov
Andrew Svetlov added the comment: Actually stdin/stdout/stderr are string streams if universal_newline is True -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17860 ___

[issue17853] Conflict between lexical scoping and name injection in __prepare__

2013-04-28 Thread Mark Dickinson
Mark Dickinson added the comment: What's the purpose of the CLASS_FREE #definition? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17853 ___ ___

[issue17861] put opcode information in one place

2013-04-28 Thread Kushal Das
Kushal Das added the comment: Here is a simple script which prints the opcode.h in console. We can redirect it as required. -- nosy: +kushaldas Added file: http://bugs.python.org/file30045/generate_opcode_h.py ___ Python tracker

[issue17843] Lib/test/testbz2_bigmem.bz2 trigger virus warnings

2013-04-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset b7bfedc8ee18 by Nadeem Vawda in branch '2.7': Issue #17843: Remove bz2 test data that triggers antivirus warnings. http://hg.python.org/cpython/rev/b7bfedc8ee18 -- nosy: +python-dev ___ Python tracker

[issue17861] put opcode information in one place

2013-04-28 Thread Kushal Das
Kushal Das added the comment: Second version of the script with the fix for HAVE_ARGUMENT -- Added file: http://bugs.python.org/file30046/generate_opcode_h.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17861

[issue10079] idlelib for Python 3 with Guilherme Polo GSoC enhancements

2013-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: With PEP343 accepted, we can apply changes more uniformly. I think each of the changes listed should be separate issues with separate review, as most already are (msg149930). Run a script without saving it first. I am sure this has been mentioned on at

[issue17843] Lib/test/testbz2_bigmem.bz2 trigger virus warnings

2013-04-28 Thread Christian Heimes
Christian Heimes added the comment: Yes, you are right. Python 3.3.1 doesn't contain the file in question, just 2.7.4 and 3.2.4. Could you update Misc/NEWS, too? The release notes should mention that a false positive virus warning was removed. --

[issue17843] Lib/test/testbz2_bigmem.bz2 trigger virus warnings

2013-04-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 529c4defbfd7 by Nadeem Vawda in branch '2.7': Add missing NEWS entry for issue #17843. http://hg.python.org/cpython/rev/529c4defbfd7 -- ___ Python tracker rep...@bugs.python.org

[issue17858] Different documentation for identical methods

2013-04-28 Thread Andriy Mysyk
Andriy Mysyk added the comment: Apologies. I did not mean to include 17851 changes. Removed the changes, leaving out the comma after block in the attached patch. -- Added file: http://bugs.python.org/file30047/issue17858.patch ___ Python tracker

[issue17861] put opcode information in one place

2013-04-28 Thread Kushal Das
Kushal Das added the comment: Third revision with fixed empty spaces at the end of the lines. -- Added file: http://bugs.python.org/file30048/generate_opcode_h.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17861

[issue17863] Bad sys.stdin assignment hands interpreter.

2013-04-28 Thread Terry J. Reedy
New submission from Terry J. Reedy: This appears to be Python 3 specific. On 2.7.4 (Win7): import sys sys.stdin='abd' With fresh 3.4 repository debug build, prompt never appears, ^C, ^D are ignored. Must close with window's [X] button. With fresh 3.3, get repeated [62312 refs] lines. One

[issue17853] Conflict between lexical scoping and name injection in __prepare__

2013-04-28 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17853 ___ ___ Python-bugs-list mailing

[issue17843] Lib/test/testbz2_bigmem.bz2 trigger virus warnings

2013-04-28 Thread Nadeem Vawda
Nadeem Vawda added the comment: OK, 2.7 is done. Georg, what do we want to do for 3.2? I've attached a patch. -- assignee: nadeem.vawda - georg.brandl keywords: +patch Added file: http://bugs.python.org/file30049/bz2-viruswarning.diff ___ Python

[issue17853] Conflict between lexical scoping and name injection in __prepare__

2013-04-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: That's superflous. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17853 ___ ___ Python-bugs-list mailing

[issue17838] Can't assign a different value for sys.stdin in IDLE

2013-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Roger: yes. This solves immediate problem and makes Idle more like console interpreter. Same should be done for all three. Serhiy: the sole and documented purpose of sys.__stdxyz__ is to serve as backup bindings for the three i/o streams, so rebinding them is

[issue17642] IDLE add font resizing hot keys

2013-04-28 Thread Alejandro Rodas
Alejandro Rodas added the comment: I have made a patch to zoom in and out with Control-plus and Control-minus events, respectively. I'll upload it soon since the test suite is giving me an error in test_multiprocessing, even before writing the patch. I have taken a look at ZoomFont.py of

[issue17864] IDLE won't run

2013-04-28 Thread Ben Read
New submission from Ben Read: I am installing Python 3.31 on a Mac running OS 10.8.2 and have already installed ActiveTCL 8.5.13. When I try and launch IDLE, the icon appears on the dock for a second and then disappears and the application doesn't run. I have already installed both Python and

[issue17857] sqlite modules doesn't build with 2.7.4 on Mac OS X 10.4

2013-04-28 Thread Ned Deily
Ned Deily added the comment: Fix verified on OS X 10.4 for 2.7, 3.3, and default. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17857 ___ ___

[issue17864] IDLE won't run

2013-04-28 Thread Ned Deily
Ned Deily added the comment: How are you trying to launch IDLE? Also, use the Console.app (in /Applications/Utilites) to examine system.log to see if there are any error messages produced there when you attempt to launch IDLE. -- nosy: +ned.deily

[issue1722] Undocumented urllib functions

2013-04-28 Thread Nathan Housel
Nathan Housel added the comment: This has been fixed in trunk, the split* methods have documentation and appear in the module docs. See: help('urllib') -- nosy: +plasticgap ___ Python tracker rep...@bugs.python.org

[issue17843] Lib/test/testbz2_bigmem.bz2 trigger virus warnings

2013-04-28 Thread Georg Brandl
Georg Brandl added the comment: Thanks, I've got it from here. -- versions: -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17843 ___

[issue15535] Fix pickling efficiency of named tuples in 2.7.3

2013-04-28 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15535 ___ ___ Python-bugs-list

[issue17860] subprocess docs lack info how to use output result

2013-04-28 Thread anatoly techtonik
anatoly techtonik added the comment: Actually stdin/stdout/stderr are string streams if universal_newline is True I believe that makes the issue even worse. =) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17860

[issue17547] checking whether gcc supports ParseTuple __format__... erroneously returns yes with gcc 4.8

2013-04-28 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17547 ___ ___ Python-bugs-list

[issue17192] libffi-3.0.13 import

2013-04-28 Thread Georg Brandl
Georg Brandl added the comment: Greg? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17192 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17123] Add OCSP support to ssl module

2013-04-28 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- versions: -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17123 ___ ___

[issue17425] Update OpenSSL versions in Windows builds

2013-04-28 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17425 ___ ___ Python-bugs-list

[issue17864] IDLE won't run

2013-04-28 Thread Ben Read
Ben Read added the comment: Hi there, I'm launching IDLE from Applications in Finder (double clicking the application file). I've tried doing this while Console is open and the response is: 28/04/2013 21:17:19.271 Dock[167]: no information back from LS about running process Thanks, Ben

[issue17642] IDLE add font resizing hot keys

2013-04-28 Thread Abhishek Kumar
Abhishek Kumar added the comment: I have submitted a patch that is working fine on Windows and on Ubuntu. I have used ZoomFont.py of IdleX. On pressing Ctrl+ or Ctrl- it changes the user configuration and updates the font of all open windows as there is a common user configuration for all

[issue17425] Update OpenSSL versions in Windows builds

2013-04-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: Please don't reopen issues. If there is a bug in the current setup, please submit a new reporting indicating what the problem is. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17425

[issue17864] IDLE won't run

2013-04-28 Thread Ned Deily
Ned Deily added the comment: OK, assuming you are using a default install of Python 3.3.1, try opening a terminal window (Terminal.app) and launching IDLE from there by typing: /usr/local/bin/python3.3 -c 'import sys;print(sys.version)' /usr/local/bin/python3.3 -m idlelib and report what

[issue7152] urllib2.build_opener() skips ProxyHandler

2013-04-28 Thread R. David Murray
R. David Murray added the comment: Thanks, Jessica. I reworded it slightly, since the proxy setting can come from things other than environment variables on Windows and OSX. Also found one other place it needed to be mentioned, and fixed up the punctuation on one of the pre-existing

[issue17818] aifc.Aifc_read/Aifc_write.getparams can return a namedtuple

2013-04-28 Thread Claudiu.Popa
Claudiu.Popa added the comment: I've modified the patch according to your comments, thanks! Now the result of getparams() is picklable again. -- Added file: http://bugs.python.org/file30052/aifc_3.patch ___ Python tracker rep...@bugs.python.org

[issue7152] urllib2.build_opener() skips ProxyHandler

2013-04-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5da7bb478dd9 by R David Murray in branch '2.7': #7152: Remove incorrectly added reference to DataHandler. http://hg.python.org/cpython/rev/5da7bb478dd9 New changeset 122d42d5268e by R David Murray in branch '3.3': #7152: Remove incorrectly added

[issue17860] subprocess docs lack info how to use output result

2013-04-28 Thread R. David Murray
R. David Murray added the comment: Anatoly, do you have a specific suggestion for improved wording? This *is* documented in the subprocess documentation, in several appropriate places, including the fact that the appropriate encoding to use may need to be determined at the application level.

[issue17863] Bad sys.stdin assignment hands interpreter.

2013-04-28 Thread R. David Murray
R. David Murray added the comment: Indeed, in both 3.3.0 non-debug and 3.4 tip debug, python starts consuming 100% of the CPU. I'm guessing there is some subtlety involving the new IO system involved here. Python 2.7 debug build acts as you indicate for your 2.7 non-debug build. All my

[issue17859] improve error message for saving ints to file

2013-04-28 Thread R. David Murray
R. David Murray added the comment: Éric, print doesn't help if one is writing binary data. What do you mean by not understanding the first message? If you are agreeing that the first error message in Anatoly's initial post isn't clear, does Ezio's proposed change make it clearer?

[issue17864] IDLE won't run

2013-04-28 Thread Ben Read
Ben Read added the comment: In response to the first command: 3.3.1 (v3.3.1:d9893d13c628, Apr 6 2013, 11:07:11) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] …and the second command: Warning: unable to create user config directory /Users/ben/.idlerc Check path and permissions. Exiting!

[issue17864] IDLE won't run

2013-04-28 Thread Ned Deily
Ned Deily added the comment: That's really odd. It looks you have a permissions problem with your home directory. On startup, IDLE attempts to create the directory .idlerc in your home directory, /Users/ben, if it doesn't exist already. If for some reason the directory creation fails, IDLE

[issue17642] IDLE add font resizing hot keys

2013-04-28 Thread Alejandro Rodas
Alejandro Rodas added the comment: I have uploaded my patch as well, it doesn't make use of tkfont (just vanilla Tkinter methods) and it works both in Python 2.7 and 3.4 without the need of any import. I think the main difference with Abhishek Kumar's version is that mine does not use

[issue17642] IDLE add font resizing hot keys

2013-04-28 Thread Alejandro Rodas
Changes by Alejandro Rodas alexrd...@gmail.com: Removed file: http://bugs.python.org/file30053/ZoomInOut.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17642 ___

[issue17642] IDLE add font resizing hot keys

2013-04-28 Thread Alejandro Rodas
Alejandro Rodas added the comment: Sorry, I submitted a patch which only works on Windows. This one has been tested on Ubuntu too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17642 ___

[issue17863] Bad sys.stdin assignment hands interpreter.

2013-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: In searching for an existing issue about this, there seemed to be other edge-case stdin problems. I don't think that they were all usage errors. This problem was revealed by an accidental usage error that should have lain dormant until an exception was raised

[issue17865] PowerPC exponentiation and round() interaction

2013-04-28 Thread Ellen Wang
New submission from Ellen Wang: This is only on a PowerPC, specifically a p2020, running Debian 7.0 wheezy, python 2.7.3. Calling round() seems to corrupt something (in the floating point state?) that causes subsequent exponentiation (the ** operator) to be wrong: Python 2.7.3 (default, Jan

[issue17865] PowerPC exponentiation and round() interaction

2013-04-28 Thread Ellen Wang
Ellen Wang added the comment: Here's an example that uses only math library functions and float literals, presumably with a simpler code path: Python 2.7.3 (default, Jan 2 2013, 16:38:11) [GCC 4.6.3] on linux2 Type help, copyright, credits or license for more information. import math

[issue15518] Provide test coverage for filecmp.dircmp.report methods.

2013-04-28 Thread Eli Bendersky
Eli Bendersky added the comment: Thanks for the heads up Chris. Since I'm a bit busy myself lately, it's fine to wait until you have time to complete the patch. I'll review it then. -- ___ Python tracker rep...@bugs.python.org

[issue17826] Setting a side_effect on mock from create_autospec doesn't work

2013-04-28 Thread Kushal Das
Kushal Das added the comment: Version 2 of the patch, with typo fixed also one more addition test to check callable side effect in create_autospec. -- Added file: http://bugs.python.org/file30055/issue17826_v2.patch ___ Python tracker

[issue16631] tarfile.extractall() doesn't extract everything if .next() was used

2013-04-28 Thread anatoly techtonik
anatoly techtonik added the comment: Ping. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16631 ___ ___ Python-bugs-list mailing list