[issue19110] PEP-0 history link is broken

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 281608674f63 by Ned Deily in branch 'default': Issue #19110: Suppress PEP 0 Last-Modified link in pep2pyramid, too http://hg.python.org/peps/rev/281608674f63 -- ___ Python tracker rep...@bugs.python.org

[issue19110] PEP-0 history link is broken

2013-09-29 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. The PEP 0 page now no longer contains a link: since it is automatically generated, there is no corresponding file for it in the peps repo. -- nosy: +ned.deily stage: - committed/rejected ___

[issue19078] Allow reversed(memoryview), like memoryview

2013-09-29 Thread Claudiu.Popa
Claudiu.Popa added the comment: For multidimensional arrays it doesn't seem to work (yet). x = numpy.array([[1,2,3], [4,5,6]]) list(reversed(x)) [array([4, 5, 6]), array([1, 2, 3])] x.data memory at 0x8032d06b8 list(reversed(x.data)) Traceback (most recent call last): File stdin, line 1,

[issue19110] PEP-0 history link is broken

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: Cool. Even if it is automatically generated, it may worth to commit this file anyway to get browsable HG history about PEP additions/removals. -- ___ Python tracker rep...@bugs.python.org

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: I tested with 2.7 and 3.3, but this is true for any version. If the bug is actual for Python 2.6, 3.1 and 3.2 why should I uncheck them? Versions field description doesn't say that I should mark only latest change. In addition, people (unlikely, but still)

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: The versions are the versions that will be patched for the issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19066 ___

[issue19010] Make XMLPullParser in ElementTree inherit from XMLParser

2013-09-29 Thread Stefan Behnel
Stefan Behnel added the comment: Given that the inheritance chain has no real user impact, I can live with this difference. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19010 ___

[issue19121] Documentation guidelines enhancements

2013-09-29 Thread anatoly techtonik
New submission from anatoly techtonik: I'll raise some points and then suggest how to fix that. issue19060 it appeared that list of functions that subprocess replaces imbues readers with uncertainty, because this list is not complete. Current http://docs.python.org/devguide/documenting.html

[issue19060] docs: note that subprocess doesn't replace os.exec*

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: I would like to know if the list is complete too. It would be extremely awesome if it was complete. This raises a side issue that there seems no guideline to write unambiguous and complete documentation. I spammed the tracker with this stuff in issue19121.

[issue19060] docs: note that subprocess doesn't replace os.exec*

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: On Sat, Sep 28, 2013 at 10:30 PM, Terry J. Reedy rep...@bugs.python.org wrote: If a sentence were added, I would simplify it to It does not replace os.exec*. or perhaps os.fork and os.exec*.. I prefer list. It is easier to scan:

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: It should be documented somehow then. At least in the field tooltip. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19066 ___

[issue19121] Documentation guidelines enhancements

2013-09-29 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19121 ___ ___ Python-bugs-list

[issue1764286] inspect.getsource does not work with decorated functions

2013-09-29 Thread Claudiu.Popa
Claudiu.Popa added the comment: Hello. Attached patch which uses the new inspect.unwrap, added in http://hg.python.org/cpython/rev/2aa6c1e35b8a. -- keywords: +patch nosy: +Claudiu.Popa Added file: http://bugs.python.org/file31902/inspect_getsource.patch

[issue19072] classmethod doesn't honour descriptor protocol of wrapped callable

2013-09-29 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- nosy: +daniel.urban ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19072 ___ ___

[issue19122] duplicate test name in Lib/test/test_import.py

2013-09-29 Thread Xavier de Gaye
New submission from Xavier de Gaye: Duplicate method names: ./Lib/test/test_import.py:255 ImportTests.test_import_name_binding Attached patch fixes it. -- components: Library (Lib) files: duplicate_test_name.patch keywords: patch messages: 198576 nosy: brett.cannon, xdegaye priority:

