[issue21820] unittest: unhelpful truncating of long strings.

2014-06-22 Thread Chris Withers
Chris Withers added the comment: If I worked up a patch that: - made sure this truncation wasn't used for non-strings - added a class-attribute control for the truncation Would it be well received? -- ___ Python tracker

[issue6305] islice doesn't accept large stop values

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Well, as Alok has indicated that he can understand this not getting accepted, I'm now fine with that, too. Terry: Raymond had already adjusted the error message five years ago. So closing this as "won't fix". -- resolution: -> wont fix status: open

[issue7932] print statement delayed IOError when stdout has been closed

2014-06-22 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- nosy: -loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue7932] print statement delayed IOError when stdout has been closed

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: I have no interest to work on this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue21670] Add repr to shelve.Shelf

2014-06-22 Thread Claudiu Popa
Claudiu Popa added the comment: The problem is that the repr of the underlying db is not very helpful either, as seen for the dbm backend. >>> import dbm >>> dbm.open("test", "c") >>> f=_ >>> f[b"2"] = b"a" >>> f >>> But it shows the content of the underlying database, not the key / value pa

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2014-06-22 Thread Tal Einat
Tal Einat added the comment: Many IDEs do show line numbers by default. And it does make discussing code with others simpler, e.g. when teaching. But I tend to agree with Raymond that it would be better to keep the default interface clean. Anyone who will want line numbers will be able to turn

[issue21670] Add repr to shelve.Shelf

2014-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: This may not be the right repr for the usual way of creating shelves: d = shelve.open('tmp.shl') print(repr(d)) # I would expect the repr to show # the underlying db instead of all the

[issue18032] Optimization for set/frozenset.issubset()

2014-06-22 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- title: set methods should specify whether they consume iterators "lazily" -> Optimization for set/frozenset.issubset() ___ Python tracker ___ _

[issue21670] Add repr to shelve.Shelf

2014-06-22 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger stage: -> patch review ___ Python tracker ___ ___ Python

[issue20092] type() constructor should bind __int__ to __index__ when __index__ is defined and __int__ is not

2014-06-22 Thread Ethan Furman
Ethan Furman added the comment: Yes, that test should pass when this issue is resolved. I can't tell from your comment what you are trying to do to resolve it, but the course of action I had in mind was to have the `type` meta-class make a final examination of the type it was creating, and if

[issue18032] set methods should specify whether they consume iterators "lazily"

2014-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: The patch looks good. I'll go over it in more detail shortly. -- nosy: -docs@python stage: needs patch -> patch review versions: +Python 3.5 -Python 3.4 ___ Python tracker ___

[issue15178] Doctest should handle situations when test files are not readable

2014-06-22 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue15851] Lib/robotparser.py doesn't accept setting a user agent string, instead it uses the default.

2014-06-22 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue8343] improve re parse error messages for named groups

2014-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 404dcd29b0a6 by Raymond Hettinger in branch '3.4': Issue #8343: Named group error msgs did not show the group name. http://hg.python.org/cpython/rev/404dcd29b0a6 -- ___ Python tracker

[issue8343] improve re parse error messages for named groups

2014-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for noticing this. -- resolution: accepted -> fixed status: open -> closed type: -> behavior versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker

[issue8343] improve re parse error messages for named groups

2014-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9c7b50a36b42 by Raymond Hettinger in branch '2.7': Issue #8343: Named group error msgs did not show the group name. http://hg.python.org/cpython/rev/9c7b50a36b42 -- nosy: +python-dev ___ Python tracker <

[issue21672] Python for Windows 2.7.7: Path Configuration File No Longer Works With UNC Paths

2014-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 26ec6248ee8b by Benjamin Peterson in branch '2.7': fix ntpath.join on UNC-style paths by backporting py3k's splitdrive (closes #21672) http://hg.python.org/cpython/rev/26ec6248ee8b -- nosy: +python-dev resolution: -> fixed stage: needs pat

[issue5888] mmap ehancement - resize with sequence notation

2014-06-22 Thread Ned Deily
Changes by Ned Deily : -- nosy: +neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue21672] Python for Windows 2.7.7: Path Configuration File No Longer Works With UNC Paths

