[issue16928] spurious Cron Daemon e-mails to d...@dinsdale.python.org

2013-01-10 Thread Chris Jerdonek
New submission from Chris Jerdonek: Some spurious e-mails are sent to python-checkins, e.g. Subject: [Python-checkins] Cron /home/docs/build-devguide From: Cron Daemon root at python.org To: d...@dinsdale.python.org /home/docs/devguide/documenting.rst:766: WARNING: term not in glossary: byte

[issue16076] xml.etree.ElementTree.Element is no longer pickleable

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: The fix introduced some refleaks: $ ./python -m test -R3:2 test_xml_etree_c test_xml_etree_c leaked [56, 56] references, sum=112 One seems to be in __getstate__: diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c --- a/Modules/_elementtree.c +++ b/Modul

[issue16154] Some minor doc fixes in Doc/library

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue16154] Some minor doc fixes in Doc/library

2013-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9b3d0bdb9256 by Ezio Melotti in branch '2.7': #16154: fix some doctests in Doc/library. Patch by Ravi Sinha. http://hg.python.org/cpython/rev/9b3d0bdb9256 New changeset 5b405df8518d by Ezio Melotti in branch '3.2': #16154: fix some doctests in Doc/

[issue16874] setup.py upload option repeated in docs

2013-01-10 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue16874] setup.py upload option repeated in docs

2013-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset a30c36fbefcf by Chris Jerdonek in branch '2.7': Issue #16874: fix formatting of setup.py upload options in documentation. http://hg.python.org/cpython/rev/a30c36fbefcf New changeset dcb645b9de4c by Chris Jerdonek in branch '3.2': Issue #16874 (forwa

[issue13899] re pattern r"[\A]" should work like "A" but matches nothing. Ditto B and Z.

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report John, and for the patch Matthew! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue13899] re pattern r"[\A]" should work like "A" but matches nothing. Ditto B and Z.

2013-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2bc04449fd8c by Ezio Melotti in branch '2.7': #13899: \A, \Z, and \B now correctly match the A, Z, and B literals when used inside character classes (e.g. [A]). Patch by Matthew Barnett. http://hg.python.org/cpython/rev/2bc04449fd8c New changeset

[issue16874] setup.py upload option repeated in docs

2013-01-10 Thread Chris Jerdonek
Chris Jerdonek added the comment: The attached patch applies to all branches. -- Added file: http://bugs.python.org/file28684/issue-16874-1-27.patch ___ Python tracker ___ __

[issue16748] Make CPython test package discoverable

2013-01-10 Thread Chris Jerdonek
Chris Jerdonek added the comment: There are lots of modules to change here. I wonder if some or most of this couldn't be automated. For example, is there any reason we couldn't write a script to check for the type of test duplication fixed documentation-wise in issue 16835? We could use suc

[issue16748] Make CPython test package discoverable

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: > There are tests outside of Lib/test/ hierarchy. See #10572. -- ___ Python tracker ___ ___ Python-bu

[issue16851] Hint about correct ismethod and isfunction usage

2013-01-10 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue13963] dev guide has no mention of mechanics of patch review

2013-01-10 Thread Chris Jerdonek
Chris Jerdonek added the comment: I asked on the Mercurial tracker about suppressing git-style diffs when git is configured on, and there is a work-around: http://bz.selenic.com/show_bug.cgi?id=3761 We could mention this in the devguide somewhere (e.g. in a FAQ about how to use Rietveld with

[issue16927] Separate built-in types from functions and group similar functions in functions.rst

2013-01-10 Thread Ezio Melotti
New submission from Ezio Melotti: http://docs.python.org/3/library/functions.html currently lists all the builtin objects. This include two main groups that should be separated in two different sections: built-in types and functions. In addition, similar/related functions should be grouped tog

[issue16874] setup.py upload option repeated in docs

2013-01-10 Thread Chris Jerdonek
Chris Jerdonek added the comment: I will take care of this (formatting issue). -- assignee: eric.araujo -> chris.jerdonek ___ Python tracker ___ _