[issue19123] duplicate test name in Lib/test/test_regrtest.py

2013-09-29 Thread Xavier de Gaye
New submission from Xavier de Gaye: Duplicate method names: ./Lib/test/test_regrtest.py:210 ParseArgsTestCase.test_findleaks Attached patch fixes it. -- components: Library (Lib) files: duplicate_test_name.patch keywords: patch messages: 198577 nosy: ezio.melotti, michael.foord,

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread anatoly techtonik
New submission from anatoly techtonik: os.execv() starts process in background on Windows. Because it inherits stdin/stdout handlers from the process that launched Python interpreter, this becomes a source of numerous weird bugs, from polluting the stdout stream of parent to completely

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: s/same behavior/same command/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19124 ___ ___ Python-bugs-list

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: Added file: http://bugs.python.org/file31905/testexecvchild.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19124 ___

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread Richard Oudkerk
Richard Oudkerk added the comment: See http://bugs.python.org/issue436259 This is a problem with Window's implementation of spawn*() and exec*(). Just use subprocess instead which gets this stuff right. Note that on Windows exec*() is useless: it just starts a subprocess and exits the

[issue19125] duplicate test name in Lib/test/test_smtplib.py

2013-09-29 Thread Xavier de Gaye
New submission from Xavier de Gaye: Duplicate method names: ./Lib/test/test_smtplib.py:249 DebuggingServerTests.testNotImplemented Attached patch fixes this: the first method has been renamed to testEHLO since the channel_class of the DebuggingServer is SMTPChannel, and SMTPChannel does support

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: On Sun, Sep 29, 2013 at 2:05 PM, Richard Oudkerk rep...@bugs.python.org wrote: See http://bugs.python.org/issue436259 I am not sure that I should see there. There is discussion of DOS, which is not supported, also some complain about Windows execv

[issue19126] duplicate test name in Lib/test/test_webbrowser.py

2013-09-29 Thread Xavier de Gaye
New submission from Xavier de Gaye: Duplicate method names: ./Lib/test/test_webbrowser.py:161 OperaCommandTest.test_open_new Attached patch fixes it. -- components: Library (Lib) files: duplicate_test_name.patch keywords: patch messages: 198583 nosy: georg.brandl, xdegaye priority:

[issue19127] duplicate test name in Lib/xml/dom/minidom.py

2013-09-29 Thread Xavier de Gaye
New submission from Xavier de Gaye: Duplicate method names: ./Lib/xml/dom/minidom.py:379 Attr._get_name -- components: Library (Lib) messages: 198584 nosy: xdegaye priority: normal severity: normal status: open title: duplicate test name in Lib/xml/dom/minidom.py type: behavior

[issue19128] duplicate test name in Mac/Tools/Doc/setup.py

2013-09-29 Thread Xavier de Gaye
New submission from Xavier de Gaye: Duplicate method names: ./Mac/Tools/Doc/setup.py:123 DocBuild.makeHelpIndex -- components: Library (Lib) messages: 198585 nosy: hynek, ned.deily, ronaldoussoren, xdegaye priority: normal severity: normal status: open title: duplicate test name in

[issue16079] list duplicate test names with patchcheck

2013-09-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: The following issues have been entered for all the above duplicate names found by duplicate_code_names_2.py: issue 19112, issue 19113, issue 19114, issue 19115, issue 19116, issue 19117, issue 19118, issue 19119, issue 19122, issue 19123, issue 19125, issue

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread Richard Oudkerk
Richard Oudkerk added the comment: I am not sure that I should see there. There is discussion of DOS, which is not supported, also some complain about Windows execv function, which deprecated since VC++ 2005 (which I hope also not supported). Can you be more specific? _spawn*() and _exec*()

[issue14044] IncompleteRead error with urllib2 or urllib.request -- fine with urllib, wget, or curl

