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

2014-03-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: The suggested patch(s) looks good to me. -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs

[issue20987] Python for AS/400 (OS/400) is actually 2.7

2014-03-19 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. The page is now updated. For future reference, please report issues with the python.org website here: https://github.com/python/pythondotorg/issues -- nosy: +ned.deily resolution: -> fixed stage: -> committed/rejected status: ope

[issue20988] Recommend ssl.create_default_context() in "Security considerations"

2014-03-19 Thread Nick Coghlan
Nick Coghlan added the comment: Potentially more controversial: we could also update that section and other parts of the docs to state that "create_default_context" is expected to become a true default context in a future release. (such that if you want insecure settings, you will have to opt

[issue20989] XML File I/O Misbehavior with open() when the flag is 'r+'

2014-03-19 Thread Rex Kim
New submission from Rex Kim: I found a misbehavior when reading and writing XML File by open() with 'r+' flag, some strings will be overlapped at the end of the file. you can demonstrate it like below: f = open(file, "r+") c = f.read() # todo: write something to do f.write(c) f.close() Act

[issue20988] Recommend ssl.create_default_context() in "Security considerations"

2014-03-19 Thread Nick Coghlan
New submission from Nick Coghlan: The ssl docs currently have a security warning at the top directing users to the Security Considerations section at http://docs.python.org/3/library/ssl#ssl-security That section currently dives directly into the technical details of choosing suitable SSL set

[issue20987] Python for AS/400 (OS/400) is actually 2.7

2014-03-19 Thread John Yeung
New submission from John Yeung: Not sure if this is the right place to report this, but the "other platforms" page says the AS/400 port by Per Gummedal is 2.5. While it's true that he did port 2.5 quite a while back, the 2.7 port has been available for

[issue5639] Support TLS SNI extension in ssl module

2014-03-19 Thread Donald Stufft
Donald Stufft added the comment: To be clear, to get SNI with requests on 2.x you need requests, pyopenssl, ndg-httpsclient, and pyasn1 (which also pulls in cryptography, six, cffi, and pycparser). So that's 8 dependencies to get SNI on Python 2.x. At least it's doable but it's kind of really

[issue5639] Support TLS SNI extension in ssl module

2014-03-19 Thread Nick Coghlan
Nick Coghlan added the comment: I'd be happy to add a disclaimer to the Python 2.7 docs directing users to use the requests module instead (https://pypi.python.org/pypi/requests). People *really* *really* *really* should be using requests on the client side when doing HTTP/HTTPS in Python 2.x

[issue20375] ElementTree: Document handling processing instructions

2014-03-19 Thread Nikolaus Rath
Changes by Nikolaus Rath : Added file: http://bugs.python.org/file34528/issue20951.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue20744] shutil should not use distutils

2014-03-19 Thread Éric Araujo
Éric Araujo added the comment: Not currently. Tests run automatically after a patch is merged, which is why patch authors should run tests (especially if they’re changing something missing tests, or adding a new feature and tests for it). -- ___ Py

[issue20744] shutil should not use distutils

2014-03-19 Thread Derek Chiang
Derek Chiang added the comment: I didn't because the patch seemed trivial. I'm sure there are automated tests that will be run before the patch gets merged? -- ___ Python tracker _

[issue20744] shutil should not use distutils

2014-03-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: Derek: thanks for your patch! However, did you run the test suite for the shutil module to verify that your change is correct? (The developer guide discusses running tests at http://docs.python.org/devguide/runtests.html ) -- nosy: +akuchling ___

[issue20984] 'Add/Remove Programs' dialog missing entries for 32-bit CPython 'current user only' installations on 64-bit Windows

2014-03-19 Thread Jurko Gospodnetić
Jurko Gospodnetić added the comment: Here are some more Windows Installer notes taken down when originally researching this issue on my end. Hopefully they can be of some use to anyone researching the issue further: - each installation gets a GUID key identifying it - the installation GUID key

[issue19176] DeprecationWarning for doctype() method when subclassing _elementtree.XMLParser

2014-03-19 Thread Martin Panter
Martin Panter added the comment: Actually I am still seeing this in 3.4.0. Looks like the doctype() method was not removed after all. -- versions: +Python 3.4 ___ Python tracker ___

[issue8987] Distutils doesn't quote Windows command lines properly

2014-03-19 Thread Éric Araujo
Éric Araujo added the comment: I’m more inclined to use the proposed patch rather than list2cmdline, given the issue linked. I would not like a fix for this to break people’s setup.py scripts; it would be good to know if people work around this bug by monkey-patching the _nt_quote_args functi

[issue8763] py3K bdist_msi wrongly installs itself in ALL python versions

2014-03-19 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mai

[issue8987] Distutils doesn't quote Windows command lines properly

2014-03-19 Thread Éric Araujo
Changes by Éric Araujo : -- Removed message: http://bugs.python.org/msg107751 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue6145] distutils.extension.read_setup_file misinterprets -C switch

2014-03-19 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mai

[issue8987] Distutils doesn't quote Windows command lines properly

2014-03-19 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 2.7, Python 3.4, Python 3.5 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mai

[issue20145] unittest.assert*Regex functions should verify that expected_regex has a valid type

2014-03-19 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue7994] object.__format__ should reject format strings

2014-03-19 Thread HCT
HCT added the comment: I think was confused as I forgot that I was doing str.format where {} being format of str. confusion cleared -- ___ Python tracker ___

[issue19977] Use "surrogateescape" error handler for sys.stdin and sys.stdout on UNIX for the C locale

2014-03-19 Thread Atsuo Ishimoto
Changes by Atsuo Ishimoto : -- nosy: +ishimoto ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue7994] object.__format__ should reject format strings

