[issue8110] subprocess.py doesn't correctly detect Windows machines

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: Just to note that this is referenced from #19453 pydoc and ironpython. -- ___ Python tracker ___ ___ P

[issue19476] Add a dedicated specification for module "reloading" to the language reference

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: Just a gentle prod in the ribs guys. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

[issue19482] _pickle build warnings on Fedora 19

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: Still a problem or out of date? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mai

[issue19511] lib2to3 Grammar file is no longer a Python 3 superset

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: Anybody volunteering but please don't look at me :) -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ __

[issue19796] urllib2.HTTPError.reason is not documented as "Added in 2.7"

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: The patch just adds the version added tag to urllib2.rst. Can someone commit this please. -- nosy: +BreamoreBoy ___ Python tracker ___

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

2014-10-03 Thread Berker Peksag
Berker Peksag added the comment: In the 2.7 branch, the test was removed in issue 7871 (changeset https://hg.python.org/cpython/rev/0130e574f5be). -- components: +Tests -Library (Lib) nosy: +berker.peksag ___ Python tracker

[issue19725] Richer stat object

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: @Philip could you provide a reference to (say) discussions on python-dev for lesser mortals such as myself? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.4 ___ Python tracker

[issue22515] Implement partial order on Counter

2014-10-03 Thread Ethan Furman
Ethan Furman added the comment: In going through the tests I have found an edge-case that I am unsure of how to handle: Counter(a=1) < Counter(a=1, b=1) On the one hand, they both have the same value for 'a'; on the other hand, the second counter has more elements... So should the result b

[issue22515] Implement partial order on Counter

2014-10-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Counter(a=1) < Counter(a=1, b=1) Do an analogy with sets and the answer will be obvious. -- ___ Python tracker ___

[issue22515] Implement partial order on Counter

2014-10-03 Thread Ethan Furman
Changes by Ethan Furman : -- stage: test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22515] Implement partial order on Counter

2014-10-03 Thread Ethan Furman
Ethan Furman added the comment: I am not a mathematician -- feel free to include the answer with your hints. ;) If my analogy is correct, this situation is similar to {1} < {1, 2} Which is True. Can someone verify that I am correct? -- ___ Pyth

[issue22515] Implement partial order on Counter

2014-10-03 Thread Ram Rachum
Ram Rachum added the comment: Yes, correct. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue19745] TEST_DATA_DIR for out-of-tree builds

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: Can someone answer Christian's question please. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ __

[issue19865] create_unicode_buffer() fails on non-BMP strings on Windows

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: I can confirm that this problem still exists so can someone take a look please, thanks. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker _

[issue7291] urllib2 cannot handle https with proxy requiring auth

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: Is there any work still needed here? Surely the 2.6.x patches can't be applied unless there are security issues? -- nosy: +BreamoreBoy ___ Python tracker __

[issue17518] urllib2 cannnot handle https and BasicAuth via Proxy.

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: Slipped under the radar? Note the patch suggested in msg184958. -- nosy: +BreamoreBoy ___ Python tracker ___ ___

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

2014-10-03 Thread Ben Roberts
Ben Roberts added the comment: That is one approach, of course, but imo pretty incomplete. A test that is named "test_get_only" presumably would be expected to test __getitem__, not __cmp__. Confusingly there is still a GetOnly item declared in the module, but it is not used. Compare to tes

[issue19695] Clarify how to use various import-related locks

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: Has there been any discussion regarding this elsewhere or is this as far as we've got? -- nosy: +BreamoreBoy ___ Python tracker ___

[issue19895] Cryptic error when subclassing multiprocessing classes

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: @Richard have you had any thoughts about this? -- nosy: +BreamoreBoy versions: +Python 3.5 ___ Python tracker ___ ___

[issue22515] Implement partial order on Counter

2014-10-03 Thread Ethan Furman
Ethan Furman added the comment: New patch attached. -- Added file: http://bugs.python.org/file36794/issue22515.stoneleaf.patch.01 ___ Python tracker ___ _

[issue11491] dbm.open(..., flag="n") raises dbm.error if file exists and is rejected by whichdb

2014-10-03 Thread R. David Murray
R. David Murray added the comment: Given that this has some backward compatibility implications (files getting overwritten that previously wouldn't have been), I think we should just leave 2.7 alone, so I'm closing this. -- nosy: +r.david.murray resolution: -> fixed stage: commit revi

[issue14056] Misc doc changes for tarfile

2014-10-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset a486b673b57f by R David Murray in branch '3.4': #14056: Small improvements to the tarfile documentation. https://hg.python.org/cpython/rev/a486b673b57f New changeset ab8282b2 by R David Murray in branch 'default': Merge: #14056: Small improvemen

[issue18060] Updating _fields_ of a derived struct type yields a bad cif

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: A one line change is given in msg189992 so is this correct or isn't it? -- nosy: +BreamoreBoy, amaury.forgeotdarc, belopolsky, meador.inge versions: +Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker

[issue18043] No mention of `match.regs` in `re` documentation

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: @Ram Rachum can you provide a patch for this? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python

[issue18131] Tkinter Variables require a proper master

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: Just a gentle reminder. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ __

[issue18119] urllib.FancyURLopener does not treat URL fragments correctly

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: Slipped under the radar? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue18216] gettext doesn't check MO versions