[issue12901] Nest class/methods directives in documentation

2013-01-10 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti type: -> enhancement versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-li

[issue16926] setup.py register does not always respect --repository

2013-01-10 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Issue 16926 seemed the most similar, but appears to be different. I meant issue 13615. It is different but is also about --repository. -- ___ Python tracker ___

[issue16926] setup.py register does not always respect --repository

2013-01-10 Thread Chris Jerdonek
Chris Jerdonek added the comment: This is in part because register.run() calls self._set_config() after calling self.finalize_options(): http://hg.python.org/cpython/file/680a855ec91e/Lib/distutils/command/register.py#l43 And _set_config() doesn't seem to look at already-finalized options. --

[issue8840] truncate() semantics changed in 3.1.2

2013-01-10 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: +Python 3.3, Python 3.4 -Python 2.6, Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bu

[issue16926] setup.py register does not always respect --repository

2013-01-10 Thread Chris Jerdonek
Chris Jerdonek added the comment: I did before and double-checked again. I searched for "setup repository" and "register repository," for example. Issue 16926 seemed the most similar, but appears to be different. -- ___ Python tracker

[issue16925] Fix test discovery for test_configparser.py

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: -> ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker _

[issue16926] setup.py register does not always respect --repository

2013-01-10 Thread Éric Araujo
Éric Araujo added the comment: I think this is a duplicate, could you check? -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue16925] Fix test discovery for test_configparser.py

2013-01-10 Thread Roundup Robot
New submission from Roundup Robot: New changeset 7dbdd7204d0a by Ezio Melotti in branch '3.3': #16925: test_configparser now works with unittest test discovery. Patch by Zachary Ware. http://hg.python.org/cpython/rev/7dbdd7204d0a New changeset 680a855ec91e by Ezio Melotti in branch 'default': #

[issue16926] setup.py register does not always respect --repository

2013-01-10 Thread Chris Jerdonek
New submission from Chris Jerdonek: $ python setup.py --dry-run register --repository http://testpypi.python.org/pypi ... Registering Foo to http://pypi.python.org/pypi Server response (200): OK This is with a .pypirc file with a [server-login] section. It seems like this can cause unintended

[issue16918] Fix test discovery for test_codecs.py

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! Apparently the broken test was ported from Python 2 to Python 3 in 4747ef9640ae (back in the SVN days), but the name of the test class was not added to the list of tests in test_main. Without the test class in the list, the test was

[issue16918] Fix test discovery for test_codecs.py

2013-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 11e7d0936fa2 by Ezio Melotti in branch '3.3': #16918: test_codecs now works with unittest test discovery. Patch by Zachary Ware. http://hg.python.org/cpython/rev/11e7d0936fa2 New changeset 02180599a99f by Ezio Melotti in branch 'default': #16918: m

[issue16795] Patch: some changes to AST to make it more useful for static language analysis

2013-01-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: Ah, yes. This is part of the annoying inconsistency in our asdl framework. Here's what I think should happen: - on arguments, vararg and kwarg should get the "arg" type, killing some of the numerous fields on arguments - asdl needs to be hacked, so "arg" can

[issue16918] Fix test discovery for test_codecs.py

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: FTR, the failure you saw while switching to unittest.main() seems to be caused by a broken test that wasn't run. Unittest test discovery simply revealed the problem -- I'm working on it. -- ___ Python tracker

[issue16919] Fix test discovery for test_crypt.py

2013-01-10 Thread Zachary Ware
Zachary Ware added the comment: I was just about to test it at home and couldn't find it in my list of open issues. Thanks, Ezio :) -- ___ Python tracker ___ __

[issue16925] Fix test discovery for test_configparser.py

2013-01-10 Thread Zachary Ware
Changes by Zachary Ware : -- components: Tests files: test_configparser_discovery.diff keywords: patch nosy: brett.cannon, ezio.melotti, zach.ware priority: normal severity: normal status: open title: Fix test discovery for test_configparser.py type: behavior versions: Python 3.3, Python