2014-03-19 Thread Eric V. Smith
Eric V. Smith added the comment: BreamoreBoy: This is basically the definition of object.__format__: def __format__(self, specifier): if len(specifier) == 0: return str(self) raise TypeError('non-empty format string passed to object.__format__') Which is why it works for an empty speci

[issue7994] object.__format__ should reject format strings

2014-03-19 Thread R. David Murray
R. David Murray added the comment: NoneType is a subclass of object. >>> class Foo(object): ...pass ... >>> f = Foo() >>> f.__format__ ie: the exception is being raised by object.__format__, as provided for by this issue. -- ___ Python tracke

[issue7994] object.__format__ should reject format strings

2014-03-19 Thread Eric V. Smith
Eric V. Smith added the comment: David is correct. It's often easiest to think about the builtin format() instead of str.format(). Notice below that the format specifier has to make sense for the object being formatted: >>> import datetime >>> now = datetime.datetime.now() >>> format('somest

[issue7994] object.__format__ should reject format strings

2014-03-19 Thread Mark Lawrence
Mark Lawrence added the comment: That's not an exception, you've not actually called the function. >>> None.__format__('') 'None' -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue7994] object.__format__ should reject format strings

2014-03-19 Thread HCT
HCT added the comment: None does have __format__, but it raises exception >>> dir(None) ['__bool__', '__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__',

[issue7994] object.__format__ should reject format strings

2014-03-19 Thread R. David Murray
R. David Murray added the comment: Which, by the way, has been the behavior all along, it is not something affected by this fix, because datetime *does* have a __format__ method. -- ___ Python tracker _

[issue7994] object.__format__ should reject format strings

2014-03-19 Thread R. David Murray
R. David Murray added the comment: Yes. It is not returning the format specifier, it is filling in the strftime template "s" from the datetime...which equals "s", since it consists of just that constant string. Try {:%Y-%m-%d}, for example. -- ___

[issue20986] test_startup_imports fails in test_site when executed inside venv

2014-03-19 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +ncoghlan, vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue19995] %c, %o, %x, %X accept non-integer values instead of raising an exception

