[issue11352] Update cgi module doc

2014-03-19 Thread Berker Peksag
Berker Peksag added the comment: > Have any of the changes been applied? A modified version of cgi-doc-update.patch was committed. (see msg159700) I left a couple of comments for cgi-doc.patch on Rietveld. -- nosy: +berker.peksag versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.

[issue16827] Remove the relatively advanced content from section 2 in tutorial

2014-03-19 Thread Éric Araujo
Éric Araujo added the comment: > By the way the section 13 is more about interactive Input editing, > which is different concept from interactive mode. I think these are the same thing. Can you explain more? -- ___ Python tracker

[issue20970] contradictory documentation for prog option of argparse

2014-03-19 Thread paul j3
paul j3 added the comment: Cross reference for sys.argv[0] is http://docs.python.org/3.4/library/sys.html > ___ > -- ___ Python tracker ___

[issue20972] python34.dll not in System32 or SysWOW64 folders after install python-3.4.0.amd64.msi

2014-03-19 Thread Mikhail
Mikhail added the comment: >For my successful install, I 1) ran the installer by the classic >double-click-the-icon method, 2) installed for all users, 3) gave elevated >privileges when it asked, and 4) left all options at default. Yes. And I did so. This is a very strange problem. I tried to

[issue16927] Separate built-in types from functions and group similar functions in functions.rst

2014-03-19 Thread Nitika Agarwal
Nitika Agarwal added the comment: Hi, I am attaching a new patch with some corrections which I got.Please help me where I am going wrong. -- Added file: http://bugs.python.org/file34507/issue16927.patch ___ Python tracker

[issue16927] Separate built-in types from functions and group similar functions in functions.rst