[issue16919] Fix test discovery for test_crypt.py

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! I tested it with and without crypt and with and without test discovery and all the combinations seem to work fine. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed

[issue16919] Fix test discovery for test_crypt.py

2013-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 15ddd683c321 by Ezio Melotti in branch '3.3': #16919: test_crypt now works with unittest test discovery. Patch by Zachary Ware. http://hg.python.org/cpython/rev/15ddd683c321 New changeset 5345f515e03b by Ezio Melotti in branch 'default': #16919: me

[issue16924] try: except: ordering error

2013-01-10 Thread R. David Murray
R. David Murray added the comment: Print b happens when the interpreter is processing the loop condition for loop c. print c happens when it is processing the body of the loop (ie: is inside the try/except in the body of the loop). Presumably if you set your keyboard autorepeat interval shor

[issue16893] Create IDLE help.txt from Doc/library/idle.rst

2013-01-10 Thread Todd Rovito
Todd Rovito added the comment: I think getting this issue fixed makes sense, it would save time and remove duplication. -- ___ Python tracker ___ ___

[issue15109] sqlite3.Connection.iterdump() dies with encoding exception

2013-01-10 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue15109] sqlite3.Connection.iterdump() dies with encoding exception

2013-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2a417ad8bfbf by R David Murray in branch '2.7': #15109: revert '%'->'format' changes in 4b105d328fe7 to fix regression. http://hg.python.org/cpython/rev/2a417ad8bfbf -- nosy: +python-dev ___ Python tracke

[issue16924] try: except: ordering error

2013-01-10 Thread Justin Eittreim
New submission from Justin Eittreim: When running multiple nested loops (to emulate the circumstances of a program running multiple different modules at once,) each with their own try: except: block (in this case for KeyboardInterrupt,) the order of operations seems to fall out of place. As yo

[issue13934] sqlite3 test typo

2013-01-10 Thread R. David Murray
R. David Murray added the comment: These patches are small enough a contributor agreement is not required, but it would still be great if you would submit one, poq. -- nosy: +r.david.murray stage: patch review -> committed/rejected status: open -> closed ___

[issue13934] sqlite3 test typo

2013-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset b8b26feb3e1a by R David Murray in branch '3.2': #13934: document sqlite version strings, use correct one in test. http://hg.python.org/cpython/rev/b8b26feb3e1a New changeset cdf9142a0c84 by R David Murray in branch '3.3': merge #13934: document sqli

[issue16920] multiprocessing.connection listener gets MemoryError on recv

2013-01-10 Thread Richard Oudkerk
Richard Oudkerk added the comment: Why are you connecting to a multiprocessing listener with a raw socket? You should be using multiprocessing.connection.Client to create a client connection. Connection.send(obj) writes a 32 bit unsigned int (in network order) to the socket representing the l

[issue16899] Add support for C99 complex type (_Complex) as ctypes.c_complex