2014-03-19 Thread Ethan Furman
Ethan Furman added the comment: No, apparently I am incapable of spelling pseudo correctly. I'll fix that along with the better error message: %x format: an integer is required, not float (variable, obviously ;) -- ___ Python tracker

[issue20985] Add new style formatting to logging.config.fileConfig

2014-03-19 Thread R. David Murray
Changes by R. David Murray : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue7994] object.__format__ should reject format strings

2014-03-19 Thread HCT
HCT added the comment: unlike NoneType, datetime doesn't throw exception. is returning the format specifier the intended behaviour of this fix? >>> import datetime >>> a=datetime.datetime(1999,7,7) >>> str(a) '1999-07-07 00:00:00' >>> "{:s}".format(a) 's' >>> "{:7s}".format(a) '7s' >>> "{!s}".

[issue20906] Issues in Unicode HOWTO

2014-03-19 Thread Graham Wideman
Graham Wideman added the comment: Antoine: Thanks for your comments -- this is slippery stuff. > It's better, but how about simply "In this article"? I was hoping to inform the reader that the hex representations are found in many articles, not just special to this one. > [ showing the glyph

[issue20976] pyflakes: remove unused imports

2014-03-19 Thread R. David Murray
R. David Murray added the comment: I would prefer that _qdecode be left alone. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue20218] Add methods to `pathlib.Path`: `write_text`, `read_text`, `write_bytes`, `read_bytes`

2014-03-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Okay, different approach: How about having a mode argument with a > default? (Defaults of 'rb', 'r', 'wb', 'w' respectively.) This is redundant with the fact that there are several distinct methods: {read,write}_{bytes,text}. Really, the aim is to ease common

[issue900092] hotshot.stats.load fails with AssertionError

2014-03-19 Thread Mark Lawrence
Mark Lawrence added the comment: Then God help Python is all I can say. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue19995] %c, %o, %x, %X accept non-integer values instead of raising an exception

2014-03-19 Thread Stefan Krah
Stefan Krah added the comment: It looks like there's typo: Psuedo => Pseudo. (Unless the first one is an alternate spelling I'm not aware of.) -- ___ Python tracker ___

[issue900092] hotshot.stats.load fails with AssertionError

2014-03-19 Thread David Stanek
Changes by David Stanek : -- nosy: +dstanek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue900092] hotshot.stats.load fails with AssertionError

2014-03-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Brian Curtin is a core developer, perhaps you should trust his judgement. -- nosy: +pitrou ___ Python tracker ___ _

[issue900092] hotshot.stats.load fails with AssertionError

2014-03-19 Thread Mark Lawrence
Mark Lawrence added the comment: You clearly haven't bothered to read that there is *NO* maintainer, that the docs for 2.x recommend that you *DON'T* use it, that its been removed from 3.x and that nobody has yet volunteered to do anything with it. If its so important, why don't you do the w

[issue900092] hotshot.stats.load fails with AssertionError

2014-03-19 Thread Brian Curtin
Brian Curtin added the comment: It remains a valid issue. Time is not a factor. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue900092] hotshot.stats.load fails with AssertionError

2014-03-19 Thread Mark Lawrence
Mark Lawrence added the comment: IMHO reopening this was a complete and utter waste of core devs time, its already passed its tenth birthday!!! -- ___ Python tracker ___ __

[issue20218] Add methods to `pathlib.Path`: `write_text`, `read_text`, `write_bytes`, `read_bytes`

2014-03-19 Thread Ram Rachum
Ram Rachum added the comment: Okay, different approach: How about having a mode argument with a default? (Defaults of 'rb', 'r', 'wb', 'w' respectively.) This way users who wish to use append, exclusive, or any other future mode will be able to do that, but we won't be adding too many keywords

[issue20979] Calling getdents()/readdir64() repeatedly while closing descriptors provides unexpected behaviour.

2014-03-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: A Python test that reproduces this would be nice to have though I realize it isn't something necessarily useful to run as part of a unittest suite given this one would rely on OS kernel implementation details and chances of race conditions occurring. Regard