2014-03-19 Thread Éric Araujo
Éric Araujo added the comment: Thanks, the markup for built-in types is better. (You added hash to that list, but it’s a function returning an int, not a type.) +Functions : +base conversion: :func:`bin`, :func:`oct`, :func:`hex` +attribute-related: :func:`getattr`, :func:`setattr`, :func:`ha

[issue16927] Separate built-in types from functions and group similar functions in functions.rst

2014-03-19 Thread Nitika Agarwal
Nitika Agarwal added the comment: I have added hash in functions under the heading : "Math-Related" -- Added file: http://bugs.python.org/file34508/issue16927_3.patch ___ Python tracker

[issue20975] Python 3.4 build info wrong in code snippet

2014-03-19 Thread Boštjan Mejak
Boštjan Mejak added the comment: I would change only the date and time. There was no Python 3.4 back in 2012 so at least change the year. Well, my recommendation is this: Python 3.4.0 (v3.4.0:04f714765c13, Mar 16 2014, 19:25:23) [MSC v.1600 64 bit (AMD64)] on win32 Type "help", "copyright", "c

[issue19186] expat symbols should be namespaced in pyexpat again

2014-03-19 Thread Peter Kruse
Peter Kruse added the comment: Hello, it seems that the solution to this issue causes the failure to compile the pyexpat extension in my case. If I do not include pyexpatns.h in expat_external.h then the compile succeeeds. I will attach the output for both cases. There was no problem with 3.4

[issue19186] expat symbols should be namespaced in pyexpat again

2014-03-19 Thread Peter Kruse
Changes by Peter Kruse : Added file: http://bugs.python.org/file34510/without-pyexpatns.txt ___ Python tracker ___ ___ Python-bugs-list mailin

[issue20972] python34.dll not in System32 or SysWOW64 folders after install python-3.4.0.amd64.msi

2014-03-19 Thread Mikhail
Mikhail added the comment: I noticed that after installing the file python34.dll belongs to the owner of the "system". While the other files in the system32 folder belonging to the owner of the "TrustedInstaller". Possibly this is a problem. My file manager just does not display the file, alth

[issue19009] Enhance HTTPResponse.readline() performance

2014-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 49017c391564 by Kristján Valur Jónsson in branch 'default': Issue #19009 http://hg.python.org/cpython/rev/49017c391564 -- nosy: +python-dev ___ Python tracker

[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-19 Thread Jovik
Jovik added the comment: Isn't Python's crossplatform functionality a key feature? A quick fix would be to retry the call by adding cwd to arg[0] in case of FileNotFoundError. -- ___ Python tracker ___

[issue20976] pyflakes: remove unused imports

2014-03-19 Thread STINNER Victor
New submission from STINNER Victor: I ran pyflakes on Python 3.5. Attached patch removes unused imports. Sometimes, it's tricky to decide if an import is useless or if it is part of the API. Strange example using import to define a method! --- class Message: ... def get_charsets(self,

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

2014-03-19 Thread STINNER Victor
New submission from STINNER Victor: ctype is undefined in the two following blocks: diff -r 72889bf8531d Lib/email/_header_value_parser.py --- a/Lib/email/_header_value_parser.py Tue Mar 18 13:21:29 2014 +0100 +++ b/Lib/email/_header_value_parser.py Wed Mar 19 11:47:56 2014 +0100 @@ -2897,6 +289

[issue20978] pyflakes: undefined names

2014-03-19 Thread STINNER Victor
New submission from STINNER Victor: I ran pyflakes on Python 3.5. Attached patch fixes some undefined names warnings. I don't know what to with these two warnings, they look to be false positive: diff -r 72889bf8531d Lib/multiprocessing/spawn.py --- a/Lib/multiprocessing/spawn.py Tue Mar

[issue20375] ElementTree: Document handling processing instructions

2014-03-19 Thread Claudiu.Popa
Claudiu.Popa added the comment: Hello. I left a couple of comments on Rietveld. -- nosy: +Claudiu.Popa ___ Python tracker ___ ___ Pyth

[issue20968] mock.MagicMock does not mock __truediv__

2014-03-19 Thread Michael Foord
Michael Foord added the comment: A test would be nice please (good catch on the bug). -- ___ Python tracker ___ ___ Python-bugs-list m

[issue20976] pyflakes: remove unused imports

2014-03-19 Thread Berker Peksag
Berker Peksag added the comment: Here's an alternative patch for the tarfile module. -- nosy: +berker.peksag, serhiy.storchaka stage: -> patch review Added file: http://bugs.python.org/file34513/issue20976_tarfile.diff ___ Python tracker

[issue20972] python34.dll not in System32 or SysWOW64 folders after install python-3.4.0.amd64.msi

2014-03-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: Mikhail: I'm not sure whether there is a problem left to be resolved. The installer log file clearly says that python34.dll was installed to system32, and your last message indicates that the file is actually present, as it should. The ownership is not a prob

[issue20976] pyflakes: remove unused imports

2014-03-19 Thread STINNER Victor
STINNER Victor added the comment: IMO issue20976_tarfile.diff is useless. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue20972] python34.dll not in System32 or SysWOW64 folders after install python-3.4.0.amd64.msi

2014-03-19 Thread Mikhail
Mikhail added the comment: Yes. I agree. Closed. Sorry for the panic :) -- status: open -> closed ___ Python tracker ___ ___ Python-b

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

2014-03-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, you have to assume the code you're removing is there for a reason (e.g. perhaps this is meant to protect from attacks when opening a zip file uploaded by a user). I'd like to hear from Éric on this. -- nosy: +eric.araujo, pitrou __

[issue20968] mock.MagicMock does not mock __truediv__

2014-03-19 Thread Johannes Baiter
Johannes Baiter added the comment: >From looking at 'test_numerics', only 'add' is currently tested. Probably since the mechanism for all of the numeric magic methods is the same (i.e. create , __i__, __r__). Should I add a test for __truediv__ and its inplace and right variants nonetheles

[issue20968] mock.MagicMock does not mock __truediv__

2014-03-19 Thread Michael Foord
Michael Foord added the comment: Well, as this is a regression fix we definitley need a test. Ideally we would test all the operations - I didn't realise that only add was tested! However for this specific issue, just testing division is fine, and yes testing in place and right hand as well wo

[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-19 Thread Eric V. Smith
Eric V. Smith added the comment: We don't always provide fully cross-platform functionality (see the os module for many examples), but we might be able to do better here. It might be some functionality we can add, it might be a documentation issue. Note, for example, the subprocess.STARTUPINFO

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

2014-03-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: Terry: yes, the code for _decimal.c doesn't look especially helpful. (_csv.c is a bit more straightforward, but still isn't highly commented.) The problem is that decimal.py does have long docstrings & discussions, so it's certainly useful. Is it inconsistent

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2014-03-19 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- nosy: +sahutd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue20970] contradictory documentation for prog option of argparse

2014-03-19 Thread R. David Murray
R. David Murray added the comment: You are correct, it is os.path.basename. "base name or symlink" are not alternatives. It would be the base name *of* the symlink if a symlink was used to invoke the program. I'm not sure that introducing the concept of the symlink here is helpful...someone

[issue8743] set() operators don't work with collections.Set instances

2014-03-19 Thread Nick Coghlan
Nick Coghlan added the comment: This didn't make it into 3.4, and the comment about needing a porting note above still applies, so to 3.5 it goes. -- priority: high -> normal versions: +Python 3.5 -Python 3.4 ___ Python tracker

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

2014-03-19 Thread Eli Bendersky
Eli Bendersky added the comment: Revised patch LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue20924] openssl init 100% CPU utilization

2014-03-19 Thread bob bob
bob bob added the comment: loewis: This is correct stack: 0021ee80 10036d19 0176d259 0013 msvcr90!memset+0x3d 0021ee9c 10022a22 0021ef1c 0176d218 1001bf62 _ssl!SHA1_Final+0x49 0021eea8 1001bf62 0021ef0c 0021ef1c 0146 _ssl!OPENSSL_cleanse+0x92 0021eebc 10010319 0021ef0c 0021ef1c 0

[issue4806] Function calls taking a generator as star argument can mask TypeErrors in the generator

2014-03-19 Thread R. David Murray
R. David Murray added the comment: Sounds like we just need someone comfortable with modifying ceval.c to apply this ;) -- nosy: +benjamin.peterson, r.david.murray versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker

[issue20968] mock.MagicMock does not mock __truediv__

2014-03-19 Thread Johannes Baiter
Changes by Johannes Baiter : Added file: http://bugs.python.org/file34515/mock_truediv_with_tests.diff ___ Python tracker ___ ___ Python-bugs-

[issue20903] smtplib.SMTP raises socket.timeout

2014-03-19 Thread Milan Oberkirch
Milan Oberkirch added the comment: The attached patch mentions the exception besides the description of the timeout parameter. It doesn't hurt and makes programmers aware of this common exception. -- keywords: +patch nosy: +zvyn Added file: http://bugs.python.org/file34516/doc_socket_t

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

2014-03-19 Thread R. David Murray
R. David Murray added the comment: First step would be to get rid of the warning in the zipfile docs and replace it with the info that the absolute path '/' and any relative path are stripped silently before the file is extracted. It would also be worth adding an enhancement to zipfile to opti

[issue20967] hashlib memory leak

2014-03-19 Thread Adrian Teng
Adrian Teng added the comment: Yup. Tested on 2.7.5 and it doesn't leak. I guess this is a duplicate of #15219. Cheers! -- resolution: -> duplicate ___ Python tracker ___ __

[issue20967] hashlib memory leak

2014-03-19 Thread Brett Cannon
Changes by Brett Cannon : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue8052] subprocess close_fds behavior should only close open fds

2014-03-19 Thread Марк Коренберг
Марк Коренберг added the comment: Calling getdents()/readdir64() repeatedly while closing descriptors provides unexpected behaviour. Reading directory while it modified is not safe by default. For example: http://en.it-usenet.org/thread/18514/15719/. So, we should re-open directory if we rece

[issue8052] subprocess close_fds behavior should only close open fds

2014-03-19 Thread STINNER Victor
STINNER Victor added the comment: "Calling getdents()/readdir64() repeatedly while closing descriptors provides unexpected behaviour." Please open a new issue. -- ___ Python tracker ___

[issue20900] distutils register command should print text, not bytes repr

2014-03-19 Thread ingrid
ingrid added the comment: I'm not quite clear on what you mean, could you please post an example output? Initially the response was not showing up at all for me because the announce call in register was missing a log level, but when I used log.INFO, the response did print for me, and it did lo

[issue20970] contradictory documentation for prog option of argparse

2014-03-19 Thread Kinga Farkas
Changes by Kinga Farkas : -- keywords: +patch Added file: http://bugs.python.org/file34517/issue20970.patch ___ Python tracker ___ ___

[issue8052] subprocess close_fds behavior should only close open fds

2014-03-19 Thread Марк Коренберг
Марк Коренберг added the comment: Also, it is not said in manual if getdents() may be interrupted by signal. Assuming current code, error is not checked, so some (or all) descriptors will be skipped in case of error. -- ___ Python tracker

[issue8052] subprocess close_fds behavior should only close open fds

2014-03-19 Thread STINNER Victor
STINNER Victor added the comment: "Also, it is not said in manual if getdents() may be interrupted by signal. Assuming current code, error is not checked, so some (or all) descriptors will be skipped in case of error." This issue is closed, please open a new issue to discuss that. --

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

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

[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 ___ _

[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

[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

[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:

[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 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

[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 ___ _

[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

[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

[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

[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/

[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

[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

[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

[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

[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

[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 Ned Deily
Changes by Ned Deily : -- nosy: +loewis, zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[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 ___ __

[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 ___

[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

[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 ___ __

[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

[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

[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 ___

[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: 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 _

[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 ___ _

[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 ___

[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 _

[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:

[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:

[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

[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

[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 A.M. Kuchling
Changes by A.M. Kuchling : -- resolution: -> fixed stage: commit 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

[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 ___ __

[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

[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 __

[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

[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

[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

[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 ) -- ___

[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

[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

[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

[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

[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

[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

[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 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

  1   2   >