2013-01-10 Thread Vladimir Rutsky
Vladimir Rutsky added the comment: Yes, I managed to pass and operate with matrices of complex numbers to pure C and Fortran programs by using Numpy and their ctype adapters (only for whole matrices, they don't provide c_complex type; in general see http://www.scipy.org/Cookbook/Ctypes for det

[issue16795] Patch: some changes to AST to make it more useful for static language analysis

2013-01-10 Thread Sven Brauch
Sven Brauch added the comment: Ah, whops, I misunderstood that. The error is rather generic: Traceback (most recent call last): File "./Lib/test/test_ast.py", line 796, in test_lambda self._check_arguments(fac, self.expr) File "./Lib/test/test_ast.py", line 596, in _check_arguments c

[issue16795] Patch: some changes to AST to make it more useful for static language analysis

2013-01-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: Ah, sorry, I was talking about the failure of optional arguments. -- ___ Python tracker ___ ___ P

[issue16795] Patch: some changes to AST to make it more useful for static language analysis

2013-01-10 Thread Sven Brauch
Sven Brauch added the comment: The above post has an example for trying to add a patch, here's what happens when I try to post a reply: http://pastie.org/pastes/5665144/text I also tried with another web browser, so it's unlikely that it's the browser's fault (but maybe the user's? ;)

[issue16795] Patch: some changes to AST to make it more useful for static language analysis

2013-01-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: Could you post an example of the error, please? -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue16795] Patch: some changes to AST to make it more useful for static language analysis

2013-01-10 Thread Sven Brauch
Sven Brauch added the comment: The patch review tool currently throws errors on submitting any form (http://pastie.org/pastes/5665048/text) so please forgive me for answering here once more. I'll copy this information (patch + message) to the review as soon as the website is working again. >

[issue15948] Unchecked return value of I/O functions

2013-01-10 Thread STINNER Victor
STINNER Victor added the comment: diff -r 0acc5626a578 Modules/faulthandler.c @@ -445,7 +445,10 @@ -write(thread.fd, thread.header, thread.header_len); +if (write(thread.fd, thread.header, thread.header_len) == -1) { +PyErr_SetFromErrno(PyExc_IOError); +ret

[issue15948] Unchecked return value of I/O functions

2013-01-10 Thread STINNER Victor
STINNER Victor added the comment: ./Python/traceback.c:write(fd, &c, 1); ./Python/traceback.c:write(fd, "\"", 1); ./Python/traceback.c:write(fd, "\"", 1); ./Python/traceback.c:write(fd, "\n", 1); ./Python/traceback.c:write(fd, "\n", 1); Oh, I wrote the

[issue16923] test_ssl kicks up a lot of ResourceWarnings

2013-01-10 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue16795] Patch: some changes to AST to make it more useful for static language analysis

2013-01-10 Thread Sven Brauch
Sven Brauch added the comment: Attached is the full diff this time. -- Added file: http://bugs.python.org/file28680/full.diff ___ Python tracker ___ _

[issue16795] Patch: some changes to AST to make it more useful for static language analysis

2013-01-10 Thread Sven Brauch
Sven Brauch added the comment: Here's another version now which I think could be used like this. All tests have been adjusted. I'll append two patches, one just containing the changes to the parser for ease of review, and one full diff which also contains changes to the generated files and the

[issue16715] Get rid of IOError. Use OSError instead

2013-01-10 Thread py.user
py.user added the comment: Andrew Svetlov wrote: > LoadError is inherited from OSError the comment for the function doesn't tell it today it's inherited from OSError and tomorrow it may inherit from ANYError -- ___ Python tracker

[issue15948] Unchecked return value of I/O functions

2013-01-10 Thread Marek Šuppa
Marek Šuppa added the comment: That is probably right. I was way too foolish to start with this but won't stop now. I'll try to iterate on your feedback. Thanks! -- ___ Python tracker ___

[issue14377] Modify serializer for xml.etree.ElementTree to allow forcing the use of long tag closing

2013-01-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file28678/etree_short_empty_elements.patch ___ Python tracker ___ ___ Python-

[issue15948] Unchecked return value of I/O functions

2013-01-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, I forgot press "Push All My Drafts" button. Actually only patch for _cursesmodule.c looks safe at first glance (but curses maintainer can decide better). You can split the patch on several patches, but be very careful. You should research the entire modu

[issue10572] Move test sub-packages to Lib/test

2013-01-10 Thread Brett Cannon
Brett Cannon added the comment: Two reasons for collecting all of the tests in a single location: 1) Facilitates test discovery 2) It makes packaging of CPython easier for Linux distros that prefer to leave the tests out of the core package -- ___ P

[issue14377] Modify serializer for xml.etree.ElementTree to allow forcing the use of long tag closing

2013-01-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Well, here is a patch which add short_empty_elements flag (as for XMLGenerator) to write(), tostring() and tostringlist() methods of ElementTree. -- stage: needs patch -> patch review ___ Python tracker