2014-06-22 Thread Ned Deily
Changes by Ned Deily : -- nosy: +benjamin.peterson priority: normal -> release blocker stage: -> needs patch ___ Python tracker ___ _

[issue3423] DeprecationWarning message applies to wrong context with exec()

2014-06-22 Thread Zachary Ware
Zachary Ware added the comment: Sorry, Terry; I updated the resolution because the issue was not closed, and the versions to match the currently acceptable branches after a discussion at the Bloomberg sprint, but failed to elaborate on what the actual bug here is that came out of that discussi

[issue13143] os.path.islink documentation is ambiguous

2014-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset f463387d2434 by Benjamin Peterson in branch '2.7': clarify that islink only really works if python knows about symlinks (closes #13143) http://hg.python.org/cpython/rev/f463387d2434 New changeset db7887f3e6a2 by Benjamin Peterson in branch '3.4': c

[issue20939] test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/'

2014-06-22 Thread Ned Deily
Ned Deily added the comment: Since the original problems reported here have been fixed in current branches, I'm closing this issue. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed versions: -Python 3.1, Python 3.2, Python 3.3 __

[issue18624] Add alias for iso-8859-8-i which is the same as iso-8859-8

2014-06-22 Thread Ben Galin
Ben Galin added the comment: Added a patch with these two 8859-8 aliases and a corresponding test in test_codecs.py (couldn't find test_encodings.py mentioned in an earlier message). The test also found a missing 'tactis' codec (issue 1251921), so I've commented it out in the aliases.py file.

[issue21714] Path.with_name can construct invalid paths

2014-06-22 Thread Antony Lee
Antony Lee added the comment: The attached patch fixes all the issues mentioned, and also integrates the fixes of issue 20639 (issues with with_suffix) as they are quite similar. -- keywords: +patch Added file: http://bugs.python.org/file35735/pathlib-with_name-with_suffix.patch __

[issue2213] build_tkinter.py does not handle paths with spaces

2014-06-22 Thread Zachary Ware
Zachary Ware added the comment: build_tkinter.py no longer exists in 3.5, so I'm inclined to close as 'out of date'. -- ___ Python tracker ___ ___

[issue15851] Lib/robotparser.py doesn't accept setting a user agent string, instead it uses the default.

2014-06-22 Thread karl
karl added the comment: → python Python 2.7.5 (default, Mar 9 2014, 22:15:05) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import robotparser >>> rp = robotparser.RobotFileParser('http://somesite.test

[issue17449] dev guide appears not to cover the benchmarking suite

2014-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 428b6350307e by Benjamin Peterson in branch 'default': add a pointer to the benchmarks repo (closes #17449) http://hg.python.org/devguide/rev/428b6350307e -- nosy: +python-dev resolution: -> fixed stage: needs patch -> resolved status: open

[issue13247] under Windows, os.path.abspath returns non-ASCII bytes paths as question marks

2014-06-22 Thread STINNER Victor
STINNER Victor added the comment: Ok to keep calls to ANSI versions of the Windows API when bytes filenames are used (so get question marks on encoding errors). > Another alternative would be to switch to UTF-8 as the file system encoding > on Windows, but that change might be too incompatible

[issue16667] timezone docs need "versionadded: 3.2"

2014-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset b32174cad588 by Benjamin Peterson in branch '3.4': some timezone doc improvements (closes #16667) http://hg.python.org/cpython/rev/b32174cad588 New changeset 7dc94337ef67 by Benjamin Peterson in branch 'default': merge 3.4 (#16667) http://hg.python.

[issue21427] Windows installer: cannot register 64 bit component

2014-06-22 Thread STINNER Victor
Changes by STINNER Victor : -- title: cannot register 64 bit component -> Windows installer: cannot register 64 bit component ___ Python tracker ___

[issue8343] improve re parse error messages for named groups

2014-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'll apply this (with some minor changes). -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ __

[issue15851] Lib/robotparser.py doesn't accept setting a user agent string, instead it uses the default.

2014-06-22 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger versions: +Python 3.5 -Python 3.4 ___ Python tracker ___

[issue21812] turtle.shapetransform doesn't transform the turtle on the first call

2014-06-22 Thread Lita Cho
Lita Cho added the comment: Absolutely! I totally forgot I made those changes for PEP8! Next time, I will totally submit just the change associated with the ticket. Thank you, Raymond, for the feedback and reviewing my code! -- ___ Python tracker <

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2014-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, I don't think line numbers should be "enabled by default" for IDLE or any other editor. It isn't the norm and can be distracting. If you've ever tried to use IDLE to teach kids, you would value minimizing visual distractions. -- nosy: +rhett

[issue7283] test_site failure when .local/lib/pythonX.Y/site-packages hasn't been created yet

2014-06-22 Thread Ned Deily
Ned Deily added the comment: YJ, the test_site failures you are seeing should have been fixed by the changes for Issue10881 (82c4f094f811) that were released with Python 2.7.3. Please update your Python 2.7 to the latest release (currently 2.7.7). Otherwise, unless somebody is able to reprodu

[issue14540] Crash in Modules/_ctypes/libffi/src/dlmalloc.c on ia64-hp-hpux11.31

2014-06-22 Thread Paul A.
Paul A. added the comment: I believe this problem has been gone since around 2.7.5, so can I close this myself? -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue15851] Lib/robotparser.py doesn't accept setting a user agent string, instead it uses the default.

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: c:\cpython\PCbuild>python_d.exe -V Python 3.5.0a0 c:\cpython\PCbuild>type C:\Users\Mark\MyPython\mytest.py #!/usr/bin/env python3 # -*- coding: latin-1 -*- import urllib.request opener = urllib.request.build_opener() opener.addheaders = [('User-agent', 'Python-u

[issue15851] Lib/robotparser.py doesn't accept setting a user agent string, instead it uses the default.

2014-06-22 Thread karl
karl added the comment: Note that one of the proposal is to just document in https://docs.python.org/3/library/urllib.robotparser.html the proposal made in msg169722 (available in 3.4+) robotparser.URLopener.version = 'MyVersion' -- ___ Python tr

[issue15851] Lib/robotparser.py doesn't accept setting a user agent string, instead it uses the default.

2014-06-22 Thread karl
karl added the comment: Mark, The code is using urllib for demonstrating the issue with wikipedia and other sites which are blocking python-urllib user agents because it is used by many spam harvesters. The proposal is about giving a possibility in robotparser lib to add a feature for settin

[issue2213] build_tkinter.py does not handle paths with spaces

2014-06-22 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- versions: +Python 3.5 -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list m

[issue2213] build_tkinter.py does not handle paths with spaces

2014-06-22 Thread Ned Deily
Changes by Ned Deily : -- nosy: +steve.dower, zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue3423] DeprecationWarning message applies to wrong context with exec()

2014-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Zach, your header editing is inconsistent. If you think this is a bug rather than enhancement issue, please say why. Either way, what change you would make? And even if you think there is a bug, why would you make a change in maintenance releases, given that

[issue21652] Python 2.7.7 regression in mimetypes module on Windows

2014-06-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: Vladimir, if you could provide a patch implementing your proposed rollback, that would be appreciated. -- ___ Python tracker ___ ___

[issue20578] BufferedIOBase.readinto1 is missing

2014-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 213490268be4 by Benjamin Peterson in branch 'default': add BufferedIOBase.readinto1 (closes #20578) http://hg.python.org/cpython/rev/213490268be4 -- resolution: -> fixed status: open -> closed ___ Python

[issue21030] pip usable only by administrators on Windows and SELinux

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: If this needs to be done by fixing the ACLs afterwards, then I suggest to add a C custom action, based on the code in http://stackoverflow.com/questions/17536692/resetting-file-security-to-inherit-after-a-movefile-operation -- title: pip usable only b

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

2014-06-22 Thread Victor Zhong
Victor Zhong added the comment: We made a patch for this issue at Bloomberg's Python Open Source Event. Please find the diff here: https://bitbucket.org/hllowrld/cpython/commits/382773b2611a86326568a22dd5cef6c7f7bae18c Zach Ware will review the patch. -- hgrepos: +262 nosy: +vzhong

[issue20092] type() constructor should bind __int__ to __index__ when __index__ is defined and __int__ is not

2014-06-22 Thread Amitava Bhattacharyya
Amitava Bhattacharyya added the comment: I started working on this issue as part of the Bloomberg Python Sprint (https://etherpad.mozilla.org/LjZPQ55oZs). Ethan, can you confirm if the attached test case summarizes the issue correctly? I tried to hook _PyLong_FromNbInt to check nb_index but di

[issue21158] Windows installer service could not be accessed

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Closing because of lack of feedback. -- resolution: -> works for me status: open -> closed ___ Python tracker ___

[issue21532] 2.7.7rc1 msi is lacking libpython27.a

2014-06-22 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue21331] Reversing an encoding with unicode-escape returns a different result

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: As you say, the unicode-escape codec is tied to the Python language definition. So if the language changes, the codec needs to change as well. A Unicode literal in source code might be using any encoding, so to be on the safe side, restricting it to ASCII is

[issue15983] multiprocessing JoinableQueue's join function with timeout

2014-06-22 Thread Tumer Topcu
Tumer Topcu added the comment: Another option is instead of adding a timeout parameter, a new function to check if everything is done. Like: def all_tasks_finished(self) return self._unfinished_tasks._semlock._is_zero() Which can then be utilized exactly shown in the above noted stackoverf

[issue15983] multiprocessing JoinableQueue's join function with timeout

2014-06-22 Thread Tumer Topcu
Changes by Tumer Topcu : -- nosy: +trent ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue10747] Include version info in Windows shortcuts

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the patch. Committed as-is to 3.4 and 3.5. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue10747] Include version info in Windows shortcuts

2014-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset b896fe4b1201 by Martin v. Löwis in branch '3.4': Issue #10747: Use versioned labels in the Windows start menu. http://hg.python.org/cpython/rev/b896fe4b1201 New changeset 3ca598c3437f by Martin v. Löwis in branch 'default': Issue #10747: Merge with

[issue9740] Support for HTTP 1.1 persistent connections throughout the standard library

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Mr. Kumar: the "and" is intentional. The server will use keep-alive messages only if it operates in HTTP/1.1 mode itself (protocol_version). By default, it operates in HTTP/1.0 mode, and does not enable persistent connections there. The initial implementation

[issue7932] print statement delayed IOError when stdout has been closed

2014-06-22 Thread Eugene Tang
Eugene Tang added the comment: A similar problem seems to appear in Python 3.5 ./python -c 'import sys; print("x", file=sys.stdout)' 1>&- ; echo $? 0 ./python -c 'import sys; print("x", file=sys.stderr)' 2>&- ; echo $? x 0 but again, this does seem to be a very specific corner case.

[issue1398781] Example in section 5.3 "Pure Embedding" doesn't work.

2014-06-22 Thread jhao
jhao added the comment: I have updated the example in the doc. This default behavior is introduced because of security reason as detailed in http://bugs.python.org/issue5753 -- hgrepos: +261 nosy: +jhao ___ Python tracker

[issue7283] test_site failure when .local/lib/pythonX.Y/site-packages hasn't been created yet

2014-06-22 Thread YJ Chen
YJ Chen added the comment: Works for 3.4 and 3.5 but could not successfully run test on 2.7. Error: == FAIL: test_getsitepackages (test.test_site.HelperFunctionsTests)

[issue2213] build_tkinter.py does not handle paths with spaces

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: I've seen several comments recently about the workaround to this problem being "don't put spaces in paths on Windows", so can we close this as "won't fix"? -- nosy: +BreamoreBoy ___ Python tracker

[issue9740] Support for HTTP 1.1 persistent connections throughout the standard library

2014-06-22 Thread V. Kumar
V. Kumar added the comment: Verified that Persistent Connections per HTTP 1.1 spec is already implemented and working correctly. See: http://hg.python.org/cpython/file/3f3de8c47ff8/Lib/http/client.py#l432 Also, tested this in packet sniffer to verify that connection is being reused. But the s

[issue15178] Doctest should handle situations when test files are not readable

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: @David can you pick this up given your previous involvement? -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue9341] allow argparse subcommands to be grouped

2014-06-22 Thread paul j3
paul j3 added the comment: This patch accomplishes this task by adding a _PseudoGroup class to _SubParsersAction. It's like the _ChoicesPseudoAction except that it maintains its own _choices_actions list. It takes advantage of the fact that formatter._format_actions is recursive when it com

[issue17594] mingw: preset configure defaults

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: Can someone comment on this please as I know nothing about the build system or mingw. -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue15851] Lib/robotparser.py doesn't accept setting a user agent string, instead it uses the default.

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: The code given in msg183579 works perfectly in 3.4.1 and 3.5.0. Is there anything to fix here whether code or docs? -- nosy: +BreamoreBoy ___ Python tracker __

