[issue21463] RuntimeError when URLopener.ftpcache is full

2014-06-13 Thread Skyler Leigh Amador
Skyler Leigh Amador added the comment: You're welcome, happy to help :) On Mon, Jun 9, 2014 at 8:31 AM, Erik Bray wrote: > > Erik Bray added the comment: > > Thanks Skyler for finishing the job. I got busy/distracted. > > -- > > ___ > Python tracker

[issue21694] IDLE - Test ParenMatch

2014-06-13 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Patch as per tracker and Rietveld comments for 2.7 Terry - I replaced the DummyFrame with a Mock, so that we can have consistent code across 2.7 and 3.4. I completed a docstring.(See Rietveld) -- Added file: http://bugs.python.org/file35623/test-par

[issue21751] Expand zipimport to support bzip2 and lzma

2014-06-13 Thread Brett Cannon
Brett Cannon added the comment: On Jun 13, 2014 7:39 PM, "Donald Stufft" wrote: > > > Donald Stufft added the comment: > > Right, but it could still have support for those things implemented yea? Yes, it's just zipimport has a history of being difficult to maintain. > > -- > >

[issue21751] Expand zipimport to support bzip2 and lzma

2014-06-13 Thread Donald Stufft
Donald Stufft added the comment: Right, but it could still have support for those things implemented yea? -- ___ Python tracker ___ __

[issue19495] Enhancement for timeit: measure time to run blocks of code using 'with'

2014-06-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: This idea is a bit at odds with the design of the rest of the time-it module which seeks to: * run small snippets of code in volume rather than "trying to find bottlenecks in large programs without interfering with their operation". The latter task is mor

[issue19362] Documentation for len() fails to mention that it works on sets

2014-06-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks Terry. -- assignee: rhettinger -> terry.reedy ___ Python tracker ___ ___ Python-bugs-list

[issue21744] itertools.islice() goes over all the pre-initial elements even if the iterable can seek

2014-06-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I'll leave it to Raymond to decide if it is worth > making a special-case optimization :) Special cases aren't special enough ... :-) The itertools are specifically designed to work with general iterators, not just sequences. > Does anyone think a gene

[issue17941] namedtuple should support fully qualified name for more portable pickling

2014-06-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Just slipped under the radar? Nope, I'll get to it before long. -- ___ Python tracker ___ ___

[issue21744] itertools.islice() goes over all the pre-initial elements even if the iterable can seek

2014-06-13 Thread Josh Rosenberg
Josh Rosenberg added the comment: I will admit, on further consideration, a dedicated sequenceview might work more nicely. islice's interface is limited by its generality; since it doesn't assume a length, you can't use a negative value for end. Does anyone think a general sequenceview class w

[issue17941] namedtuple should support fully qualified name for more portable pickling

2014-06-13 Thread Josh Rosenberg
Josh Rosenberg added the comment: I was already thinking of the same solution Christian.Tismer proposed before I reached his post. namedtuples seem cleaner if they naturally act as singletons, so (potentially whether or not pickling is involved) declaring a namedtuple with the same name and fi

[issue21744] itertools.islice() goes over all the pre-initial elements even if the iterable can seek

2014-06-13 Thread Josh Rosenberg
Josh Rosenberg added the comment: I would think that allowing the special case optimization would be a good idea. As is, if you want to take slices of buffers without making copies, you can use memoryview and get O(1) views of a slice of the memory. But there's nothing built-in that's even rem

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-06-13 Thread Torsten Landschoff
Torsten Landschoff added the comment: Hi all, let me warn you first: I have put a lot a effort in writing the patch back then. I moved on since as I don't even know when the improvement will make any difference for me. As so often, trying to contribute to an open source project turned out to

[issue21751] Expand zipimport to support bzip2 and lzma

2014-06-13 Thread Brett Cannon
Brett Cannon added the comment: Zipimporter doesn't use zipfile (the former is written in C), so it unfortunately doesn't fall through for support. -- ___ Python tracker ___ ___

[issue21724] resetwarnings doesn't reset warnings registry