[issue16900] SSL sockets don't give resource warnings

2013-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset c8105251cc1f by Benjamin Peterson in branch '3.3': remove __del__ because it's evil and also prevents the ResourceWarning on the socket from happening (closes #16900) http://hg.python.org/cpython/rev/c8105251cc1f New changeset e23d51f17cce by Benja

[issue16923] test_ssl kicks up a lot of ResourceWarnings

2013-01-10 Thread Benjamin Peterson
New submission from Benjamin Peterson: Now #16900 is fixed, we get gunk like this: $ ./python -Wall Lib/test/regrtest.py -uall test_ssl [1/1] test_ssl /home/benjamin/dev/python/3.3/Lib/unittest/case.py:385: ResourceWarning: unclosed function() /home/benjamin/dev/python/3.3/Lib/test/test_ssl

[issue16886] Doctests in test_dictcomp depend on dict order

2013-01-10 Thread Frank Wierzbicki
Frank Wierzbicki added the comment: This patch of test_dict_comp.py was made against 2.7. It differs from the 3.3 version only one line "from test import test_support as support" -- Added file: http://bugs.python.org/file28677/dictcomp2.7.patch ___ P

[issue16886] Doctests in test_dictcomp depend on dict order

2013-01-10 Thread Frank Wierzbicki
Frank Wierzbicki added the comment: Switched to unittest style away from doctests and created patch against 3.3. Note that at this time test_dictcomp.py is identical in 3.3 and 3.4 so merging should be pretty easy :) -- Added file: http://bugs.python.org/file28676/dictcomp3.3.patch __

[issue16900] SSL sockets don't give resource warnings

2013-01-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed, SSLSocket.__del__ doesn't seem to have a point. -- nosy: +pitrou stage: -> needs patch ___ Python tracker ___ _

[issue10572] Move test sub-packages to Lib/test

2013-01-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: I honestly don't see the point of moving tests around. -- ___ Python tracker ___ ___ Python-bugs-

[issue10572] Move test sub-packages to Lib/test

2013-01-10 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: ctypes/tests is within my area of interests and may prove to be one of the harder pieces. I'll try to move it and report the results. I have not worked with the rest, so unless it is truly trivial this will have to wait for another volunteer.

[issue10572] Move test sub-packages to Lib/test

2013-01-10 Thread R. David Murray
R. David Murray added the comment: Talked to Michael in IRC. He isn't particularly in favor of the move of the unittest tests, but doesn't object if someone else wants to do it. So, unassigning the issue from him. -- assignee: michael.foord -> __

[issue15948] Unchecked return value of I/O functions

2013-01-10 Thread Marek Šuppa
Marek Šuppa added the comment: Thanks for the review. Do you think I should split it into multiple patches to make it easier to look through? It might be that some changes are completely wrong. This is the first time I did something with cpython core code. -- ___

[issue11205] Evaluation order of dictionary display is different from reference manual.

2013-01-10 Thread Guido van Rossum
Guido van Rossum added the comment: I am sticking with my opinion from before: the code should be fixed. It doesn't look like assignment to me. I am fine with making this a "feature" only fixed in 3.4. (You can even fix the docs in 3.3 as long as you fix them back for 3.4.) Minor note for E

[issue15948] Unchecked return value of I/O functions

2013-01-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Some general notes. Nitpick: check foo() < 0 is more used than foo() == 0. An exception raised after failed close() can hide original exception raised before. I left more specific comments on Rietveld. Only a small part of the proposed changes may be approve

[issue10572] Move test sub-packages to Lib/test

2013-01-10 Thread R. David Murray
R. David Murray added the comment: I believe that the complete list of test files still located outside of Lib/test are: tkinter/test distutils/tests ctypes/tests lib2to3/tests sqlite3/test unittest/test That last is somewhat ironic since Michael opened the issue :). I'm conside

[issue8145] Documentation about sqlite3 isolation_level

2013-01-10 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue16902] Add OSS module support for Solaris