[issue15983] multiprocessing JoinableQueue's join function with timeout

2014-06-22 Thread Tumer Topcu
Changes by Tumer Topcu : -- nosy: +tumert, zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue3423] DeprecationWarning message applies to wrong context with exec()

2014-06-22 Thread Michael Wu
Michael Wu added the comment: I ran the examples in this thread with Python 3.5, and it appears to print out the correct line that exec() occurs on (http://codepad.org/M5CevRwT). It might be time to close this issue. -- nosy: +Michael.Wu Added file: http://bugs.python.org/file35732/tes

[issue3423] DeprecationWarning message applies to wrong context with exec()

2014-06-22 Thread Michael Wu
Changes by Michael Wu : Removed file: http://bugs.python.org/file35732/testfile.py ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue15045] Make textwrap.dedent() consistent with str.splitlines(True) and str.strip()

2014-06-22 Thread YJ Chen
Changes by YJ Chen : -- nosy: +robertjli, yjchen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Robert Li
Changes by Robert Li : Added file: http://bugs.python.org/file35731/34e88a05562f.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue3353] make built-in tokenizer available via Python C API

2014-06-22 Thread Andrew C
Changes by Andrew C : Added file: http://bugs.python.org/file35730/82706ea73ada.diff ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue3353] make built-in tokenizer available via Python C API

2014-06-22 Thread Andrew C
Andrew C added the comment: The previously posted patch has become outdated due to signature changes staring with revision 89f4293 on Nov 12, 2009. Attached is an updated patch. Can it also be confirmed what are the outstanding items for this patch to be applied? Based on the previous logs i

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Zachary Ware
Zachary Ware added the comment: Raymond confirmed that the issue exists on 2.7 and 3.4, so we'll keep those in the version list. Whoever makes the commit will take care of backporting the patch, though. -- versions: +Python 2.7, Python 3.4 ___ Pyth

[issue11974] Class definition gotcha.. should this be documented somewhere?

2014-06-22 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21297] csv.skipinitialspace only skips spaces, not "whitespace" in general