2014-06-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Related indeed, though not exactly the same issue. What I'd like is to reset (i.e. clear) the registry even when keeping the default warning scheme. -- ___ Python tracker

[issue19776] Provide expanduser() on Path objects

2014-06-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Claudiu, sorry for the delay. I'm going to take a look soon! -- ___ Python tracker ___ ___ Python-bu

[issue21686] IDLE - Test hyperparser

2014-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: There are 7 scattered conditionals which only evaluate as one of True or False during tests and 5 lines not hit at all as a result. I am emailing instructions to install and use coverage package. -- ___ Python track

[issue21696] Idle: test configuration files

2014-06-13 Thread Tal Einat
Tal Einat added the comment: I've done a thorough review of the tests. The overall structure and tests are fine, but I found quite a few issues that should be addressed. Saimadhav, considering these are some of the first tests you've written, please know that I am impressed! I have many commen

[issue21694] IDLE - Test ParenMatch

2014-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please do. #21686 is for hyperparser test, which is the next one I want to look at. -- ___ Python tracker ___ _

[issue21725] RFC 6531 (SMTPUTF8) support in smtpd

2014-06-13 Thread Milan Oberkirch
Milan Oberkirch added the comment: Thanks a lot for your feedback! > Your modifications to the handling of max_command_size are technically buggy > (and clearly there's no test for it): when we aren't in extended smtp mode, > the limit should be the hardcoded value, as in the original code. M

[issue21694] IDLE - Test ParenMatch

2014-06-13 Thread Tal Einat
Tal Einat added the comment: I can take a look at get_surrounding_brackets() if you like, since I've worked with that code before. -- nosy: +taleinat ___ Python tracker ___

[issue21686] IDLE - Test hyperparser

2014-06-13 Thread Tal Einat
Tal Einat added the comment: Which lines are not hit? -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue16529] Compiler error when trying to compile ceval.c on OpenSUSE 11.3

2014-06-13 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: FWIW: This still happens with the Python 3.4.1 release version. Here's a similar error report for Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=622060 They patched the compiler, so I guess I'll have to find a more recent gcc for the build box. -

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2014-06-13 Thread Mark Lawrence
Mark Lawrence added the comment: @Éric do you intend following up on this? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bug

[issue21752] Document Backwards Incompatible change to logging in 3.4

2014-06-13 Thread Ned Deily
Changes by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue6916] Remove deprecated items from asynchat

2014-06-13 Thread Mark Lawrence
Mark Lawrence added the comment: Is it worth the effort of committing changes like this when according to https://docs.python.org/3/library/asynchat.html#module-asynchat "This module exists for backwards compatibility only. For new code we recommend using asyncio."? See also issue6911. -

[issue21750] mock_open data is visible only once for the life of the class

2014-06-13 Thread Ned Deily
Changes by Ned Deily : -- nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue14102] argparse: add ability to create a man page

2014-06-13 Thread Oz Tiram
Oz Tiram added the comment: @Raymond Hettinger, You don't have to wait anymore. I would be happy if you review the patch, and share your opinion. I might have posted my patch too early. I am still doing changes on the upstream, in my github posted earlier.So, please test the one upstream. ---

[issue13312] test_time fails: strftime('%Y', y) for negative year

2014-06-13 Thread Mark Lawrence
Mark Lawrence added the comment: The failing negative years test is still being skipped. I'm assuming this was not originally intended. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue17424] help() should use the class signature

2014-06-13 Thread Mark Lawrence
Mark Lawrence added the comment: issue17053 was closed in favour of issue19674 but I don't know if this issue is a duplicate of the former anyway. -- nosy: +BreamoreBoy ___ Python tracker _

[issue5904] strftime docs do not explain locale effect on result string

2014-06-13 Thread R. David Murray
R. David Murray added the comment: Thanks, Caelyn. I used your patch but added a clause showing explicitly how do the unicode conversion. I decided to not add that to the datetime, docs, since they are already pretty clear. -- nosy: +r.david.murray resolution: -> fixed stage: needs

