[issue21911] IndexError: tuple index out of range should include the requested index and tuple length

2014-07-09 Thread Ram Rachum
Ram Rachum added the comment: Thanks for the information about timing, Stefan and Josh. That is good to know regardless of this ticket :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21911

[issue20587] sqlite3 converter not being called

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Can somebody try my code on 2.7 as I don't run it anymore. You'll probably have to undo the str = bytes dance I've just performed. Any reason why the default convertors and adapters described here

[issue9624] Error 2755, failure to find drive when installing Python

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: I don't see any evidence that this is actually a Python problem. There has been no response to msg115080. What do we do? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue21323] CGI HTTP server not running scripts from subdirectories

2014-07-09 Thread Ned Deily
Ned Deily added the comment: Zach, thanks for the patch and the test. Someone will review it in the coming days. In the meantime, if you haven't already, please review and submit the Python Contributor's Agreement: https://www.python.org/psf/contrib/contrib-form/ otherwise we won't be able to

[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Is this still a problem with cygwin? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2233

[issue9624] Error 2755, failure to find drive when installing Python

2014-07-09 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9624 ___ ___ Python-bugs-list

[issue9055] test_issue_8959_b fails when run from a service

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: I think this can be closed as fixed/resolved, am I correct? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9055 ___

[issue9055] test_issue_8959_b fails when run from a service

2014-07-09 Thread Paul Moore
Changes by Paul Moore p.f.mo...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9055 ___

[issue21943] To duplicate a list has biyective properties, not inyective ones

2014-07-09 Thread Toni Diaz
New submission from Toni Diaz: Python 2.7.3 (default, Mar 13 2014, 11:03:55) [GCC 4.7.2] on linux2 Type help, copyright, credits or license for more information. a=['dog'] b=a a ['dog'] b ['dog'] b.remove('dog') a [] b [] When defining a list from another (b=a), in my opinion, I expect

[issue21943] To duplicate a list has biyective properties, not inyective ones

2014-07-09 Thread Josh Rosenberg
Josh Rosenberg added the comment: This is a natural consequence of Python using reference semantics. x = y just makes x and y references to the same object. For immutable objects like int and str, you'll never notice consequences of this, since changes to the value (x += 1) replace the

[issue21943] To duplicate a list has biyective properties, not inyective ones

2014-07-09 Thread Josh Rosenberg
Josh Rosenberg added the comment: Short answer: This is not a bug. Run through one of the comprehensive Python tutorials on the net (or in Learning Python); reference semantics and their fairly varied consequences are covered in detail in most of them. --

[issue21943] To duplicate a list has biyective properties, not inyective ones

2014-07-09 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- resolution: - not a bug status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21943 ___

[issue21944] Allow copying of CodecInfo objects

2014-07-09 Thread Robert Lehmann
New submission from Robert Lehmann: CodecInfo objects as retrieved from codecs.lookup currently throw an exception when trying to copy or pickle them. I have attached a patch with a fix and tests. -- components: Library (Lib) files: copy_codecinfo.patch keywords: patch messages:

[issue21945] Wrong grammar in documentation

2014-07-09 Thread LtWorf
New submission from LtWorf: [Note: Long-time users of Cookie.py will remember using Cookie.Cookie() to create an Cookie object. I think it should be a Cookie. This is from the documentation of the Cookie module. -- assignee: docs@python components: Documentation messages: 222610

[issue21945] Wrong grammar in documentation

2014-07-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset c3ec90a6526e by Ezio Melotti in branch '2.7': #21945: fix typo in Cookie module docstring. http://hg.python.org/cpython/rev/c3ec90a6526e -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org

[issue21945] Wrong grammar in documentation

2014-07-09 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: docs@python - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org

[issue21946] 'python -u' yields trailing carriage return '\r' (Python2 for Windows)

2014-07-09 Thread Matthias St.Pierre
New submission from Matthias St.Pierre: raw_input yields trailing carriage return ('\r') when C:\Python27\python.exe is called using the -u option How to reproduce the error: save the attached file 'input.py' which contains the following lines -- begin input.py -- i = raw_input(enter y or

[issue21946] 'python -u' yields trailing carriage return '\r' (Python2 for Windows)

2014-07-09 Thread Matthias St.Pierre
Matthias St.Pierre added the comment: correction: the markers for transcripts 1 and 2 were inserted at the wrong location; here's the correction: -- begin transcript 1 of cmd session -- C:\Tempwhere python C:\Python27\python.exe C:\Temppython --version Python 2.7.8 C:\Temptype input.py i

[issue9745] MSVC .pdb files not created by python 2.7 distutils

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: /pdb:None is still set in msvc9compiler.py. Does this need changing in this file, or a more modern equivalent, so that symbols can be loaded in the debugger? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2

[issue7182] For non-debug builds, the cygwinccompiler.py should define NDEBUG

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: I think this is a bug but on the other hand I found msg94327 extremely confusing. Would someone like to clarify the situation. -- nosy: +BreamoreBoy type: - behavior versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2

[issue9782] _multiprocessing.c warnings under 64-bit Windows

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: I'd assume that these were cleared years ago. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9782 ___

[issue9782] _multiprocessing.c warnings under 64-bit Windows

2014-07-09 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9782 ___ ___ Python-bugs-list

[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-09 Thread hakril
New submission from hakril: The `dis` module doesn't know how to disassemble generator object because it has no idea about the `gi_code` attribute. I made a (very) little patch to change this behavior. If there is a valid reason to not let the `dis` module disassemble generator, I would be

[issue9937] _winreg.EnumValue causes MemoryError

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Does anyone wish to follow this up as I no longer run 2.7? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9937

[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-09 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21947 ___ ___ Python-bugs-list

[issue17277] incorrect line numbers in backtrace after removing a trace function

2014-07-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: The previous patch changed a field in the PyThreadState structure. This new patch is simpler and does not prevent to change f_lineno when it is not the attribute of the frame being traced. The new patch fixes also issue 7238, issue 16482 and issue 17697.

[issue9937] _winreg.EnumValue causes MemoryError

2014-07-09 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9937 ___ ___ Python-bugs-list

[issue21907] Update Windows build batch scripts

2014-07-09 Thread Zachary Ware
Zachary Ware added the comment: Thanks for getting the XP bot running again, it looks like it's now having issues with how the tests are now run (some issue with how sys.stdin is set up in a subprocess); I'm not sure if that should be fixed by reverting back to not using run_tests.py, or

[issue19806] smtpd crashes when a multi-byte UTF-8 sequence is split between consecutive data packets

2014-07-09 Thread Milan Oberkirch
Changes by Milan Oberkirch milan...@oberkirch.org: -- nosy: +jesstess ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19806 ___ ___ Python-bugs-list

[issue19806] smtpd crashes when a multi-byte UTF-8 sequence is split between consecutive data packets

2014-07-09 Thread Milan Oberkirch
Milan Oberkirch added the comment: I do not think that the proposed patch solves the bug because it silently changes binary input. With the patch for issue 19662 a proper solution to avoid this bug has been applied. The only thing left is to prevent the server to raise the exception when in

[issue21948] Documentation Typo

2014-07-09 Thread Roy
New submission from Roy: In the documentation in 15.2 (https://docs.python.org/3/library/hmac.html), under hmac.new(key, msg=None, digestmod=None), it says Paramter digestmod, which should be Parameter digestmod -- messages: 222623 nosy: thosehippos priority: normal severity: normal

[issue21944] Allow copying of CodecInfo objects

2014-07-09 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag, lemburg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21944 ___ ___

[issue16040] nntplib: unlimited readline() from connection

2014-07-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5be778fec115 by Berker Peksag in branch '3.4': Issues #21948 and #16040: Fix typos. http://hg.python.org/cpython/rev/5be778fec115 New changeset 051cc4f60384 by Berker Peksag in branch 'default': Issues #21948 and #16040: Merge with 3.4.

[issue21948] Documentation Typo

2014-07-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5be778fec115 by Berker Peksag in branch '3.4': Issues #21948 and #16040: Fix typos. http://hg.python.org/cpython/rev/5be778fec115 New changeset 051cc4f60384 by Berker Peksag in branch 'default': Issues #21948 and #16040: Merge with 3.4.

[issue21948] Documentation Typo

2014-07-09 Thread Berker Peksag
Berker Peksag added the comment: Fixed. Thanks for the report. -- assignee: - berker.peksag components: +Documentation nosy: +berker.peksag resolution: - fixed stage: - resolved status: open - closed type: enhancement - behavior versions: +Python 3.5

[issue1005895] curses for win32

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Is this worth pursuing as https://docs.python.org/3/howto/curses.html states The Windows version of Python doesn’t include the curses module. A ported version called UniCurses is available ? This is available at https://pypi.python.org/pypi/UniCurses

[issue9232] Allow trailing comma in any function argument list.

2014-07-09 Thread Phil Connell
Changes by Phil Connell pconn...@gmail.com: -- nosy: +pconnell ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9232 ___ ___ Python-bugs-list mailing

[issue9423] Error in urllib2.do_open(self, http_class, req)

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: @Lyle can we follow up with anything on this issue? If no as originator could you close it please. -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.4, Python 3.5 -Python 2.6 ___ Python tracker

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Can someone please confirm whether or not this is still an issue in either 2.7.x or 3.4.y. -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue1116520] Prefix search is filesystem-centric

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Is this something that we could get into 3.5? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1116520

[issue2445] Use The CygwinCCompiler Under Cygwin

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: From msg194383 issues #18633, #18634 and #18654 are linked to this so is anybody up for providing a patch so that we can take this forward. See also #4032. -- nosy: +BreamoreBoy ___ Python tracker

[issue9745] MSVC .pdb files not created by python 2.7 distutils

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: /pdb:None is referenced on #4214. As there is more detail on that issue I recommend that this is closed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9745

[issue21949] Document the Py_SIZE() macro.

2014-07-09 Thread Gregory P. Smith
New submission from Gregory P. Smith: The Py_SIZE() macro is not documented. It should be. It is very useful along with PyList_New(positive_number) after using PyList_SET_ITEM() to fill in up to the first positive_number elements of a list object in the most optimal manner by avoiding

[issue9745] MSVC .pdb files not created by python 2.7 distutils

2014-07-09 Thread John Ehresman
John Ehresman added the comment: Are you saying close this as a duplicate? That would be fine with me. I still think the /pdb:None should be removed if it hasn't been already. -- ___ Python tracker rep...@bugs.python.org

[issue9745] MSVC .pdb files not created by python 2.7 distutils

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Yes, close this as a duplicate. I'll put up a patch on #4214. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9745 ___

[issue9745] MSVC .pdb files not created by python 2.7 distutils

2014-07-09 Thread John Ehresman
Changes by John Ehresman j...@wingware.com: -- resolution: - duplicate ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9745 ___ ___

[issue4214] no extension debug info with msvc9compiler.py

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Patch is against default. The entire distutils test suite ran okay. Would someone like to try this in the real world please. -- components: -Distutils2 keywords: +patch nosy: +BreamoreBoy, dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python

[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: That sounds like a good idea. The patch lacks a unit test, though. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21947 ___

[issue19450] Bug in sqlite in Windows binaries

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: FYI 3.4.0 Windows was shipped with SQLite 3.8.3.1 see #20465. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19450 ___

[issue19715] test_touch_common failure under Windows

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: #19727 is fixed so do we need issues for the precision loss in pytime.c from msg204062 and the analysis in msg204148 ? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19715

[issue2889] curses for windows (alternative patch)

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be closed as curses binaries for Python 2.5, 2.6, 2.7, 3.1, 3.2, 3.3 and 3.4, win32 and win-amd64, are available at http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses, plus there is also https://pypi.python.org/pypi/UniCurses/1.2 ? -- nosy:

[issue18887] test_multiprocessing.test_connection failure on Python 2.7

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Presumably out of date. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18887 ___ ___

[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-09 Thread hakril
hakril added the comment: Here is a try for a better patch. Added a unit test and updated the doc. -- Added file: http://bugs.python.org/file35918/dis_generator2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21947

[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-09 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21947 ___ ___ Python-bugs-list

[issue1294959] Problems with /usr/lib64 builds.

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Is there agreement on what needs doing here? I'd like to see this into 3.5 before it reaches its 10th birthday :) -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker

[issue6377] distutils compiler switch ignored

2014-07-09 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: +Python 3.4, Python 3.5 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6377 ___

[issue2437] Distutils runtime_library_dirs broken on Windows

2014-07-09 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2437 ___

[issue4032] distutils cannot recognize .dll.a as library on cygwin

2014-07-09 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- components: -Distutils2 nosy: +dstufft versions: +Python 3.4, Python 3.5 -3rd party, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4032

[issue11361] suggestion for os.kill(pid,CTRL_C_EVENT) in tests

2014-07-09 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11361 ___

[issue11077] Tkinter is not thread safe

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Is this still an issue with 2.7.8 which has presumably had more fixes since 2.7.6? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11077

[issue1252236] Simplying Tkinter's event loop

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: I've just asked for an update on #11077 . -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1252236 ___

[issue11361] suggestion for os.kill(pid,CTRL_C_EVENT) in tests

2014-07-09 Thread Gregory P. Smith
Gregory P. Smith added the comment: (un-cc'ing myself as I can't deal with Windows) -- components: +Tests, Windows -IO ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11361 ___

[issue11361] suggestion for os.kill(pid,CTRL_C_EVENT) in tests

2014-07-09 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- nosy: -gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11361 ___ ___

[issue11077] Tkinter is not thread safe

2014-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Summarizing other messages, it seems that tkinter is intended to be thread-safe (as long tk.mainloop is started in the tk thread) and mostly is until it is not (probably from timing issue). With fresh 2.7.8 install, I ran TkinterCrash2.py. I got the following

[issue11077] Tkinter is not thread safe

2014-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: With 3.4.1, (64 bit), I ran, saturated (200 launches?) and closed 4 windows without incident. This extends Alexander's claim, 'not 3.x problem', in msg127648, from 3.2 to 3.4. -- ___ Python tracker

[issue21940] IDLE - Test WidgetRedirector

2014-07-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5af194064f96 by Terry Jan Reedy in branch '2.7': Issue #21940: add docstrings to idlelib.WidgetRedirector. http://hg.python.org/cpython/rev/5af194064f96 New changeset 220d5fdbe22e by Terry Jan Reedy in branch '3.4': Issue #21940: add docstrings to

[issue21947] `Dis` module doesn't know how to disassemble generators

2014-07-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21947 ___ ___ Python-bugs-list mailing