2014-06-22 Thread Andy Almonte
Changes by Andy Almonte : -- nosy: +Andy.Almonte ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue8630] Keepends param in codec readline(s)

2014-06-22 Thread Jeffrey Falgout
Changes by Jeffrey Falgout : Added file: http://bugs.python.org/file35729/45139b30afef.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue8630] Keepends param in codec readline(s)

2014-06-22 Thread Jeffrey Falgout
Jeffrey Falgout added the comment: Wrote tests -- hgrepos: +259 nosy: +jeffrey.falgout ___ Python tracker ___ ___ Python-bugs-list mail

[issue20928] xml.etree.ElementInclude does not include nested xincludes

2014-06-22 Thread Blake Hartstein
Blake Hartstein added the comment: This patch incorporates nested includes and a testcase that shows how it handles infinite include by throwing an exception. -- nosy: +urule99 Added file: http://bugs.python.org/file35728/issue20928_fixed.patch ___ P

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Robert Li
Changes by Robert Li : -- keywords: +patch Added file: http://bugs.python.org/file35727/cb18733ce8f1.diff ___ Python tracker ___ ___ P

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Robert Li
Robert Li added the comment: YJ and I are adding a patch and an additional test. -- hgrepos: +258 versions: -Python 2.7, Python 3.4 ___ Python tracker ___ __