2013-01-10 Thread brian-cameron-oracle
brian-cameron-oracle added the comment: Since Modules/ossaudiodev.c has the following line (which is not surrounded by any conditional #ifdef sort of things): #include This means that the OSS plugin will only build on a system that has this header file, so it is safe to check for on any syst

[issue16922] ElementTree.findtext() returns empty bytes object instead of empty string

2013-01-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I see yet one possible bug, using PyBytes_FromString() in list_join() on 3.2. But I can't demonstrate an example. -- ___ Python tracker ___ _

[issue16922] ElementTree.findtext() returns empty bytes object instead of empty string

2013-01-10 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: >>> import xml.etree.cElementTree as ET >>> ET.XML('').findtext('empty') b'' -- components: XML files: etree_finditer_empty.patch keywords: patch messages: 179580 nosy: eli.bendersky, serhiy.storchaka priority: normal severity: normal stage: patch re

[issue16920] multiprocessing.connection listener gets MemoryError on recv

2013-01-10 Thread John Brearley
John Brearley added the comment: In V3.2.2.3, the conn.accept() was failing to resolve the socket address. -- ___ Python tracker ___ _

[issue16921] Docs of subprocess.CREATE_NEW_CONSOLE are wrong

2013-01-10 Thread Torsten Landschoff
New submission from Torsten Landschoff: The documentation of CREATE_NEW_CONSOLE at http://docs.python.org/3/library/subprocess.html#subprocess.CREATE_NEW_CONSOLE states: This flag is always set when Popen is created with shell=True. This does not fit the code which does if (_subproce

[issue16920] multiprocessing.connection listener gets MemoryError on recv

2013-01-10 Thread John Brearley
Changes by John Brearley : -- versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue16920] multiprocessing.connection listener gets MemoryError on recv

2013-01-10 Thread John Brearley
New submission from John Brearley: Using a multiprocessing.connection listener, I can accept an incoming socket OK, but when I do conn.recv(), I get memory error. The attached script mpl_bug.py will readily reproduce the issues on WinXP & WinVista, see sample output below: c:\>python mpl_bug

[issue1634034] Show "expected" token on syntax error

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: I'm not saying that these errors are wrong -- just that they are misleading (i.e. they might lead the user on the wrong path, and make finding the actual problem more difficult). It should be noted that the examples I pasted don't include a full traceback thoug

[issue16918] Fix test discovery for test_codecs.py

2013-01-10 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue14377] Modify serializer for xml.etree.ElementTree to allow forcing the use of long tag closing

2013-01-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Serhiy, I see you assigned this to yourself - would you like to submit a > patch? Not right now. This is low priority for me too. But I want to see this feature in 3.4. -- ___ Python tracker

[issue16919] Fix test discovery for test_crypt.py

2013-01-10 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue1634034] Show "expected" token on syntax error

2013-01-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > >>> dict(a = i for i in range(10)) > +SyntaxError: invalid syntax - ')' expected > > The () are ok, the message is misleading. "dict(a = i)" is valid syntax, the compiler expects ")" instead of invalid "for". > 'name' here is a bit vague. The com

[issue6975] symlinks incorrectly resolved on POSIX platforms

2013-01-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch rewritten using recursion. Non-recursive version is not stack limited (and a little faster), but recursive version is perhaps more understandable. Some comments added. -- Added file: http://bugs.python.org/file28672/posix_realpath_2.patch

[issue16919] Fix test discovery for test_crypt.py

2013-01-10 Thread Zachary Ware
New submission from Zachary Ware: Here's a fix for test_crypt.py, inspired by Ezio's mention of using setUpModule in issue 16905. I can't test this on a platform that actually has _crypt at the moment, but I should be able to later today if nobody else has before then. Some tinkering has sho

[issue16914] timestamping in smtplib.py to help troubleshoot server timeouts/delays

2013-01-10 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry, r.david.murray stage: -> patch review ___ Python tracker ___ ___ Pyt