[issue5904] strftime docs do not explain locale effect on result string

2014-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 31adcc4c4391 by R David Murray in branch '2.7': #5904: Add sentence about the encoding of strftime's result. http://hg.python.org/cpython/rev/31adcc4c4391 -- nosy: +python-dev ___ Python tracker

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-06-13 Thread Aymeric Augustin
Aymeric Augustin added the comment: The problem is super simple: connection = ... cursor = connection.cursor() cursor.execute("SAVEPOINT foo") cursor.execute("ROLLBACK TO SAVEPOINT foo") # will report that the savepoint doesn't exist. Please don't make it look more complicated than it is. --

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-06-13 Thread Jim Jewett
Jim Jewett added the comment: Removing the existing behavior will almost certainly not be accepted, because of backwards compatibility. Adding new functionality is generally acceptable. Doing that through a new keyword that defaults to the old behavior is fairly common, and generally better t

[issue21719] Returning Windows file attribute information via os.stat()

2014-06-13 Thread Ben Hoyt
Ben Hoyt added the comment: > The idea is that _stat.c will use system-provided values wherever > possible, but stat.py should be as accurate as we can make it to > provide a backup for when _stat isn't around (either when it's just > not built, which isn't an issue on Windows, or in another Pyt

[issue21719] Returning Windows file attribute information via os.stat()

2014-06-13 Thread Zachary Ware
Zachary Ware added the comment: Ben Hoyt wrote: > I'm replying to the code review here as when I tried to reply on > bugs.python.org/review I got a Python exception, "AttributeError: > NoneType has no attribute something or other". Generally when you get that you can just hit back and try again,

[issue21719] Returning Windows file attribute information via os.stat()

2014-06-13 Thread Ben Hoyt
Ben Hoyt added the comment: Updated patch attached based on code reviews. I'm replying to the code review here as when I tried to reply on bugs.python.org/review I got a Python exception, "AttributeError: NoneType has no attribute something or other". FYI, it seems Django is set up in debug mo

[issue21652] Python 2.7.7 regression in mimetypes module on Windows

2014-06-13 Thread Martin v . Löwis
Martin v. Löwis added the comment: I can reproduce the issue with the attached script. The problem is not that EnumKey returns a Unicode string (which it never does), but that QueryValueEx returns a Unicode string. See http://hg.python.org/cpython/rev/18cfc2a42772 for the actual change in ques

[issue19351] python msi installers - silent mode

2014-06-13 Thread Steve Dower
Steve Dower added the comment: Okay, now it looks to me like the install that 'works' ran under the SYSTEM account while the one that didn't work ran under my (admin) user account. This may be caused by running the installer from an elevated command prompt. If it detects that it needs to eleva

[issue6966] Ability to refer to arguments in TestCase.fail* methods

2014-06-13 Thread R. David Murray
R. David Murray added the comment: This appears to be me to be obsolete, given that long messages are now the default, and the message argument enhances the long message rather than replacing it. -- nosy: +r.david.murray resolution: -> out of date stage: -> resolved status: open -> c

[issue19362] Documentation for len() fails to mention that it works on sets

2014-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond, I was planning to do this today along with other small patches (already done). Just say so and I will take it. -- ___ Python tracker _

[issue21741] Convert most of the test suite to using unittest.main()

2014-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: You might add a brief description of why this is good idea, or link to such a discussion. I am +1 on the idea, but a pydev discussion might be needed. How did you test the patch? I don't think that passing the same tests in non-verbose mode is good enough,

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-06-13 Thread Aymeric Augustin
Aymeric Augustin added the comment: Thanks for your feedback! Indeed this is a documentation patch describing what I could implement if a core dev gave the slightest hint that it stands a small chance of getting included. There's no point in writing code that Python core doesn't want. I desig

[issue19351] python msi installers - silent mode

2014-06-13 Thread Steve Dower
Steve Dower added the comment: Apparently keys in Wow6432Node are actually okay, so I'm not much closer to figuring this out. As far as I can tell, the entry I have for Python 2.6.6 (which doesn't appear) has identical information to IronPython 2.7.4 (which does appear). -- _