[issue20218] Add methods to `pathlib.Path`: `write_text`, `read_text`, `write_bytes`, `read_bytes`

2014-03-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > "I don't think "append" and "exclusive" deserve to be arguments here. > write_bytes()/write_text() is a convenience method for the common use case." > > Are you suggesting that these features be removed? Yes. For "append", the reason is simple. The use case f

[issue18931] new selectors module should support devpoll on Solaris

2014-03-19 Thread Yury Selivanov
Yury Selivanov added the comment: Still no review link. Somehow you managed to upload the first patch correctly. Does the new one apply cleanly on the default branch? -- ___ Python tracker

[issue20218] Add methods to `pathlib.Path`: `write_text`, `read_text`, `write_bytes`, `read_bytes`

2014-03-19 Thread Ram Rachum
Ram Rachum added the comment: Thanks for the code review Antoine. It seems like the only non-trivial comment is regarding the `append` and `exclusive` arguments: "I don't think "append" and "exclusive" deserve to be arguments here. write_bytes()/write_text() is a convenience method for the com

[issue900092] hotshot.stats.load fails with AssertionError

2014-03-19 Thread Brian Curtin
Brian Curtin added the comment: It was brought to my attention that this is still an issue and that it was closed. Reopening. -- resolution: wont fix -> status: closed -> open ___ Python tracker

[issue15968] Incorporate Tcl/Tk/Tix into the Windows build process

2014-03-19 Thread Zachary Ware
Zachary Ware added the comment: If there are no objections before then, I'll split out the Tix parts of this patch and commit the rest this weekend. I'll open a new issue for adding Tix to the mix. -- ___ Python tracker

[issue17846] Building Python on Windows - Supplementary info

2014-03-19 Thread Zachary Ware
Zachary Ware added the comment: Review of kw-issue17846.diff: setup.rst - hunks 1 & 2 (@@ -49,9 and @@ -216,7): Both changes should be reverted. The change from 3.4 -> 3.3 reverts a very recent change made due to 3.4 becoming the newest maintenance branch. If I'm not mistaken, the blank

[issue20977] pyflakes: undefined "ctype" in 2 except blocks

2014-03-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue20978] pyflakes: undefined names

2014-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. Lib/multiprocessing/synchronize.py: Add at the start of the file: from . import get_context -- nosy: +serhiy.storchaka stage: -> patch review versions: +Python 2.7 ___ Python tracker

[issue7994] object.__format__ should reject format strings

2014-03-19 Thread HCT
HCT added the comment: I use lots of complicated format such as the following "{:{:s}{:d}s}".format( self.pcs,self.format_align, self.max_length ) it looks like the way to do it from now on will be "{!s:{:s}{:d}}".format( self.pcs,self.format_align, self.max_length ) -- ___

[issue20976] pyflakes: remove unused imports

2014-03-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. But for _qdecode you should ask RDM. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue14332] Better explain "junk" concept in difflib doc

2014-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0a69b1e8b7fe by Andrew Kuchling in branch 'default': #14332: provide a better explanation of junk in difflib docs http://hg.python.org/cpython/rev/0a69b1e8b7fe -- nosy: +python-dev ___ Python tracker

[issue19995] %c, %o, %x, %X accept non-integer values instead of raising an exception

2014-03-19 Thread Josh Rosenberg
Changes by Josh Rosenberg : -- nosy: +josh.rosenberg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue20986] test_startup_imports fails in test_site when executed inside venv

2014-03-19 Thread Sean McGrail
Changes by Sean McGrail : -- title: test_startup_imports fails in test_site while executed inside venv -> test_startup_imports fails in test_site when executed inside venv ___ Python tracker __

[issue20986] test_startup_imports fails in test_site while executed inside venv