[issue16918] Fix test discovery for test_codecs.py

2013-01-10 Thread Zachary Ware
New submission from Zachary Ware: Here's the fix for test_codecs.py, I believe. I had a few headaches trying to get this patch created without changing some of the characters or adding a BOM to the file, and at one point the test was failing for no apparent reason. This version of the patch

[issue10182] match_start truncates large values

2013-01-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: It's good you were able to report this before we released anything. -- status: open -> closed ___ Python tracker ___

[issue10182] match_start truncates large values

2013-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0f5067d9e1d8 by Benjamin Peterson in branch '2.7': use PyInt_FromSsize_t instead of PyLong_FromSsize_t (#10182) http://hg.python.org/cpython/rev/0f5067d9e1d8 -- ___ Python tracker

[issue15545] sqlite3.Connection.iterdump() does not work with row_factory = sqlite3.Row

2013-01-10 Thread R. David Murray
R. David Murray added the comment: Peter, I see you've made contributions before, but you don't show as having a contributor agreement on file according to the tracker. Have you sent one in? If not, would you, please? Thanks again for the fix. -- components: +Library (Lib) -None res

[issue10182] match_start truncates large values

2013-01-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: Actually, 2.7 should just use PyInt_FromSsize_t, which only promotes when needed. -- ___ Python tracker ___

[issue9750] sqlite3 iterdump fails on column with reserved name

2013-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2cdb599172ab by R David Murray in branch '3.2': #15545: fix sqlite3.iterdump regression on unsortable row_factory objects. http://hg.python.org/cpython/rev/2cdb599172ab New changeset 6a85894c428f by R David Murray in branch '3.3': merge #15545: fix

[issue16218] Python launcher does not support unicode characters

2013-01-10 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue16613] ChainMap.new_child could use improvement

2013-01-10 Thread Vinay Sajip
Vinay Sajip added the comment: > d if d is not None else {} Your intention makes sense, though I would prefer to write it as: if d is None: d = {} return self.__class__(d, *self.maps) -- ___ Python tracker

[issue10182] match_start truncates large values

2013-01-10 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue15545] sqlite3.Connection.iterdump() does not work with row_factory = sqlite3.Row

2013-01-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2cdb599172ab by R David Murray in branch '3.2': #15545: fix sqlite3.iterdump regression on unsortable row_factory objects. http://hg.python.org/cpython/rev/2cdb599172ab New changeset 6a85894c428f by R David Murray in branch '3.3': merge #15545: fix

[issue10182] match_start truncates large values

2013-01-10 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Nosied Benjamin since this is a release issue. Re-opened, assigned to him, and release blocked for 2.7.4. -- assignee: -> benjamin.peterson nosy: +georg.brandl, larry priority: normal -> release blocker status: closed -> open ___

[issue10182] match_start truncates large values

2013-01-10 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Note that this change is causing problems with genshi due to API backward incompatibility. This is reported here: https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1097783 The reason the user found it in Ubuntu first is that we track hg tip, but I've

[issue9750] sqlite3 iterdump fails on column with reserved name

2013-01-10 Thread R. David Murray
R. David Murray added the comment: For the record, this patch also introduced another regression (issue 15545). -- ___ Python tracker ___ _

[issue15545] sqlite3.Connection.iterdump() does not work with row_factory = sqlite3.Row

2013-01-10 Thread R. David Murray
R. David Murray added the comment: For the record, this is a regression introduced by the fix for issue 9750. I plan to commit the fix shortly, thanks for the report and patch. -- nosy: +r.david.murray stage: -> commit review type: crash -> behavior versions: +Python 2.7, Python 3.3,

[issue16917] Misleading missing parenthesis syntax error

2013-01-10 Thread Ezio Melotti
Ezio Melotti added the comment: > This would all be a bit simpler if an indent was obligatory after > inserting a newline in the middle of a command. This is not such a bad idea, but it is not backward-compatible and it would be inconsistent with how parentheses works in other situations. Deve

  1   2   >