[issue19493] Report skipped ctypes tests as skipped

2014-06-13 Thread Zachary Ware
Zachary Ware added the comment: Committed; thanks for the review, Serhiy. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue19493] Report skipped ctypes tests as skipped

2014-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 08a2b36f6287 by Zachary Ware in branch '2.7': Issue #19493: Backport 6f63fff5c120 http://hg.python.org/cpython/rev/08a2b36f6287 -- ___ Python tracker _

[issue21753] Windows cmd.exe character escaping function

2014-06-13 Thread R. David Murray
R. David Murray added the comment: This should instead be an escape function parallel to the shlex.quote function for unix. I was talking to someone on IRC the other day who had at least a partial implementation, but I guess they haven't opened an issue for it. (At least, I can't find one.)

[issue19362] Documentation for len() fails to mention that it works on sets

2014-06-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'll apply this (if only to bring this vacuous discussion to a close). -- assignee: docs@python -> rhettinger priority: normal -> low ___ Python tracker

[issue21730] test_socket fails --without-threads

2014-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: It is helpful to note that an issue such as this does not apply to 2.7, so no one needs to check whether the omission is an oversight, and that you know that the patch applies cleanly to both 3.4 and 3.5. -- resolution: -> fixed stage: patch review ->

[issue21730] test_socket fails --without-threads

2014-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset f44275c66fcf by Terry Jan Reedy in branch '3.4': Issue #21730: Add no-thread skip in test_socket. Patch by Berker Peksag. http://hg.python.org/cpython/rev/f44275c66fcf -- nosy: +python-dev ___ Python trac

[issue21730] test_socket fails --without-threads

2014-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue21753] subprocess shell=True on Windows character escaping

2014-06-13 Thread Jim Jewett
New submission from Jim Jewett: Inspired by https://mail.python.org/pipermail/python-dev/2014-June/135029.html and the following thread. """ Normal Windows behavior: >hg status --rev ".^1" M mercurial\commands.py ? pysptest.py >hg status --rev .^1 abort: unknown revision '.1'! So

[issue21752] Document Backwards Incompatible change to logging in 3.4

2014-06-13 Thread Don Spaulding
New submission from Don Spaulding: Discussion of this issue on ML: https://mail.python.org/pipermail/python-dev/2014-June/135048.html The behavior of logging.getLevelName changed in Python 3.4. Previously when passed a string, it would return the corresponding integer value of the level. In

[issue21751] Expand zipimport to support bzip2 and lzma

2014-06-13 Thread R. David Murray
R. David Murray added the comment: See also issue 17004 and issue 5950. -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bug

[issue21726] Unnecessary line in documentation

2014-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset cd08e366d619 by Terry Jan Reedy in branch '2.7': Issue #21726: Remove unnecessary and contextually wrong line. http://hg.python.org/cpython/rev/cd08e366d619 New changeset efa32fcd7a0b by Terry Jan Reedy in branch '3.4': Issue #21726: Remove unnecess

[issue21726] Unnecessary line in documentation

2014-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___ _

[issue19493] Report skipped ctypes tests as skipped

2014-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6f63fff5c120 by Zachary Ware in branch '3.4': Issue #19493: Refactor ctypes test package. http://hg.python.org/cpython/rev/6f63fff5c120 New changeset 86d14cf2a6a8 by Zachary Ware in branch 'default': Issue #19493: Merge with 3.4 http://hg.python.org

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-06-13 Thread Jim Jewett
Jim Jewett added the comment: (1) The patch is just to docs, not code, so I'm not entirely sure that I understood it properly. (2) The new semantics are a huge mess to explain. This might be because the old semantics were bad, but the result is the same. I think it would be better to crea

[issue21726] Unnecessary line in documentation

2014-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: docs@python -> terry.reedy nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mai

[issue21751] Expand zipimport to support bzip2 and lzma