2014-03-19 Thread Sean McGrail
New submission from Sean McGrail: test_startup_imports fails in test_site when executed from within a virtual environment (venv). Test passes when not executed within a venv. $ python -m test test_site [1/1] test_site test test_site failed -- Traceback (most recent call last): File "/softwar

[issue14332] Better explain "junk" concept in difflib doc

2014-03-19 Thread A.M. Kuchling
Changes by A.M. Kuchling : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue7994] object.__format__ should reject format strings

2014-03-19 Thread Eric V. Smith
Eric V. Smith added the comment: Or: "{:{:s}{:d}s}".format(str(self.pcs), self.format_align, self.max_length) You're trying to apply the string format specifier (the stuff after the first colon through the final "s", as expanded) to an object that's not always a string: sometimes it's None. S

[issue13437] Provide links to the source code for every module in the documentation

2014-03-19 Thread A.M. Kuchling
Changes by A.M. Kuchling : -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue13437] Provide links to the source code for every module in the documentation

2014-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset bc107f5faedc by Andrew Kuchling in branch 'default': #13437: link to the source code for a few more modules http://hg.python.org/cpython/rev/bc107f5faedc -- nosy: +python-dev ___ Python tracker

[issue13437] Provide links to the source code for every module in the documentation

2014-03-19 Thread Éric Araujo
Éric Araujo added the comment: Agreed with Terry. Some Python modules are just wrappers for C modules, but datetime.py is standalone so we can dispense with the link to _datetime.c. -- ___ Python tracker

[issue20985] Add new style formatting to logging.config.fileConfig

2014-03-19 Thread py.user
New submission from py.user: http://docs.python.org/3/howto/logging.html#configuring-logging " [formatter_simpleFormatter] format=%(asctime)s - %(name)s - %(levelname)s - %(message)s datefmt= " I tried to make: format={asctime} - {name} - {levelname} - {message} and it doesn't work. In the s

[issue19385] dbm.dumb should be consistent when the database is closed

2014-03-19 Thread Zachary Ware
Changes by Zachary Ware : -- versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17442] code.InteractiveInterpreter doesn't display the exception cause

2014-03-19 Thread Zachary Ware
Changes by Zachary Ware : -- versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20907] behavioral differences between shutil.unpack_archive and ZipFile.extractall

2014-03-19 Thread Éric Araujo
Éric Araujo added the comment: shutil.unpack_archive was extracted from distutils by Tarek. I can do some Mercurial archaelogy to find more about the behaviour. -- ___ Python tracker _

[issue17188] Document 'from None' in raise statement doc.

2014-03-19 Thread Nitika Agarwal
Nitika Agarwal added the comment: Patch with some corrections. Please review the patch attached. -- Added file: http://bugs.python.org/file34527/issue17188_1.patch ___ Python tracker ___

[issue17846] Building Python on Windows - Supplementary info

2014-03-19 Thread Zachary Ware
Zachary Ware added the comment: Whoops, that patch contains way more than you wanted :). I should have suggested "hg add *.rst". Attaching what should be the right patch, review to come. -- Added file: http://bugs.python.org/file34525/kw-issue17846.diff _

[issue4744] asynchat documentation needs to be more precise

2014-03-19 Thread Nitika Agarwal
Nitika Agarwal added the comment: Attached patch with some corrections -- Added file: http://bugs.python.org/file34526/issue4744_3.patch ___ Python tracker ___ ___

[issue17846] Building Python on Windows - Supplementary info

2014-03-19 Thread Zachary Ware
Zachary Ware added the comment: Hmmm, it looks like your patch is missing a file. You may need to run "hg add", then create your patch again. -- ___ Python tracker ___

[issue17846] Building Python on Windows - Supplementary info

2014-03-19 Thread Kathleen Weaver
Kathleen Weaver added the comment: After hg add -- Added file: http://bugs.python.org/file34524/windows.patch ___ Python tracker ___ _

[issue20951] SSLSocket.send() returns 0 for non-blocking socket