2013-09-29 Thread Mathieu Sornay
Changes by Mathieu Sornay msor...@gmail.com: -- nosy: +lechfeck ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14044 ___ ___ Python-bugs-list

[issue19122] duplicate test name in Lib/test/test_import.py

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset a25fe5675ea4 by Benjamin Peterson in branch '3.3': remove duplicate test from test_import (closes #19122) http://hg.python.org/cpython/rev/a25fe5675ea4 New changeset 026cfc382a13 by Benjamin Peterson in branch 'default': merge 3.3 (#19122)

[issue19125] duplicate test name in Lib/test/test_smtplib.py

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset f501475d88de by Benjamin Peterson in branch '3.3': fix test to run and test that smtpd does support ELHO (closes #19125) http://hg.python.org/cpython/rev/f501475d88de New changeset d55f911c4c9d by Benjamin Peterson in branch 'default': merge 3.3

[issue19123] duplicate test name in Lib/test/test_regrtest.py

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 39f9adc8ad5b by Benjamin Peterson in branch 'default': delete duplicate test (closes #19123) http://hg.python.org/cpython/rev/39f9adc8ad5b -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open - closed

[issue19117] duplicate test names in Lib/test/test_dis.py

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9922b2cda52c by Benjamin Peterson in branch '3.3': fix duplicate test names in test_dis (closes #19117) http://hg.python.org/cpython/rev/9922b2cda52c New changeset 971965daadfb by Benjamin Peterson in branch 'default': merge 3.3 (#19117)

[issue19118] duplicate test names in Lib/test/test_ftplib.py

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9b3088bc24f1 by Benjamin Peterson in branch '3.3': remove duplicate test_mkd (closes #19118) http://hg.python.org/cpython/rev/9b3088bc24f1 New changeset c27f036e7b48 by Benjamin Peterson in branch 'default': merge 3.3 (#19118)

[issue19126] duplicate test name in Lib/test/test_webbrowser.py

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset aaa00c0e825d by Benjamin Peterson in branch '3.3': fix duplicate test name (closes #19126) http://hg.python.org/cpython/rev/aaa00c0e825d New changeset c5b3d86535e1 by Benjamin Peterson in branch 'default': merge 3.3 (#19126)

[issue19116] duplicate test names in Lib/test/test_complex.py

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset cddb3e1e5054 by Benjamin Peterson in branch '3.3': combine two tests to avoid duplicate names (closes #19116) http://hg.python.org/cpython/rev/cddb3e1e5054 New changeset d87ef944ddcc by Benjamin Peterson in branch 'default': merge 3.3 (#19116)

[issue19112] tests of _TestProcess are not run by the multiprocessing test suite

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 414ccf20d182 by Benjamin Peterson in branch '3.3': move helper function into its test method (closes #19112) http://hg.python.org/cpython/rev/414ccf20d182 New changeset 959e894dc794 by Benjamin Peterson in branch '2.7': move helper function into

[issue19114] duplicate test names in Lib/distutils/tests/test_cmd.py

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9d4d9e945f29 by Benjamin Peterson in branch '3.3': condense two tests with the same name (closes #19114) http://hg.python.org/cpython/rev/9d4d9e945f29 New changeset 61ae31665ee1 by Benjamin Peterson in branch '2.7': condense two tests with the same

[issue19127] duplicate test name in Lib/xml/dom/minidom.py

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset b76e1b58ed45 by Benjamin Peterson in branch '3.3': remove duplicate method (closes #19127) http://hg.python.org/cpython/rev/b76e1b58ed45 New changeset 792006307d6d by Benjamin Peterson in branch '2.7': remove duplicate method (closes #19127)

[issue19111] 2to3 should remove from future_builtins import *

2013-09-29 Thread Peter
Peter added the comment: Thinking about this, perhaps the bug is that Python 3 doesn't have a future_builtins module? Consider: $ python2.6 Python 2.6.8 (unknown, Sep 28 2013, 12:09:28) [GCC 4.6.3] on linux3 Type help, copyright, credits or license for more information. from __future__

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread Richard Oudkerk
Richard Oudkerk added the comment: As I wrote in http://bugs.python.org/issue19066, on Windows execv() is equivalent to os.spawnv(os.P_NOWAIT, ...) os._exit(0) This means that control is returned to cmd when the child process *starts* (and afterwards you have cmd and the child

[issue19129] 6.2.1. Regular Expression Syntax flags

2013-09-29 Thread Jason Smestad
New submission from Jason Smestad: In the Python 3.3.2 documentation in the section 6.2.1. Regular Expression Syntax subsection (?aiLmsux) it describes flags that are set by extention notation. 6 of the flags are described in detail with links for each flag, but the u flag is not described or

[issue19112] tests of _TestProcess are not run by the multiprocessing test suite

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset a3dd2ccdccf6 by Richard Oudkerk in branch '2.7': Issue #19112: avoid using function defined in method. http://hg.python.org/cpython/rev/a3dd2ccdccf6 New changeset 74752bfa6357 by Richard Oudkerk in branch '3.3': Issue #19112: avoid using function

[issue19130] PCbuild/readme.txt not up-to-date

2013-09-29 Thread Antoine Pitrou
New submission from Antoine Pitrou: PCbuild/readme.txt mentions VS2008 while VS2010 is required to build 3.4. Am I missing something? -- assignee: docs@python components: Documentation messages: 198602 nosy: brian.curtin, docs@python, loewis, pitrou, tim.golden priority: normal

[issue19130] PCbuild/readme.txt not up-to-date

2013-09-29 Thread Christian Heimes
Christian Heimes added the comment: It also mentions VS 10.0 which is 2010 ... I'm fixing it now. -- nosy: +christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19130 ___

[issue19130] PCbuild/readme.txt not up-to-date

2013-09-29 Thread Tim Golden
Tim Golden added the comment: Nope. Looks like a mistake. Confusingly, the header refers to VC++ 10.0 which is VS 2010 (I think). AFAICT a global s/2008/2010/ would be the thing to do. -- ___ Python tracker rep...@bugs.python.org

[issue19130] PCbuild/readme.txt not up-to-date

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 69bb4bf24b07 by Christian Heimes in branch '3.3': Issue #19130: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010 http://hg.python.org/cpython/rev/69bb4bf24b07 New changeset f5a7090e16b7 by Christian Heimes in branch 'default': Issue

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: On Sun, Sep 29, 2013 at 3:03 PM, Richard Oudkerk rep...@bugs.python.org wrote: _spawn*() and _exec*() are implemented by the C runtime library. spawn*() and execv() are (deprecated) aliases. It is said that execv() is deprecated, but it is not said that

[issue19130] PCbuild/readme.txt not up-to-date

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset b602edf9b100 by Christian Heimes in branch '3.3': Issue #19130: mention historic VS 2008 build dir, too http://hg.python.org/cpython/rev/b602edf9b100 New changeset a16b83ff7fb1 by Christian Heimes in branch 'default': Issue #19130: mention historic

[issue19130] PCbuild/readme.txt not up-to-date

2013-09-29 Thread Zachary Ware
Zachary Ware added the comment: Issue17326 can now be closed as a duplicate of this issue. -- nosy: +zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19130 ___

[issue10241] gc fixes for module m_copy attribute

2013-09-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm closing this issue as fixed though I'm not entirely sure the fix is right. The alpha cycle will allow us to get feedback on potential incompatibilities with third-party software. -- resolution: - fixed stage: - committed/rejected status: open -

[issue16037] httplib: header parsing is not unlimited

2013-09-29 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: As we discussed in other issues regarding the similar problem, I don't really want to introduce a new exception in a point release of 2.6. Is there any reason not to just raise HTTPException with the error message text? Code that has to work across

[issue18674] Store weak references in modules_by_index

2013-09-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think the new new module initialization scheme, if it takes steam, is much more promising to solve the underlying issue. I'm inclined to close this entry as won't fix, what do you think? -- ___ Python tracker

[issue19078] Allow reversed(memoryview), like memoryview

2013-09-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Stefan, what do you think about Claudiu's patch? Should a test be added to test_buffer as well? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19078 ___

[issue19095] Document SSLSocket.getpeercert always returns None without do_handshake

2013-09-29 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: docs@python - components: +Library (Lib) -Documentation stage: - needs patch type: enhancement - behavior versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: On Sun, Sep 29, 2013 at 6:39 PM, Richard Oudkerk rep...@bugs.python.org wrote: Richard Oudkerk added the comment: As I wrote in http://bugs.python.org/issue19066, on Windows execv() is equivalent to os.spawnv(os.P_NOWAIT, ...) os._exit(0)

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread Richard Oudkerk
Richard Oudkerk added the comment: It is said that execv() is deprecated, but it is not said that it is alias of _execv(). It is only said that _execv() is C++ compliant. http://msdn.microsoft.com/en-us/library/ms235416(v=vs.90).aspx Microsoft seems to have decided that all functions in the

[issue19095] Document SSLSocket.getpeercert always returns None without do_handshake

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset ddcdf7f7eac8 by Antoine Pitrou in branch 'default': Issue #19095: SSLSocket.getpeercert() now raises ValueError when the SSL handshake hasn't been done. http://hg.python.org/cpython/rev/ddcdf7f7eac8 -- nosy: +python-dev

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread Richard Oudkerk
Richard Oudkerk added the comment: Where did you get that info? MSDN is silent about that. http://msdn.microsoft.com/en-us/library/886kc0as(v=vs.90).aspx Reading the source code for the C runtime included with Visual Studio. The problem is not in what I should or should not use. The problem

[issue19095] Document SSLSocket.getpeercert always returns None without do_handshake

2013-09-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Change committed in 3.4. Thanks for reporting! -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19095

[issue16037] httplib: header parsing is not unlimited

2013-09-29 Thread Jyrki Pulliainen
Jyrki Pulliainen added the comment: I'm fine with not introducing a new exception for 2.6 (or any other version for that matter), so go for it :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16037

[issue16037] httplib: header parsing is not unlimited

2013-09-29 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'm just going to go ahead and commit this patch to 2.6 with the change I mentioned. Does anything else need to be done for 2.6? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16037

[issue16037] httplib: header parsing is not unlimited

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 582e5072ff89 by Barry Warsaw in branch '2.6': - Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more http://hg.python.org/cpython/rev/582e5072ff89 -- ___ Python tracker

[issue16037] httplib: header parsing is not unlimited

2013-09-29 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Thanks! -- versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16037 ___ ___ Python-bugs-list

[issue18674] Store weak references in modules_by_index

2013-09-29 Thread Brett Cannon
Brett Cannon added the comment: Fine by me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18674 ___ ___ Python-bugs-list mailing list

[issue19092] ExitStack.__exit__ incorrectly suppresses exceptions in __exit__ callbacks of inner context managers

2013-09-29 Thread Hrvoje Nikšić
Hrvoje Nikšić added the comment: Indeed, that works, thanks. Here is the updated patch for review, passing all tests. -- Added file: http://bugs.python.org/file31908/exitstack.diff ___ Python tracker rep...@bugs.python.org

[issue19128] duplicate test name in Mac/Tools/Doc/setup.py

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset c865187aa14d by Ned Deily in branch 'default': Issue #19128: Remove nonfunctional, unused Mac help indexing tool from repo. http://hg.python.org/cpython/rev/c865187aa14d -- nosy: +python-dev ___ Python

[issue19128] duplicate test name in Mac/Tools/Doc/setup.py

2013-09-29 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- resolution: - fixed stage: - committed/rejected status: open - closed type: behavior - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19128 ___

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: Hey. This ticket is about os.execv failing on spaced paths on Windows. It is not a duplicate of issue19124. -- resolution: duplicate - status: closed - open ___ Python tracker rep...@bugs.python.org

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: On Sun, Sep 29, 2013 at 8:48 PM, Richard Oudkerk rep...@bugs.python.org wrote: Don't we have such function already? I don't see the problem in quoting the string. No one seems to know how to write such a quoting function. Why escape quotes with slash

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: On Sun, Sep 29, 2013 at 8:53 PM, Richard Oudkerk rep...@bugs.python.org wrote: Richard Oudkerk added the comment: Where did you get that info? MSDN is silent about that. http://msdn.microsoft.com/en-us/library/886kc0as(v=vs.90).aspx Reading the source

[issue16037] httplib: header parsing is unlimited

2013-09-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- title: httplib: header parsing is not unlimited - httplib: header parsing is unlimited ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16037

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: I can't use subprocess. These are official business suite scripts for Android development from Google. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19124

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- resolution: rejected - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19124 ___

[issue19123] duplicate test name in Lib/test/test_regrtest.py

2013-09-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: After the last changeset 39f9adc8ad5b there are still 3 methods named test_findleaks. The proposed patch was also missing one of them. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19123

[issue19123] duplicate test name in Lib/test/test_regrtest.py

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 280d403434c4 by Benjamin Peterson in branch 'default': rename some more tests to avoid duplicate names (#19123) http://hg.python.org/cpython/rev/280d403434c4 -- ___ Python tracker rep...@bugs.python.org

[issue19131] Broken support of compressed AIFC files

2013-09-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file31910/pluck-ulaw.aifc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19131 ___

[issue19131] Broken support of compressed AIFC files

2013-09-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: In u-law and A-law compressed AIFC files the sampleSize field is equal to 8 (bits). The aifc module transparently compress/uncompress audio data to 16-bit, but doesn't support the samplewidth parameter in consistency. This causes two bugs: 1. On read

[issue18857] urlencode of a None value uses the string 'None'

2013-09-29 Thread Joshua Johnston
Joshua Johnston added the comment: Hi Senthil, You can open the html file with a browser and inspect the data posting to itself without a web server running. That is how I tested. -- ___ Python tracker rep...@bugs.python.org

[issue18919] Unify audio modules tests

2013-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch updated. Now files created in external program (Audacity) are used for testing. This exposed yet one bug, in the aifc module (issue19131). -- dependencies: +Broken support of compressed AIFC files Added file:

[issue18857] urlencode of a None value uses the string 'None'

2013-09-29 Thread Joshua Johnston
Joshua Johnston added the comment: I still believe that since None represents the absence of a value it should not be urlencoded as the string 'None'. I am not sure what they best way to url encode it is, but I know that 'None' is not it. -- status: closed - open

[issue18919] Unify audio modules tests

2013-09-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file31912/makeaudiotests.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18919 ___

[issue19119] duplicate test name in Lib/test/test_heapq.py

2013-09-29 Thread Tim Peters
Tim Peters added the comment: Good catch! Would like to hear from Raymond what the intent of these tests was - looks like the real test_get_only (which hasn't been executing) has multiple failures. -- nosy: +tim.peters ___ Python tracker

[issue5845] rlcompleter should be enabled automatically

2013-09-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: There is a backward compatibility issue with changeset d5ef330bac50 that enables tab-completion in the interactive interpreter by default. When a user is not aware of this new feature and has been implementing up to now her/his PYTHONSTARTUP file with the first

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread Richard Oudkerk
Richard Oudkerk added the comment: Hey. This ticket is about os.execv failing on spaced paths on Windows. It is not a duplicate of issue19124. It is a duplicate of #436259 [Windows] exec*/spawn* problem with spaces in args. -- ___ Python tracker

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread Richard Oudkerk
Richard Oudkerk added the comment: Visual Studio 10+ ? Is it available somewhere for a reference? Old versions of the relevant files are here: http://www.controllogics.com/software/VB6/VC98/CRT/SRC/EXECVE.C http://www.controllogics.com/software/VB6/VC98/CRT/SRC/SPAWNVE.C

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: -- nosy: -sbt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19066 ___ ___ Python-bugs-list mailing

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: -- nosy: -sbt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19124 ___ ___ Python-bugs-list mailing

[issue16041] poplib: unlimited readline() from connection

2013-09-29 Thread Jyrki Pulliainen
Jyrki Pulliainen added the comment: Attached a patch for 2.6. Due to how tests are in 2.6, this adds one more test case with evil server, which basically just returns too long lines. -- Added file: http://bugs.python.org/file31913/issue16041_py26.patch

[issue5845] rlcompleter should be enabled automatically

2013-09-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: When a user is not aware of this new feature and has been implementing up to now her/his PYTHONSTARTUP file with the first example given in python 3.3 documentation at http://docs.python.org/3/library/readline.html?highlight=readline#example then each

[issue19132] Add compact mode to pprint

2013-09-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: pprint produces not very nice output for collections with a large number of short elements (see msg198556). For example pprint.pprint(list(range(40))) outputs more than 40 short lines, while print(repr(list(range(40 takes only 2 lines on 80-column

[issue5845] rlcompleter should be enabled automatically

2013-09-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Attaching patch to only load history file if no history exists. -- keywords: -needs review resolution: - fixed Added file: http://bugs.python.org/file31914/rl_history_guard.patch ___ Python tracker

[issue19132] Add compact mode to pprint

2013-09-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think it looks good on the principle. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19132 ___

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Reminder: you are not supposed to re-open issues. I agree with Richard that this is a duplicate as submitted. The difference is that we now have subprocess; that is our fix for several problems. I will re-close unless you make a *specific* suggestion for a

[issue5845] rlcompleter should be enabled automatically

2013-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 687dd81cee3b by Antoine Pitrou in branch 'default': Issue #5845: In site.py, only load readline history from ~/.python_history if no history has been read already. This avoids double writes to the history file at shutdown.

[issue19103] Use pprint in displayhook

2013-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: (in the patch, import of sys and pprint should be done once at module level and not repeated with every line of interactive output). See a comment at the start of the Lib/_sitebuiltins.py file. Yes, importing sys in the function is redundant. For

[issue18314] Have os.unlink remove junction points

2013-09-29 Thread Kim Gräsman
Kim Gräsman added the comment: Attached is a patch that considers directory symlinks and junction points equivalent. I'm struggling with the test -- would it be acceptable to only run this test on platforms that have mklink /j (Windows Vista and higher)? I've looked at programmatic means of

[issue5845] rlcompleter should be enabled automatically

2013-09-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: The patch fixes the problem on my setup. A very minor glitch: after manually emptying or removing the PYTHONSTARTUP history file, the history is loaded with the content of ~/.python_history on the next session. --

[issue18314] Have os.unlink remove junction points

2013-09-29 Thread Tim Golden
Tim Golden added the comment: I'll try to pick this one up over the next few days. Feel free to ping me if it drops into silence! -- assignee: - tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18314

[issue12641] Remove -mno-cygwin from distutils

2013-09-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Oscar, thanks for the patches. Two things: - in the 2.7 patch, could you explicitly close the popen() file object instead of relying on deallocation to do it? - have you signed a contributor's agreement? http://www.python.org/psf/contrib/ -- nosy:

[issue16041] poplib: unlimited readline() from connection

2013-09-29 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Looks good, although only the POP3 exception is actually tested. The POP3_SSL exception isn't tested. Any chance you could add a test for that (obviously, only if `import ssl` succeeds)? -- ___ Python tracker

  1   2   >