2014-06-13 Thread Donald Stufft
New submission from Donald Stufft: Since Python 3.3 the zipfile module has support bzip2 and lzma compression, however the zipimporter does not support these. It would be awesome if zipimport did support them. -- messages: 220477 nosy: brett.cannon, dstufft, eric.snow, ncoghlan priorit

[issue20043] test_multiprocessing_main_handling fails --without-threads

2014-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I added a direct test import of _thread. Since test_multiprocessing is one file on 2.7 and AMD Fedora without threads is green for 2.7, in spite of the import of threading, I left 2.7 alone. If that changes, this can be reopened and marked for 2.7. -

[issue20043] test_multiprocessing_main_handling fails --without-threads

2014-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset ef491d76ac70 by Terry Jan Reedy in branch '3.4': Issue #20043: Add direct test for _thread. http://hg.python.org/cpython/rev/ef491d76ac70 -- nosy: +python-dev ___ Python tracker

[issue21750] mock_open data is visible only once for the life of the class

2014-06-13 Thread Paul Koning
New submission from Paul Koning: The read_data iterator that supplies bits of read data when asked from unittest.mock.mock_open is a class attribute. The result is that, if you instantiate the class multiple times, that iterator is shared. This isn't documented and it seems counterintuitive.

[issue20043] test_multiprocessing_main_handling fails --without-threads

2014-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue21706] Add base for enumerations (Functional API)

2014-06-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looks sensible to me. Except for being name-only, this duplicates the api of enumerate. -- nosy: +terry.reedy ___ Python tracker ___ __

[issue21748] glob.glob does not sort its results

2014-06-13 Thread Eric V. Smith
Eric V. Smith added the comment: I agree that glob shouldn't sort. In addition, iglob definitely can't sort, and I don't think you want to have glob sort but iglob not sort. -- nosy: +eric.smith status: pending -> open ___ Python tracker

[issue21684] inspect.signature bind doesn't include defaults or empty tuple/dicts

2014-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> test needed versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list ma

[issue21749] pkgutil ImpLoader does not support frozen modules

2014-06-13 Thread Marc-Andre Lemburg
Changes by Marc-Andre Lemburg : Removed file: http://bugs.python.org/file35617/pkgutil-frozen-modules-support.patch ___ Python tracker ___ __

[issue21749] pkgutil ImpLoader does not support frozen modules

2014-06-13 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Here's an updated patch for Python 3.4.1 that doesn't use the awkward style :-) -- Added file: http://bugs.python.org/file35619/pkgutil-frozen-modules-support.patch ___ Python tracker

[issue21749] pkgutil ImpLoader does not support frozen modules

2014-06-13 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 13.06.2014 18:49, Jim Jewett wrote: > > As best I can tell, this renames the original get_code to _get_code, and then > delegates to it after handling the imp.PY_FROZEN case ... why not just add > imp.PY_FROZEN to the if/elif chain in the original metho

[issue21652] Python 2.7.7 regression in mimetypes module on Windows

2014-06-13 Thread Vladimir Iofik
Vladimir Iofik added the comment: Did anyone here managed to reproduce the issue? I tired but I have failed to. I'm still trying though. Anyway I'd start from investigating why a function EnumKey returns Unicode object while according to documentation it should return string. -- nosy:

[issue21748] glob.glob does not sort its results

2014-06-13 Thread Jim Jewett
Jim Jewett added the comment: I agree with R. David Murray, but it may be worth adding a clarification sentence (or an example with sorted) to the documentation. Changing status to Pending, in hopes that any doc changes would be quick. -- nosy: +Jim.Jewett resolution: -> not a bug s

[issue21719] Returning Windows file attribute information via os.stat()

2014-06-13 Thread Zachary Ware
Zachary Ware added the comment: Not sure what you were going for on the version, Jim; you added 3.4, but this is a new feature for 3.5. -- versions: -Python 3.4 ___ Python tracker

[issue21652] Python 2.7.7 regression in mimetypes module on Windows

2014-06-13 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > That commit was fixing an existing problem; perhaps not your problem, but > someone's. To revert it would simply move the pain around. Doesn't the very same logic apply to the original commit? > I hope to be able to work on this fairly soon. Thanks. M