2014-03-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't think complicating the situation by exposing two different kinds of non-blocking sockets is the solution here. Either we decide it is worth breaking compatibility and we change the behaviour by default (I'm rather against this), or we simply document t

[issue20984] 'Add/Remove Programs' dialog missing entries for 32-bit CPython 'current user only' installations on 64-bit Windows

2014-03-19 Thread Jurko Gospodnetić
Jurko Gospodnetić added the comment: This issue can confuse a regular user in the following scenario: 1. User uses 'for current user only' Python installations. 2. User expects to be able to see all installed software listed in the 'Add/Remove Programs' dialog and does not know that the l

[issue17846] Building Python on Windows - Supplementary info

2014-03-19 Thread Kathleen Weaver
Kathleen Weaver added the comment: I think I have everything now. -- keywords: +patch Added file: http://bugs.python.org/file34523/windows.patch ___ Python tracker ___ __

[issue20980] In multiprocessing.pool, ExceptionWithTraceback should derive from Exception

2014-03-19 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue18931] new selectors module should support devpoll on Solaris

2014-03-19 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Regenerated without --git. -- Added file: http://bugs.python.org/file34522/devpoll3.patch ___ Python tracker ___

[issue20984] 'Add/Remove Programs' dialog missing entries for 32-bit CPython 'current user only' installations on 64-bit Windows

2014-03-19 Thread Zachary Ware
Changes by Zachary Ware : -- stage: -> test needed type: -> behavior versions: +Python 3.5 -Python 3.1, Python 3.2, Python 3.3 ___ Python tracker ___ __

[issue20984] 'Add/Remove Programs' dialog missing entries for 32-bit CPython 'current user only' installations on 64-bit Windows

2014-03-19 Thread Ned Deily
Changes by Ned Deily : -- nosy: +loewis, zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue7677] upload: improve display for error messages from gpg

2014-03-19 Thread Parimala Rao
Parimala Rao added the comment: This error is seen when there are no secret keys/default keys present for the person running "upload" command. Hence using --sign does not fall back to default identity. -- nosy: +Parimala.Rao Added file: http://bugs.python.org/file34521/patchfix _

[issue20984] 'Add/Remove Programs' dialog missing entries for 32-bit CPython 'current user only' installations on 64-bit Windows

2014-03-19 Thread Jurko Gospodnetić
Jurko Gospodnetić added the comment: Here is a possible 'workaround' for the issue, but it will take someone more knowledgeable about the Windows Installer infrastructure to say if the workaround can be applied directly as a clean solution or if it could have hidden consequences. Each 32-bit ins

[issue20984] 'Add/Remove Programs' dialog missing entries for 32-bit CPython 'current user only' installations on 64-bit Windows

2014-03-19 Thread Jurko Gospodnetić
New submission from Jurko Gospodnetić: When you install 32-bit CPython 'for the current user only' on 64-bit Windows, the installation does not show up in the Windows 'Add/Remove Programs' dialog (a.k.a. 'Programs and Features' dialog on Windows 7). It does not show up there even for the current

[issue20982] http://www.python.org used in unit test is directed to HTTPS url

2014-03-19 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/' ___ Python tracker

[issue20983] Python 3.4 'repair' Windows installation does not install pip & setuptools packages

2014-03-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: There is currently a condition in the installer to run ensurepip only if this is an installation (i.e. not an uninstallation); this should probably be extended to also run this on repair. Contributions are welcome. -- nosy: +loewis

[issue20983] Python 3.4 'repair' Windows installation does not install pip & setuptools packages

2014-03-19 Thread Jurko Gospodnetić
New submission from Jurko Gospodnetić: On Windows, when you repair your Python 3.4 installation, it will not reinstall pip & setuptools. Here by 'repair' I mean a 'Windows Installer' based repair installation. Reproduced using: * Windows 7 SP1 x64. * Python 3.4.0 (32-bit). To reproduce do t

[issue13405] Add DTrace probes

2014-03-19 Thread John Beck
Changes by John Beck : -- nosy: +jbeck ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue20982] http://www.python.org used in unit test is directed to HTTPS url

