[issue21805] Argparse Revert config_file defaults

2014-06-18 Thread d0n
New submission from d0n: Hi, first of all I want to thank you (bethard) for your great work and efforts on developing argparse which is a great tool of versatile use in mostly all of my programs. I've faced a specific problem while implementing argparse which I have not been able to fix by t

[issue21722] teach distutils "upload" to exit with code != 0 when error occurs

2014-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset cf70f030a744 by Antoine Pitrou in branch '2.7': Issue #21722: The distutils "upload" command now exits with a non-zero return code when uploading fails. http://hg.python.org/cpython/rev/cf70f030a744 -- _

[issue21722] teach distutils "upload" to exit with code != 0 when error occurs

2014-06-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've now committed the fix. Thank you for your contribution! -- resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior versions: +Python 3.4 ___ Python tracker

[issue21722] teach distutils "upload" to exit with code != 0 when error occurs

2014-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset d86214c98a9c by Antoine Pitrou in branch '3.4': Issue #21722: The distutils "upload" command now exits with a non-zero return code when uploading fails. http://hg.python.org/cpython/rev/d86214c98a9c New changeset 979aaa08c067 by Antoine Pitrou in b

[issue21625] help()'s more-mode is frustrating

2014-06-18 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue21804] Implement thr UTF8 command (RFC 6856) in poplib.

2014-06-18 Thread Milan Oberkirch
Changes by Milan Oberkirch : Added file: http://bugs.python.org/file35687/poputf8.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue21804] Implement thr UTF8 command (RFC 6856) in poplib.

2014-06-18 Thread Milan Oberkirch
Changes by Milan Oberkirch : Removed file: http://bugs.python.org/file35686/poputf8.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue21804] Implement thr UTF8 command (RFC 6856) in poplib.

2014-06-18 Thread Milan Oberkirch
New submission from Milan Oberkirch: The poplib classes already use Unicode internally (for everything but capability names). So to implement the UTF8 part of RFC 6856 we only need to enable the user to switch to UTF-8 mode if supported by the server. -- components: email files: poputf

[issue1410680] Add 'surgical editing' to ConfigParser

2014-06-18 Thread R. David Murray
R. David Murray added the comment: According to a review done at the PyCon 2014 sprints, comment and blank line preservation has not yet been implemented. -- nosy: +r.david.murray ___ Python tracker

[issue10310] signed:1 bitfields rarely make sense

2014-06-18 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.5 -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker __

[issue21794] stack frame contains name of wrapper method, not that of wrapped method

2014-06-18 Thread Zachary Ware
Zachary Ware added the comment: I agree with Josh; I don't think there's any bug here. To confirm, I expanded on your example, reproduced below. Have a look at and play around with this, and if you still believe something is wrong, ask on python-list and the folks there should be able to hel

[issue11129] logging: allow multiple entries in qualname config

2014-06-18 Thread Vinay Sajip
Vinay Sajip added the comment: > they really should share the logging configuration Well, that's easy enough to do - although there would be some duplication in the .ini file, it is not especially onerous. While I well understand the benefits of DRY, I still don't believe this is a very common

[issue1576313] os.execvp[e] on win32 fails for current directory

2014-06-18 Thread R. David Murray
R. David Murray added the comment: os.execlp *wraps* the interface of the same name in the platform C library. On Windows, that is execlp in the msvcrt[*]. On Linux, it is usually the execlp in glibc. [*] 'crt' stands for 'C runtime'. -- ___ Pyth

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2014-06-18 Thread Ned Deily
Ned Deily added the comment: The misleading "TODO" comment has been removed. -- resolution: accepted -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2014-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset a854d23305de by Ned Deily in branch '3.4': Issue #3485: remove misleading comment http://hg.python.org/cpython/rev/a854d23305de New changeset 3edda677119e by Ned Deily in branch 'default': Issue #3485: merge from 3.4 http://hg.python.org/cpython/rev

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2014-06-18 Thread Mark Lawrence
Mark Lawrence added the comment: Is this or could this be addressed via the new pathlib module? -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue1576313] os.execvp[e] on win32 fails for current directory