[issue21749] pkgutil ImpLoader does not support frozen modules

2014-06-13 Thread Jim Jewett
Jim Jewett added the comment: As best I can tell, this renames the original get_code to _get_code, and then delegates to it after handling the imp.PY_FROZEN case ... why not just add imp.PY_FROZEN to the if/elif chain in the original method? I also note that the call to self._fix_name doesn't

[issue21719] Returning Windows file attribute information via os.stat()

2014-06-13 Thread Jim Jewett
Jim Jewett added the comment: Added version 3.5; is 3.4 somehow still correct? Set stage to patch review as there are still comments to deal with, but it looks pretty close to commit review. -- nosy: +Jim.Jewett stage: -> patch review versions: +Python 3.4 ___

[issue7057] tkinter doc: more 3.x updates

2014-06-13 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +serhiy.storchaka -gpolo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue21518] Expose RegUnloadKey in winreg

2014-06-13 Thread Claudiu Popa
Claudiu Popa added the comment: Attached a new version of the patch which cleanups properly after tests. -- Added file: http://bugs.python.org/file35618/issue21518_2.patch ___ Python tracker ___

[issue21652] Python 2.7.7 regression in mimetypes module on Windows

2014-06-13 Thread Tim Golden
Tim Golden added the comment: Only if you have something better to put in its place! That commit was fixing an existing problem; perhaps not your problem, but someone's. To revert it would simply move the pain around. I hope to be able to work on this fairly soon. If anyone else wants to propose

[issue12561] Compiler workaround for wide string constants in Modules/getpath.c (patch)

2014-06-13 Thread STINNER Victor
STINNER Victor added the comment: The changeset a7a8ccf69708 (a few months ago) fixed lib_python to not concatenate bytes string and wide character string. I don't see any occurence of char+wchar in the code, so I'm closing the issue. changeset: 87136:a7a8ccf69708 user:Victor Stinner

[issue12561] Compiler workaround for wide string constants in Modules/getpath.c (patch)

2014-06-13 Thread Jim Jewett
Jim Jewett added the comment: Following up on Mark Lawrence's comment: http://bugs.python.org/issue12572 is collecting the patches required to compile under HP/UX, and the patch there supersedes those on this issue. Closing. -- nosy: +Jim.Jewett resolution: -> duplicate status: open

[issue19351] python msi installers - silent mode

2014-06-13 Thread Steve Dower
Steve Dower added the comment: This may actually be a Windows issue... the keys for uninstall are being written to the Wow6432Node of the registry (on a 64-bit machine), and apparently the Programs and Features panel does not read them from there. The 64-bit installers should be fine (testing

[issue21652] Python 2.7.7 regression in mimetypes module on Windows

2014-06-13 Thread R. David Murray
R. David Murray added the comment: If I understand correct that patch was itself attempting to fix a regression ;) -- ___ Python tracker ___ _

[issue21747] argvars: error while parsing under windows

2014-06-13 Thread paul j3
paul j3 added the comment: It's essentially the same issue as http://bugs.python.org/issue21666. An error in the 'help' parameter is not caught until 'print_help' is called (via 'parse_args'). A possible improvement is to test the 'help' string during 'add_argument'. Similar testing for 'n

[issue19351] python msi installers - silent mode

2014-06-13 Thread Steve Dower
Steve Dower added the comment: I've noticed this as well. I'm hoping to do a significant rework of the installer for 3.5 and will keep this in mind, but I honestly have no idea how to diagnose this in the current setup. Windows Installer is responsible for the missing entries, and AFAIK the on

[issue21652] Python 2.7.7 regression in mimetypes module on Windows

2014-06-13 Thread James Y Knight
James Y Knight added the comment: Reverting the incorrect commit which caused the regression would be a good start. -- ___ Python tracker ___ ___

[issue19362] Documentation for len() fails to mention that it works on sets

2014-06-13 Thread Mark Lawrence
Mark Lawrence added the comment: This is a very simple docs patch so could we have it committed please? -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue7057] tkinter doc: more 3.x updates