2014-03-19 Thread STINNER Victor
New submission from STINNER Victor: Many Python unit tests use http://www.python.org/ but the URL is directed to https://www.python.org/. Tests fail if the ssl module is missing. I modified test_urllib2.test_issue16464() but then I realized that many more tests are impacted: many tests of test

[issue13437] Provide links to the source code for every module in the documentation

2014-03-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: With rare exceptions*, my inclination is to only link .py files anyway. Those apply to all implementations that use them as is. Any Python programmer can read them and maybe learn something. The C files only apply to CPython. The possible existence of a _modna

[issue19009] Enhance HTTPResponse.readline() performance

2014-03-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: If this is committed, should the issue be closed? -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue16464] urllib.request: opener not resetting content-length

2014-03-19 Thread STINNER Victor
STINNER Victor added the comment: changeset: 89857:ad0c75b7bd7d tag: tip parent: 89855:9120196b3114 parent: 89856:68335b8afb1f user:Victor Stinner date:Wed Mar 19 17:34:12 2014 +0100 description: (Merge 3.4) Skip test_urllib2.test_issue16464() is the ssl modul

[issue19009] Enhance HTTPResponse.readline() performance

2014-03-19 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Sure. If there are issues we'll just reopen. Closing. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue20980] In multiprocessing.pool, ExceptionWithTraceback should derive from Exception

2014-03-19 Thread Steven Myint
Steven Myint added the comment: I didn't quite understand the multiprocessing test cases, but attached is a standalone test case that reproduces the problem. The problem only shows up when using ThreadPool. $ python thread_pool_exception_test.py Traceback (most recent call last): File "threa

[issue1887] Document that distutils doesn't support out-of-source builds

2014-03-19 Thread Alba Magallanes
Alba Magallanes added the comment: Eric Thanks for the review :) I'll follow your advice Thanks ! On Wed, Mar 19, 2014 at 12:33 AM, Éric Araujo wrote: > > Éric Araujo added the comment: > > Thanks for the patch. I did a review, you should have got an email; if > not, follow the "review" link o

[issue19995] %c, %o, %x, %X accept non-integer values instead of raising an exception

2014-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9120196b3114 by Ethan Furman in branch 'default': Issue19995: passing a non-int to %o, %c, %x, or %X now raises an exception http://hg.python.org/cpython/rev/9120196b3114 -- ___ Python tracker

[issue20980] In multiprocessing.pool, ExceptionWithTraceback should derive from Exception

2014-03-19 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue1859] textwrap doesn't linebreak on "\n"

2014-03-19 Thread dani
dani added the comment: applied patches textwrap_2010-11-23.diff and issue1859_docs.diff added line_break tests -- nosy: +dbudinova Added file: http://bugs.python.org/file34519/line_break_tests.patch ___ Python tracker

[issue20979] Calling getdents()/readdir64() repeatedly while closing descriptors provides unexpected behaviour.

2014-03-19 Thread Марк Коренберг
New submission from Марк Коренберг: 1. Please see last comments/patches for issue8052 2. Not closing some descriptos is security breach (PEP-0446 describes that) = Calling getdents()/readdir64() repeatedly while closing descriptors provides unexpected behaviour. Reading directo

[issue20980] In multiprocessing.pool, ExceptionWithTraceback should derive from Exception

2014-03-19 Thread Steven Myint
New submission from Steven Myint: In multiprocessing.pool, ExceptionWithTraceback is not derived from Exception. Thus when it is raised, we get the exception, "TypeError: exceptions must derive from BaseException". Attached is a patch that fixes this. See below example traceback that prompted

[issue20980] In multiprocessing.pool, ExceptionWithTraceback should derive from Exception

2014-03-19 Thread R. David Murray
R. David Murray added the comment: We must have a missing test case, then. One should be added. -- nosy: +r.david.murray ___ Python tracker ___ _

  1   2   >