2014-06-18 Thread Mark Lawrence
Mark Lawrence added the comment: I'd intended to write a patch but got confused as msg51241 talks about "execlp() in msvcrt" but execlp is in the os module. Please advise. -- nosy: +BreamoreBoy ___ Python tracker

[issue21803] Remove macro indirections in complexobject

2014-06-18 Thread Antoine Pitrou
New submission from Antoine Pitrou: I thought this would make things less confusing to read. -- components: Interpreter Core files: complex_macros.patch keywords: patch messages: 220947 nosy: mark.dickinson, pitrou priority: low severity: normal stage: patch review status: open title: Re

[issue21722] teach distutils "upload" to exit with code != 0 when error occurs

2014-06-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you Martin. I will take a look soon at the patch. -- ___ Python tracker ___ ___ Python-bugs-li

[issue21802] Reader of BufferedRWPair is not closed if writer's close() fails

2014-06-18 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Current implementation of BufferedRWPair.close() is: def close(self): self.writer.close() self.reader.close() When self.writer.close() raises an exception, self.reader left non-closed. This can cause file description leak unless GC swee

[issue21798] Allow adding Path or str to Path

2014-06-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed, not trying to pretend to act like a string was one of the design points of the pathlib module, and the "/" operator already performs logical path joining. I'm therefore closing this issue as rejected. -- resolution: -> rejected status: open ->

[issue21798] Allow adding Path or str to Path

2014-06-18 Thread Eric V. Smith
Eric V. Smith added the comment: I agree with David. And, it already works, but uses '/', not '+': >>> b / "_name.dat" PosixPath('/tmp/some_base/_name.dat') -1 to using + to be the equivalent of: >>> pathlib.Path(str(b) + "_name.dat") PosixPath('/tmp/some_base_name.dat') -- nosy: +eri

[issue20069] Add unit test for os.chown