[issue6588] insert cookies into cookie jar - cookielib.py

2014-06-22 Thread SHIRLEY LU
SHIRLEY LU added the comment: Is this issue still relevant? Adding new cookies is supported in the cookiejar.py lib now. There does not seem to be an issue with null version. -- nosy: +shirllu versions: +Python 2.7 -Python 3.2 ___ Python tracker

[issue6305] islice doesn't accept large stop values

2014-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: All contributions are subject to final commit review. I looked at the patch and it is a *lot* of code for little benefit. I think the better solution would be an informative error message: "Currently, islice arguments must be less than {} on {}-bit systems".fo

[issue1690201] Added support for custom readline functions

2014-06-22 Thread John Cherian
Changes by John Cherian : -- nosy: +John.Cherian ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21427] cannot register 64 bit component

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Peter: as it turns out, Uwe actually reported two separate issue. In this tracker, we have a "one issue at a time policy", and I'm relabelling the issue as the one that Uwe initially reported (cannot register 64bit component). So I'm quite certain that *your*

[issue8192] SQLite3 PRAGMA table_info doesn't respect database on Win32

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the check. -- nosy: +loewis resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2014-06-22 Thread tw.bert
tw.bert added the comment: Hi David, thank you for looking into this. Issue 11063 starts with "When the uuid.py module is simply imported it has the side effect of forking a subprocess (/sbin/ldconfig) and doing a lot of stuff find a uuid implementation by ctypes.". My fix is specific about so

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread YJ Chen
YJ Chen added the comment: Hi Raymond- Rob and I have a patch ready. We are figuring out how to upload/submit it. New to this... :) -- ___ Python tracker ___ ___