2014-06-13 Thread Mark Lawrence
Mark Lawrence added the comment: The default build (on Windows anyway)is using tcl/tk 8.6 so I believe that we can take this forward now. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue21745] Devguide: mention requirement to install Visual Studio SP1 on Windows

2014-06-13 Thread Zachary Ware
Zachary Ware added the comment: I'm not sure; I expect your change to be live within a day, probably sooner. -- ___ Python tracker ___ ___

[issue21745] Devguide: mention requirement to install Visual Studio SP1 on Windows

2014-06-13 Thread Ben Hoyt
Ben Hoyt added the comment: Cool, thanks for applying. Out of curiosity, how often is the online devguide HTML updated? -- ___ Python tracker ___ ___

[issue12561] Compiler workaround for wide string constants in Modules/getpath.c (patch)

2014-06-13 Thread Mark Lawrence
Mark Lawrence added the comment: According to msg140433 this should be closed. -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python

[issue5999] compile error on HP-UX 11.22 ia64 - 'mbstate_t' is used as a type, but has not been defined as a type

2014-06-13 Thread Mark Lawrence
Mark Lawrence added the comment: Should this be closed in favour of issue 12572? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Pytho

[issue21745] Devguide: mention requirement to install Visual Studio SP1 on Windows

2014-06-13 Thread Zachary Ware
Zachary Ware added the comment: Fixed, thanks for the patch! -- assignee: docs@python -> zach.ware resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue8579] Add missing tests for FlushKey, LoadKey, and SaveKey in winreg

2014-06-13 Thread Claudiu Popa
Changes by Claudiu Popa : -- dependencies: +Expose RegUnloadKey in winreg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue21745] Devguide: mention requirement to install Visual Studio SP1 on Windows

2014-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9794412fa62d by Zachary Ware in branch 'default': Issue #21745: Mention VS2010 SP1 as a solution for error LNK1123. http://hg.python.org/devguide/rev/9794412fa62d -- nosy: +python-dev ___ Python tracker

[issue8535] passing optimization flags to the linker required for builds with gcc -flto

2014-06-13 Thread Mark Lawrence
Mark Lawrence added the comment: Is this still relevant as GCC 4.9.0 was released on April 22, 2014? -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue21745] Devguide: mention requirement to install Visual Studio SP1 on Windows

2014-06-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 10cca530d14c by Zachary Ware in branch '3.4': Issue #21745: Mention VS2010 SP1 as a solution for LNK1123 errors http://hg.python.org/cpython/rev/10cca530d14c New changeset b5b54073d495 by Zachary Ware in branch 'default': Issue #21745: Merge with 3.

[issue17941] namedtuple should support fully qualified name for more portable pickling

2014-06-13 Thread Mark Lawrence
Mark Lawrence added the comment: Just slipped under the radar? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list maili

[issue21748] glob.glob does not sort its results

2014-06-13 Thread R. David Murray
R. David Murray added the comment: I think there is no reason to impose the overhead of a sort unless the user wants it...in which case they can sort it. I'm -1 on this change. -- nosy: +r.david.murray ___ Python tracker

[issue21749] pkgutil ImpLoader does not support frozen modules

2014-06-13 Thread Marc-Andre Lemburg
New submission from Marc-Andre Lemburg: This leads to problems when using runpy, since it relies on pkgutil to find importers. In Python 2, ImpLoader is used by ImpImporter which is used as fallback importer by get_importer(). get_importer() is used by runpy to implement e.g. the -m option. A

[issue21748] glob.glob does not sort its results

2014-06-13 Thread David Jones
New submission from David Jones: ``` for f in glob.glob('input/*/*.dat'): print f ``` outputs: ``` input/ghcnm.v3.2.2.20140611/ghcnm.tavg.v3.2.2.20140611.qca.dat input/ghcnm.v3.2.2.20140506/ghcnm.tavg.v3.2.2.20140506.qca.dat ``` Note that these are not in the right order. Compare with shell w

  1   2   >