2014-06-18 Thread Vajrasky Kok
Vajrasky Kok added the comment: Here is the patch based on Claudiu's comment and Serhiy's commit (http://hg.python.org/cpython/rev/4b187f5aa960). Claudiu (Thanks!!!), I can not apply two of your suggestions: "You could use support.import_module here in order to skip the test if pwd can't be im

[issue20069] Add unit test for os.chown

2014-06-18 Thread Claudiu Popa
Claudiu Popa added the comment: os.chown is not available on Windows. But maybe pwd can't be built on any Unix system, so not using import_module is okay. "=> I can not because assertRaisesRegex can not be used with "with" statement." Not true (see https://docs.python.org/3/library/unittest.h

[issue16136] Removal of VMS support

2014-06-18 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I think this is a good plan. Legacy platforms can me maintained by interested parties as a friendly fork. -- ___ Python tracker ___ __

[issue11129] logging: allow multiple entries in qualname config

2014-06-18 Thread Dariusz Suchojad
Dariusz Suchojad added the comment: Hello friends, @vinay.sajip - the use case for this feature is actually something I come across fairly often. In an application I have dozens and hundreds of logger instances. However, they all fall into one of several loggers. Most of the instances are ob

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

2014-06-18 Thread R. David Murray
R. David Murray added the comment: Issue 19645 is an alternative way to solve the problem of calling methods on the mixin that "don't exist", and has other benefits. -- ___ Python tracker _

[issue16136] Removal of VMS support

2014-06-18 Thread John Malmberg
John Malmberg added the comment: Most of the issues needed to build python3 properly on VMS involve either bugs in the VMS C API that need to be worked around or missing libraries that Python3 expects to have. As none of the Python developers should need to care about this, and these issues a

[issue21801] inspect.signature doesn't always return a signature

2014-06-18 Thread Claudiu Popa
New submission from Claudiu Popa: Hello. I noticed the following behaviour while working with xmlrpc proxy methods. >>> import inspect, xmlrpc.client >>> proxy = xmlrpc.client.ServerProxy('http://localhost:8000') >>> proxy.mul >>> inspect.signature(proxy.mul) >>> Now, according to the docum

[issue11191] test_search_cpp error on AIX (with xlc)

2014-06-18 Thread Sébastien Sablé
Sébastien Sablé added the comment: I don't have any AIX environment to try to reproduce the issue, so feel free to close it. -- ___ Python tracker ___ __

[issue20319] concurrent.futures.wait() can block forever even if Futures have completed

2014-06-18 Thread Sebastian Kreft
Sebastian Kreft added the comment: @glangford: Is that really your recommendation, to switch to celery? Python 3.4.1 should be production quality and issues like this should be addressed. Note that I've successfully run millions of tasks using the same method, the only difference being that in

[issue20319] concurrent.futures.wait() can block forever even if Futures have completed

2014-06-18 Thread Glenn Langford
Changes by Glenn Langford : -- nosy: -glangford ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

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

2014-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Note that we have to use mixin approach in the Python test suite to avoid discrepancies and merge conflicts between different versions. -- ___ Python tracker ___

[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

2014-06-18 Thread Stefan Krah
Stefan Krah added the comment: > The two issues were unrelated - the 'invalid filter ID' > (4611686018427387905 == 0x4000_0001) is the correct > value but the wrong branch in the switch was taken, leading > to the error message. Unfortunately I don't have a Visual Studio setup right now.

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

2014-06-18 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Just want to restate my +1 for Michael's idea. I'm hit by this all the time and it is beautiful and expressive. It also does not preclude the annoying mix-in way of doing it. -- ___ Python tracker

[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

2014-06-18 Thread Stefan Krah
Changes by Stefan Krah : Added file: http://bugs.python.org/file35681/ull_vctest.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2014-06-18 Thread Michael Foord
Michael Foord added the comment: To be honest, even though I understand it, I find the mixin pattern hard to read. You derive from object, but call methods (the assert methods for example) that don't exist in the class (or its inheritance chain). My experience, with even experienced Python dev

[issue21755] test_importlib.test_locks fails --without-threads

2014-06-18 Thread Berker Peksag
Berker Peksag added the comment: See also http://buildbot.python.org/all/builders/AMD64%20Fedora%20without%20threads%203.x/builds/6779/steps/test/logs/stdio -- ___ Python tracker __

[issue10524] Patch to add Pardus to supported dists in platform

2014-06-18 Thread Berker Peksag
Berker Peksag added the comment: Unfortunately, Pardus is dead now. So closing this as out of date. -- nosy: +berker.peksag resolution: -> out of date stage: commit review -> resolved status: open -> closed ___ Python tracker

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

2014-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Class decorator approach looks less obvious to me. Looking at current standard mixing approach I understand what it do and why. But encountering the unittest.base_class decorator, I need to look in the documentation and/or sources to understand how it works.

[issue10595] Adding a syslog.conf reader in syslog

2014-06-18 Thread Berker Peksag
Changes by Berker Peksag : -- versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2014-06-18 Thread Michael Foord
Michael Foord added the comment: Zachary: Inheriting from TestCase in your mixin is actually an anti-pattern. And yes, most people seem to do it (most people seem to misunderstand how to use mixins, which is why I like this approach of having a way of explicitly marking base classes). ---

[issue11097] MSI: Remove win32com dependency from installer generator

2014-06-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: There is a high chance that 3.5 might use an entirely different MSI generator, possibly based on WiX. If that happens, this issue will be outdated. -- ___ Python tracker

[issue21793] httplib client/server status refactor

2014-06-18 Thread Demian Brecht
Demian Brecht added the comment: Attached new patch with changes from review and a stab at an update to the docs. -- Added file: http://bugs.python.org/file35680/refactor_http_status_codes_1.patch ___ Python tracker

[issue21772] platform.uname() not EINTR safe

2014-06-18 Thread Charles-François Natali
Charles-François Natali added the comment: > I'm surprised that the Python read() method doesn't handle EINTR internally. > > I'm in favor of handling EINTR internally almost everywhere, I mean in the > Python modules implemented in the C, not in each call using these C methods. > "handling EIN