[issue3423] DeprecationWarning message applies to wrong context with exec()

2014-06-22 Thread Zachary Ware
Changes by Zachary Ware : -- resolution: rejected -> versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker ___

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: This one isn't hard. Would you like to make a patch? If not, I get to it this evening. -- keywords: +easy ___ Python tracker ___ _

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Confirmed that the test case fails on 2.7, 3.4, and 3.5 -- priority: normal -> high stage: -> needs patch versions: +Python 2.7, Python 3.4 ___ Python tracker _

[issue8192] SQLite3 PRAGMA table_info doesn't respect database on Win32

2014-06-22 Thread Amadu Durham
Amadu Durham added the comment: Tested in both versions 2.7 and 3.4 this sqlite3 inconsistency has been corrected and no longer exists. -- nosy: +amadu type: -> behavior versions: +Python 2.7, Python 3.4 -Python 2.6 ___ Python tracker

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue21765] Idle: make 3.x HyperParser work with non-ascii identifiers.

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think you are misinterpreting the grammar. Your code declares that U+00B2 (SUPERSCRIPT TWO, ²) is an identifier character. Its category is No, so it is actually not. However, its normalization is U+0032 (DIGIT TWO, 2), which is an identifier character - but

[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2014-06-22 Thread R. David Murray
R. David Murray added the comment: How does this interact with issue 11063? -- nosy: +r.david.murray ___ Python tracker ___ ___ Python

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Robert Li
New submission from Robert Li: Failing test case: " \tboo\n \tghost" expected: " \tboo\n\tghost" returns: " \tboo\n \tghost" -- components: Library (Lib) messages: 221277 nosy: pitrou, r.david.murray, robertjli, yjchen priority: normal severity: normal status: open

[issue6362] multiprocessing: handling of errno after signals in sem_acquire()

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks, closing as fixed. -- nosy: +loewis resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue21799] python34.dll is not installed

2014-06-22 Thread Pat Le Cat
Pat Le Cat added the comment: Cheesas you are really making it hard by design to report things to Python. Maybe a bit more common sense could help the project, or should I file a new bug-report for that too? :-/ -- resolution: works for me -> rejected

[issue21799] python34.dll is not installed

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: The issue you have reported is that python34.dll is not being installed. I closed this report as invalid (and will reclose it again now). That the DLL isn't installed into the DLLs folder is by design: it either installs into system32, or into the DLLs folde

[issue17170] string method lookup is too slow

2014-06-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed keeping this issue open wouldn't be very productive since it relates to the more general problem of Python's slow interpretation. -- resolution: -> rejected status: open -> closed ___ Python tracker

[issue6362] multiprocessing: handling of errno after signals in sem_acquire()

2014-06-22 Thread Tumer Topcu
Tumer Topcu added the comment: Nevermind the last comment (curse of using a loaner laptop), tried again after compiling against the latest repo all works as expected. I believe this issue can be closed. -- ___ Python tracker

  1   2   >