[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-02 Thread Mark Dickinson
Mark Dickinson added the comment: How about simply 'inverse hyperbolic cosine', etc. I think that's more likely to be immediately obvious to readers. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21902

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-02 Thread Mark Dickinson
Mark Dickinson added the comment: and the 'radians' bit is obviously nonsense. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21902 ___ ___

[issue14174] argparse.REMAINDER fails to parse remainder correctly

2014-07-02 Thread paul j3
paul j3 added the comment: Here's a possible solution to the problem (assuming there really is one): - redefine REMAINDER so it matches a '((?:A[AO]*)?)' pattern (where O is a string that looks like an optional flag, A an argument string). I've added the condition that the first match (if

[issue21901] test_selectors.PollSelectorTestCase.test_above_fd_setsize reported killed by shell

2014-07-02 Thread Charles-François Natali
Charles-François Natali added the comment: There's probably a special mechanism due to vserver which makes the kernel kill the process instead of failing with EPERM, but it's really surprising. What happens if you try the following: $ python -c from resource import *; _, hard =

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-02 Thread Kevin Davies
Kevin Davies added the comment: Unfortunately I'm not currently set up with Mercurial and I'm not sure that it makes sense to get that going just for this. On 07/01/2014 06:47 PM, Ezio Melotti wrote: Ezio Melotti added the comment: Do you want to propose a patch?

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-02 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a patch. -- keywords: +patch Added file: http://bugs.python.org/file35825/acosh_docstring.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21902

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-02 Thread Mark Dickinson
Mark Dickinson added the comment: Ezio: https://docs.python.org/3/library/math.html#hyperbolic-functions should be updated as well. It looks fine to me. What do you think should be changed? -- ___ Python tracker rep...@bugs.python.org

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-02 Thread Kevin Davies
Kevin Davies added the comment: Yes, 'inverse' is probably more obvious to understand than 'area', although it doesn't tie into the 'a' of 'acosh', etc. On 07/01/2014 08:24 PM, Mark Dickinson wrote: Mark Dickinson added the comment: How about simply 'inverse hyperbolic cosine', etc. I

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-02 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: docs@python - mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21902 ___

[issue8585] zipimporter.find_module is untested

2014-07-02 Thread Mark Lawrence
Mark Lawrence added the comment: I've just reworked Berker's patch as it no longer applied. On Windows 7 before and after applying the patch both test runs gave me 49 tests, 2 skipped. Can we have a commit review please. -- nosy: +BreamoreBoy Added file:

[issue16474] More code coverage for imp module

2014-07-02 Thread Mark Lawrence
Mark Lawrence added the comment: Is it worth applying the patch as the imp module is deprecated since version 3.4? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16474

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-02 Thread Mark Dickinson
Mark Dickinson added the comment: Kevin: does the attached patch look okay to you? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21902 ___ ___

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-02 Thread Mark Dickinson
Mark Dickinson added the comment: Updated patch, fixing an accidental double space in the previous one. -- Added file: http://bugs.python.org/file35827/acosh_docstring_v2.patch ___ Python tracker rep...@bugs.python.org

[issue16611] Cookie.py does not parse httponly or secure cookie flags

2014-07-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0ba6ebd90b9d by Berker Peksag in branch '2.7': Issue #19870: BaseCookie now parses 'secure' and 'httponly' flags. http://hg.python.org/cpython/rev/0ba6ebd90b9d -- ___ Python tracker

[issue19870] Backport Cookie fix to 2.7 (httponly / secure flag)

2014-07-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0ba6ebd90b9d by Berker Peksag in branch '2.7': Issue #19870: BaseCookie now parses 'secure' and 'httponly' flags. http://hg.python.org/cpython/rev/0ba6ebd90b9d -- nosy: +python-dev ___ Python tracker

[issue19870] Backport Cookie fix to 2.7 (httponly / secure flag)

2014-07-02 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19870 ___

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-02 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- stage: needs patch - patch review type: enhancement - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21902 ___

[issue12600] Add example of using load_tests to parameterise Test Cases

2014-07-02 Thread Mark Lawrence
Mark Lawrence added the comment: Any volunteers to do this? I'd do it myself but by the time somebody explains the detail, it'd probably be easier just to write a patch. @Robert just FTR do you know the issue number for the use of __str__ by the stdlib [which isn't easily overridable -

[issue21896] Unexpected ConnectionResetError in urllib.request against a valid website

2014-07-02 Thread Tymoteusz Paul
Changes by Tymoteusz Paul puc...@gmail.com: -- versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21896 ___ ___ Python-bugs-list

[issue12876] Make Test Error : ImportError: No module named _sha256

2014-07-02 Thread Mark Lawrence
Mark Lawrence added the comment: Are we still interested in a 2.7.1 build issue? Note that regrtest is aimed at core developers only. -- components: +Build -Tests nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue12876] Make Test Error : ImportError: No module named _sha256

2014-07-02 Thread Encolpe DEGOUTE
Changes by Encolpe DEGOUTE encolpe.dego...@free.fr: -- nosy: -encolpe ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12876 ___ ___

[issue8585] zipimporter.find_module is untested

2014-07-02 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: -- stage: needs patch - commit review versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8585 ___

[issue21903] ctypes documentation MessageBoxA example produces error

2014-07-02 Thread Dan O'Donovan
New submission from Dan O'Donovan: There is an example in the ctypes python3 documentation for producing a native Windows MessageBoxA https://docs.python.org/3.3/library/ctypes.html#ctypes.PYFUNCTYPE Try as I might, I cannot get this example to run under python 3 (it is in the python3

[issue21903] ctypes documentation MessageBoxA example produces error

2014-07-02 Thread Dan O'Donovan
Dan O'Donovan added the comment: Additional note, this code snippet does work in python 2. There is a note that all snippets are tested with 'doctest' so I have added the 'tests' tag to this ticket. -- components: +Tests ___ Python tracker

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-02 Thread Ezio Melotti
Ezio Melotti added the comment: https://docs.python.org/3/library/math.html#hyperbolic-functions should be updated as well. It looks fine to me. What do you think should be changed? I just meant to say that the docs and the docstrings should be kept in sync (especially if they are short

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-02 Thread Kevin Davies
Kevin Davies added the comment: Mark: The patch looks good. Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21902 ___ ___

[issue16474] More code coverage for imp module

2014-07-02 Thread Andrew Svetlov
Andrew Svetlov added the comment: Well, I've closed it as out-of-date. -- resolution: - out of date stage: - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16474 ___

[issue12600] Add example of using load_tests to parameterise Test Cases

2014-07-02 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone jean-p...@hybridcluster.com: -- nosy: -exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12600 ___ ___

[issue21903] ctypes documentation MessageBoxA example produces error

2014-07-02 Thread Dan O'Donovan
Dan O'Donovan added the comment: Ok, this fail is happening because we're using python3 unicode strings to call the ANSI MessageBoxA function. A possible fix; Encode strings before passing the MessageBoxA (ctypes.txt.diff attached) Alternatively, calls could be made to the unicode MessageBoxW

[issue2943] Distutils should generate a better error message when the SDK is not installed

2014-07-02 Thread Martin Dengler
Changes by Martin Dengler mar...@martindengler.com: -- nosy: +mdengler ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2943 ___ ___ Python-bugs-list

[issue21904] Multiple closures accessing the same non-local variable always see the same value

2014-07-02 Thread Steve Holden
New submission from Steve Holden: When repeated use of a nonlocal variable is made (e.g. to define multiple functions in a loop) ideally the closure should reflect the value of the local variable at the time of use. This should at least be explicitly documented if the behavior is considered

[issue21904] Multiple closures accessing the same non-local variable always see the same value

2014-07-02 Thread R. David Murray
R. David Murray added the comment: Yeah, closures can be a bit counter-intuitive. Assuming *I'm* understanding this correctly, the closure captures a pointer to the local variable, not the value of the local variable, and thus keeps it alive. (That is, the namespace is not destroyed until

[issue1425127] os.remove OSError: [Errno 13] Permission denied

2014-07-02 Thread Joram Agten
Joram Agten added the comment: I think this c win32 issue describes a similar problem http://stackoverflow.com/questions/3764072/c-win32-how-to-wait-for-a-pending-delete-to-complete -- ___ Python tracker rep...@bugs.python.org

[issue21904] Multiple closures accessing the same non-local variable always see the same value

2014-07-02 Thread Steve Holden
Steve Holden added the comment: Indeed the issue is that the pointer is to the local variable rather than its value at time of closure defnition. Not being familiar with the way cells are used, I am unsure as to how the closure keeps the whole namespace alive (that would seem to require a

[issue15722] PEP 3121, 384 Refactoring applied to decimal module

2014-07-02 Thread Stefan Krah
Stefan Krah added the comment: In order to avoid the significant slowdown: Could we create a new kind of method (METH_STATE) and change ceval to pass a state struct that contains the thread and the module state as the first parameter if the METH_STATE flag is present? --

[issue21905] RuntimeError in pickle.whichmodule when sys.modules if mutated

2014-07-02 Thread Olivier Grisel
New submission from Olivier Grisel: `pickle.whichmodule` performs an iteration over `sys.modules` and tries to perform `getattr` calls on those modules. Unfortunately some modules such as those from the `six.moves` dynamic module can trigger imports when calling `getattr` on them, hence

[issue21904] Multiple closures accessing the same non-local variable always see the same value

2014-07-02 Thread R. David Murray
R. David Murray added the comment: I forgot that cells were independent objects. You are probably right about it just keeping the cell alive, but I never did finish looking through how that code worked when I did look at it. -- ___ Python tracker

[issue21900] .hgignore: Missing ignores for downloaded doc build tools

2014-07-02 Thread Andy Maier
Andy Maier added the comment: That is indeed true; i just verified that by creating a new clone repository. Sorry for the extra work. When I created the bug yesterday, I had my repository clone updated to 2.7 and the .hgignore definitely did not have the entries. I even saw all the

[issue16599] unittest: Access test result from tearDown

2014-07-02 Thread Mark Lawrence
Mark Lawrence added the comment: The solution suggested in msg176909 seems accepted all around so can we please close this. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue16784] Int tests enhancement and refactoring

2014-07-02 Thread Mark Lawrence
Mark Lawrence added the comment: is there anything left to do here? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16784 ___

[issue21900] .hgignore: Missing ignores for downloaded doc build tools

2014-07-02 Thread R. David Murray
R. David Murray added the comment: Are you sure your checkout was updated to 2.7? If you had checked out 2.7, built the docs, then checked out 3.4 and done an hg status, you would see the Doc files as untracked. If you were really checked out to 2.7 you shouldn't have. I doubt there's any

[issue12018] No tests for ntpath.samefile, ntpath.sameopenfile

2014-07-02 Thread Mark Lawrence
Mark Lawrence added the comment: Presumably the changes made in the default branch referred to in msg179037 will have automatically been carried forward to 3.4 and 3.5. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3

[issue21904] Multiple closures accessing the same non-local variable always see the same value

2014-07-02 Thread Steve Holden
Steve Holden added the comment: I believe (though my belief is untrammeled by anything as useful as knowledge of the code: my diagnostic skills are largely psychic) that the cell essentially takes over the reference from the local namespace of the about-to-terminate lexically surrounding

[issue16968] Fix test discovery for test_concurrent_futures.py

2014-07-02 Thread Zachary Ware
Zachary Ware added the comment: Since then, Senthil Kumaran converted test_urllib2_localnet (and another urllib test or two) to unittest.main, using this: threads_key = None def setUpModule(): # Store the threading_setup in a key and ensure that it is cleaned up # in the tearDown

[issue21904] Multiple closures accessing the same non-local variable always see the same value

2014-07-02 Thread R. David Murray
R. David Murray added the comment: This is a specific instance of the general principle that a python variable is a 'named' location that holds a pointer to an arbitrary python object. The 'name' in this case is the variable name that appears in multiple scopes (which is what triggers the

[issue12876] Make Test Error : ImportError: No module named _sha256

2014-07-02 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12876 ___

[issue16474] More code coverage for imp module

2014-07-02 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16474 ___ ___

[issue21906] Tools\Scripts\md5sum.py doesn't work in Python 3.4.1 on Windows 7 64bit.

2014-07-02 Thread Torrin
New submission from Torrin: md5sum.py uses at least 1 undefined object in Python 3.4.1. I only tried this on Windows. I have no idea if it is a problem on any other OS. C:\C:\Python27\python.exe --version Python 2.7.6 C:\C:\Python34\python.exe --version Python 3.4.1

[issue21906] Tools\Scripts\md5sum.py doesn't work in Python 3.x

2014-07-02 Thread SilentGhost
SilentGhost added the comment: I guess it's only the evidence that it isn't being used. -- nosy: +SilentGhost title: Tools\Scripts\md5sum.py doesn't work in Python 3.4.1 on Windows 7 64bit. - Tools\Scripts\md5sum.py doesn't work in Python 3.x versions: +Python 3.5

[issue21900] .hgignore: Missing ignores for downloaded doc build tools

2014-07-02 Thread Andy Maier
Andy Maier added the comment: Regardless, though, you are having a Mercurial issue here, not a Python one :) That seems to be the case ... I don't think I can reproduce it. All fine then. Thanks, David! -- ___ Python tracker rep...@bugs.python.org

[issue14097] Improve the introduction page of the tutorial

2014-07-02 Thread Andy Maier
Andy Maier added the comment: Andy: in future, please use the 'review' link to post reviews,... Will do ... I just now discovered the Start Review link (I'm new here, so thanks for telling me...) Andy -- ___ Python tracker rep...@bugs.python.org

[issue14097] Improve the introduction page of the tutorial

2014-07-02 Thread Zachary Ware
Zachary Ware added the comment: You're both welcome :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14097 ___ ___ Python-bugs-list mailing

[issue21090] File read silently stops after EIO I/O error

2014-07-02 Thread Charles-François Natali
Charles-François Natali added the comment: LGTM. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21090 ___ ___ Python-bugs-list mailing list

[issue15358] Test pkgutil.walk_packages in test_pkgutil instead of test_runpy

2014-07-02 Thread Brett Cannon
Brett Cannon added the comment: I got overruled on the deprecation idea due to utility code like walk_packages that pkgutil contains. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15358

[issue8585] zipimporter.find_module is untested

2014-07-02 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: - berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8585 ___ ___

[issue21906] Tools\Scripts\md5sum.py doesn't work in Python 3.x

2014-07-02 Thread R. David Murray
R. David Murray added the comment: Well, at least one person *tried* to use it :) This is not a windows only problem, I can reproduce it on linux. Obviously we don't have tests for this tool. -- keywords: +easy nosy: +r.david.murray ___ Python

[issue21890] wsgiref.simple_server doesn't accept empty bytes before start_response is called

2014-07-02 Thread PJ Eby
PJ Eby added the comment: Please see this paragraph of the spec (my emphasis added): (Note: the application must invoke the start_response() callable **before the iterable yields its first body string**, so that the server can send the headers before any body content. However, this invocation

[issue21907] Update Windows build batch scripts

2014-07-02 Thread Zachary Ware
New submission from Zachary Ware: I am aware of a few open issues with the build scripts provided for Windows (both the Tools/buildbot scripts and the .bat files provided in PCbuild), such as #9973 and #9822, and there are some other issues that bother me but that I haven't opened issues for.

[issue21907] Update Windows build batch scripts

2014-07-02 Thread Zachary Ware
Zachary Ware added the comment: Here's the devguide patch. -- Added file: http://bugs.python.org/file35832/devguide_update.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21907 ___

[issue21908] Grammatical error in 3.4 tutorial

2014-07-02 Thread Jeremy Fusco
New submission from Jeremy Fusco: https://docs.python.org/3/tutorial/controlflow.html Sentence states 'most such' where either would suffice. current: In most such cases, however, it is convenient to use the enumerate() function, see Looping Techniques Proposed: In most cases --

[issue16473] quopri module minor difference in decoding quoted-printable text

2014-07-02 Thread Mark Lawrence
Mark Lawrence added the comment: I'll take this on if I can. Is binascii available on all platforms, as if it is the quopri code could be simplified slightly along with the test code? -- nosy: +BreamoreBoy title: Minor difference in decoding quoted-printable text - quopri module

[issue16473] quopri module minor difference in decoding quoted-printable text

2014-07-02 Thread R. David Murray
R. David Murray added the comment: The first problem is determining the best error recovery algorithms by reading through the RFCs and considering use cases. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16473

[issue21907] Update Windows build batch scripts

2014-07-02 Thread Steve Dower
Steve Dower added the comment: Looks pretty good. I'm happy to see more move into PCBuild - ideally, people building a Python release should never have to look anywhere else. buildmsi.bat can probably go away completely if the buildbots aren't using it. 3.5 will eventually have a .wixproj to

[issue21090] File read silently stops after EIO I/O error

2014-07-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 652b62213072 by Victor Stinner in branch '3.4': Issue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before, http://hg.python.org/cpython/rev/652b62213072 New changeset 440279cec378 by Victor Stinner in branch 'default': (Merge

[issue21908] Grammatical error in 3.4 tutorial

2014-07-02 Thread R. David Murray
R. David Murray added the comment: It is correct English as written. If you said just 'most cases', it would be ambiguous (most cases of using...something not quite clear from context, it could be range, or looping, or...), whereas if you said 'such cases', that would be wrong, since not all

[issue21090] File read silently stops after EIO I/O error

2014-07-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1492a42b8308 by Victor Stinner in branch '2.7': Issue #21090: io.FileIO.readall() does not ignore I/O errors anymore. Before, http://hg.python.org/cpython/rev/1492a42b8308 -- ___ Python tracker

[issue21908] Grammatical error in 3.4 tutorial

2014-07-02 Thread Jeremy Fusco
Jeremy Fusco added the comment: I do, however I feel I'm not the only one that would be thrown by this wording. Perhaps wording such as 'In cases like the above it is more convenient to utilize the enumerate()'. Thanks for the quick response! --

[issue13985] Menu.tk_popup : menu doesn't disapear when main window is iconified.

2014-07-02 Thread Mark Lawrence
Mark Lawrence added the comment: @marc please accept our apologies for having missed this. Can someone comment on this please. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13985

[issue14069] In extensions (?...) the lookbehind assertion cannot choose between the beginning of string and a letter

2014-07-02 Thread Mark Lawrence
Mark Lawrence added the comment: @py.user please accept our apologies for having missed this. @Ezio can you comment on this please. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14069

[issue13938] 2to3 fails to convert types.StringTypes appropriately

2014-07-02 Thread Mark Lawrence
Mark Lawrence added the comment: A short patch LGTM. Can we have a commit review please. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13938

[issue13554] Tkinter doesn't use higher resolution app icon

2014-07-02 Thread Mark Lawrence
Mark Lawrence added the comment: Can we have a comment on this please. -- nosy: +BreamoreBoy, gpolo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13554 ___

[issue16095] urllib2 failing with squid proxy and digest authentication

2014-07-02 Thread Mark Lawrence
Mark Lawrence added the comment: Can we have an update on this please. -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16095

[issue15134] urllib.request.thishost() fails on OSX 10.7

2014-07-02 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +orsenthil type: - behavior versions: +Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15134 ___

[issue14953] Reimplement subset of multiprocessing.sharedctypes using memoryview

2014-07-02 Thread Mark Lawrence
Mark Lawrence added the comment: @Richard I assume that you'll be following this up. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14953

[issue14734] Use binascii.b2a_qp/a2b_qp in email package header handling?

2014-07-02 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14734 ___ ___

[issue15549] openssl version in windows builds does not support renegotiation

2014-07-02 Thread Mark Lawrence
Mark Lawrence added the comment: @Cory the latest version of openssl is 1.0.1g for Python 2.7.7. Please see PEP 466 and issue 21462 -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15549

[issue21890] wsgiref.simple_server doesn't accept empty bytes before start_response is called

2014-07-02 Thread Robin Schoonover
Robin Schoonover added the comment: Fair enough, I misled myself. However, and I feel like I'm getting really picky here, but it still doesn't fulfill the paragraph I quoted: def application(environ, start_response): start_response('200 OK', [('Content-type',

[issue8631] subprocess.Popen.communicate(...) hangs on Windows

2014-07-02 Thread akira
akira added the comment: ID s.check_output(pyflakes c:\programs\python34\lib\turtle.py) hangs indefinitely, no output It might be unrelated to the issue but \t is a tab; a raw-string literal should be used instead: from subprocess import check_output check_output(rpyflakes

[issue11776] Constructor signatures missing in types module documentation

2014-07-02 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: -techtonik versions: +Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11776 ___

[issue16566] Structure._anonymous_ should not allow strings

2014-07-02 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16566 ___

[issue16095] urllib2 failing with squid proxy and digest authentication

2014-07-02 Thread Pietro Battiston
Pietro Battiston added the comment: The bug is still present in 2.7.7 and 3.4.1. By the way, under python 3 the workaround takes the form class MyHTTPPasswordMgr(urllib.request.HTTPPasswordMgr): def find_user_password(self, realm, authuri): return a, b Finally, notice the wrong

[issue19066] os.execv fails with spaced names on Windows

2014-07-02 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19066 ___

[issue21890] wsgiref.simple_server doesn't accept empty bytes before start_response is called

2014-07-02 Thread PJ Eby
PJ Eby added the comment: You're right, it shouldn't send the headers until a non-empty string occurs. I don't see any problem with treating it as a bug, and fixing it. Your patch will also allow non-compliant behavior, though. It seems to me it would be better to fix the logic in write() to

[issue19024] Document asterisk (*), splat or star operator

2014-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have started indexing symbol uses on other issue and will continue after GSOC. I am closing this as there is nothing specific to do. -- resolution: - wont fix stage: needs patch - resolved status: open - closed

[issue21090] File read silently stops after EIO I/O error

2014-07-02 Thread STINNER Victor
STINNER Victor added the comment: For Python 2, file.read() looks wrong: if only checks ferror() if fread() returns 0, whereas Py_UniversalNewlineFread() can call fread() more than once, and according to fread() manual page, fread() result can be different than 0 on error. If an error

[issue11389] unittest: no way to control verbosity of doctests from cmd

2014-07-02 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - duplicate stage: - resolved status: open - closed superseder: - TextTestRunner methods are not documented ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11389

[issue8631] subprocess.Popen.communicate(...) hangs on Windows

2014-07-02 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8631 ___ ___ Python-bugs-list

[issue21897] frame.f_locals causes segfault on Python =3.4.1

2014-07-02 Thread Masami HIRATA
Masami HIRATA added the comment: Thanks, pitrou. Your patch seems ok to me. $ python3.4.1_with_patch -m unittest . -- Ran 1 test in 0.001s It seems that this issue is same as

[issue21897] frame.f_locals causes segfault on Python =3.4.1

2014-07-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch with tests. -- keywords: +patch nosy: +benjamin.peterson stage: - patch review versions: +Python 3.5 Added file: http://bugs.python.org/file35834/f_locals_clear.patch ___ Python tracker

[issue21890] wsgiref.simple_server sends headers on empty bytes

2014-07-02 Thread Robin Schoonover
Robin Schoonover added the comment: I agree, the current patch is too permissive. Both a server I wrote a while ago, and most other complaint servers deal with the problem the exact same way as that patch, and that extra permissiveness led to my misinterpretation when analyzing why I had made

[issue2057] difflib: add patch capability

2014-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would like a simple patcher for three reasons. 1. hg, at least as I see it exposed through tortoisehg workbenck, will not apply a patch if there is already an uncommitted change. (But perhaps someone will tell me that there is a 'do it anyway' option.)

[issue8631] subprocess.Popen.communicate(...) hangs on Windows

2014-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: That has been pointed out to me. I need to repost with the results after correcting the commands (there is still a problem). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8631

[issue18099] wsgiref sets Content-Length: 0 on 304 Not Modified

2014-07-02 Thread Florent Xicluna
Florent Xicluna added the comment: The patch proposed by Christian addresses the issue. Good to merge. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18099 ___

[issue7423] nested generator expression produces strange results

2014-07-02 Thread Steve Holden
Steve Holden added the comment: In my experience the devs are pretty well in touch with the user base (though they don't always acknowledge its input). If you leave a programming language at the first sign of wart I fear yo may eventually run out of languages. -- nosy: +holdenweb

[issue21890] wsgiref.simple_server sends headers on empty bytes

2014-07-02 Thread Robin Schoonover
Changes by Robin Schoonover ro...@cornhooves.org: Added file: http://bugs.python.org/file35836/wsgiref-empty-byte-3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21890 ___

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

2014-07-02 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- assignee: - berker.peksag versions: -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21755 ___

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

2014-07-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset b88525a8c01d by Berker Peksag in branch 'default': Issue #21755: Skip {Frozen,Source}_DeadlockAvoidanceTests tests when http://hg.python.org/cpython/rev/b88525a8c01d -- nosy: +python-dev ___ Python

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

2014-07-02 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21755 ___

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

2014-07-02 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21755 ___ ___

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2014-07-02 Thread Som Veettil
Som Veettil added the comment: i had similar issue with python 2.7.. works fine with fix provided by vijay (luckycusp) msg107935 - (view) - http://bugs.python.org/msg107935 thanks a lot. -- nosy: +som_veettil ___ Python tracker

  1   2   >