2014-10-03 Thread Mark Lawrence
Mark Lawrence added the comment: @Jakub does this apply to all Python versions and OSes? -- nosy: +BreamoreBoy, loewis ___ Python tracker ___

[issue14056] Misc doc changes for tarfile

2014-10-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 378f3d237ac2 by R David Murray in branch '2.7': #14056: Small improvements to the tarfile documentation. https://hg.python.org/cpython/rev/378f3d237ac2 -- ___ Python tracker

[issue14056] Misc doc changes for tarfile

2014-10-03 Thread R. David Murray
R. David Murray added the comment: Committed Éric's patch. -- nosy: +r.david.murray resolution: -> fixed stage: commit review -> resolved status: open -> closed versions: +Python 3.5 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker

[issue11501] distutils.archive_util should handle absence of zlib module

2014-10-03 Thread R. David Murray
R. David Murray added the comment: If this is still wanted for python2, someone should create a 2.7 specific patch. -- keywords: +easy nosy: +r.david.murray stage: commit review -> needs patch type: crash -> behavior versions: -Python 3.1, Python 3.2, Python 3.3 ___

[issue13211] urllib2.HTTPError does not have 'reason' attribute.

2014-10-03 Thread Berker Peksag
Changes by Berker Peksag : -- stage: needs patch -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue19796] urllib2.HTTPError.reason is not documented as "Added in 2.7"

2014-10-03 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue13378] ET: add custom namespaces to serialization methods

2014-10-03 Thread R. David Murray
R. David Murray added the comment: This patch no longer applies to the tip of default. Whoever updates it should also address Eli's comment about expanding the register_namespace doc. I'm adding the 'easy' tag because Florent already did the hard work, and at this point it is just a patch up

[issue22552] ctypes.LibraryLoader returns singleton objects, resulting in usage conflicts

2014-10-03 Thread Ivan Pozdeev
New submission from Ivan Pozdeev: a LibraryLoader returns the same _FuncPtr object for a given function every time. This way, if two libraries set its attributes (most possibly, `argtypes') to incompatible values (both representing the same C-level entities), one of them will stop working. I'

[issue22552] ctypes.LibraryLoader returns singleton objects, resulting in usage conflicts

2014-10-03 Thread Ivan Pozdeev
Changes by Ivan Pozdeev : -- keywords: +patch Added file: http://bugs.python.org/file36795/cdll_dont_cache.patch ___ Python tracker ___ __

[issue22552] ctypes.CDLL returns singleton objects, resulting in usage conflicts

2014-10-03 Thread Ivan Pozdeev
Changes by Ivan Pozdeev : -- title: ctypes.LibraryLoader returns singleton objects, resulting in usage conflicts -> ctypes.CDLL returns singleton objects, resulting in usage conflicts ___ Python tracker __

[issue22552] ctypes.CDLL returns singleton objects, resulting in usage conflicts

2014-10-03 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: Another possible solution is to prohibit settings attributes of vanilla _FuncPtr objects, requiring a library to make a private copy to be able to do that. -- ___ Python tracker __

[issue19865] create_unicode_buffer() fails on non-BMP strings on Windows

2014-10-03 Thread eryksun
eryksun added the comment: When sizeof(c_wchar) == 2, it can just count the number of non-BMP ordinals in the string. Another approach would be to use size = pythonapi.PyUnicode_AsWideChar(init, None, 0), but then the whole function may as well be implemented in the _ctypes extension module.

[issue22552] ctypes.CDLL returns singleton objects, resulting in usage conflicts

2014-10-03 Thread eryksun
eryksun added the comment: The ctypes global LibraryLoader instances are convenient for Windows scripts and applications. Actually what they cache is the library (a CDLL instance), which in turn caches function pointers. Python packages, on the other hand, shouldn't use these particular loade

[issue22194] access to cdecimal / libmpdec API

2014-10-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'd like to focus this issue a bit. Antoine originally proposed that non-Python code might want to access libmpdec. However, given that this is now a separate project (as it seems), I don't think it's Python's task to make the API available. If it is a separa

[issue19796] urllib2.HTTPError.reason is not documented as "Added in 2.7"

2014-10-03 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue22552] ctypes.CDLL returns singleton objects, resulting in usage conflicts

2014-10-03 Thread Ned Deily
Changes by Ned Deily : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19494] urllib2.HTTPBasicAuthHandler (or urllib.request.HTTPBasicAuthHandler) doesn't work with GitHub API v3 and similar

2014-10-03 Thread Matej Cepl
Matej Cepl added the comment: ping? Could I ask for a review of the refreshed patch, please? -- ___ Python tracker ___ ___ Python-bugs

[issue22515] Implement partial order on Counter

2014-10-03 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: I mentioned my wording for the comment about lesser than partial ordering using the code review tool. In the attached patch(based on issue22515.stoneleaf.patch.01), I have added test for the case when the other object is not a mapping. I have also tried t

[issue19482] _pickle build warnings on Fedora 19

2014-10-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: They all look as false positive. For example: if (_Unpickler_Read(self, &pdata, size) < 0) return -1; value = _PyLong_FromByteArray((unsigned char *)pdata, (size_t)size, 1 /* little endian */ ,

<    1   2