[issue26284] Fix telco benchmark

2016-08-30 Thread Stefan Krah
Stefan Krah added the comment: Wow, on my machine this is very stable, great. The output should be like http://www.bytereef.org/software/mpdecimal/benchmarks/telco.py , but printing one number only should be okay. The important thing is that some decimal is printed at all to test the forma

[issue26439] ctypes.util.find_library fails when ldconfig/glibc not available (e.g., AIX)

2016-08-30 Thread Michael Felt
Michael Felt added the comment: On 27-Aug-16 09:11, Martin Panter wrote: > Martin Panter added the comment: > > The documentation is in RST format in the Doc/ directory. For basic stuff, > you can just copy the syntax from existing text, or see e.g. >

[issue17642] IDLE add font resizing hot keys and wheel

2016-08-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset f478f9b88319 by Terry Jan Reedy in branch '2.7': Issue #17642: add larger font sizes for classroom projection. https://hg.python.org/cpython/rev/f478f9b88319 New changeset c9d59e6cc1e4 by Terry Jan Reedy in branch 'default': Issue #17642: add larger

[issue17642] IDLE add font resizing hot keys and wheel

2016-08-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I intend to backport the simple list expansion to 3.5. Key or wheel patches will probably be 3.6 only. -- ___ Python tracker ___ _

[issue27893] email.parser.BytesParser.parsebytes docs fix

2016-08-30 Thread R. David Murray
R. David Murray added the comment: Yeah, and it should probably remain so at this point. It's not even completely wrong; from an email perspective it is text. It should also say "equivalent", not "precisely equivalent", since BytesIO is not in fact involved in the implementation. --

[issue27901] inspect.ismethod returns different results on the same basic code between Python2.7 Python3.5

2016-08-30 Thread Steven D'Aprano
Steven D'Aprano added the comment: > I do think that the documentation could be a lot clearer. Which specific documentation are you referring to? The "What's New" document from 3.0? That's a historical document, a snapshot of the past. If you have a concern about the current documentation, can

[issue22450] urllib doesn't put Accept: */* in the headers

2016-08-30 Thread Martin Panter
Martin Panter added the comment: “Proxy servers such as NGinx and Varnish: . . . if the Accept header is omitted, the proxy cache can return any of the cached responses.” This is not really my area of expertise, but this behaviour is inconsistent with my understanding of how Accept and Vary ar

[issue22233] http.client splits headers on non-\r\n characters

2016-08-30 Thread Clay Gerrard
Clay Gerrard added the comment: BUMP. ;) This issue was recently raised as one blocker to OpenStack Object Storage (Swift) finishing our port to python3 (we're hoping to finish adding support >=3.5 by Spring '17 - /me crosses fingers). I wonder if someone might confirm or deny the attached pa

[issue27901] inspect.ismethod returns different results on the same basic code between Python2.7 Python3.5

2016-08-30 Thread R. David Murray
R. David Murray added the comment: The docs do not so much assume you know what the library does, as they assume you know how python3 works. Which is to say, that bound methods are obtained from instances and that functions defined on a class are functions. That's documented in the data mode

[issue27901] inspect.ismethod returns different results on the same basic code between Python2.7 Python3.5

2016-08-30 Thread R. David Murray
R. David Murray added the comment: Perhaps we could add a cross link from 'bound method' to the 'instance methods' section of the data model docs. -- ___ Python tracker ___

[issue27893] email.parser.BytesParser.parsebytes docs fix

2016-08-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset b8dd9ae08a91 by R David Murray in branch '3.5': #27893: arg name and bytes references in email.parser docs. https://hg.python.org/cpython/rev/b8dd9ae08a91 New changeset 059f9f518834 by R David Murray in branch 'default': Merge #27893: arg name and b

[issue27893] email.parser.BytesParser.parsebytes docs fix

2016-08-30 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue27901] inspect.ismethod returns different results on the same basic code between Python2.7 Python3.5

2016-08-30 Thread Anthony Flury
Anthony Flury added the comment: Assuming the reader knows the details of how Python works is not a great assumption when those documents are being used (by the most part) by people like me who are reasonable developers but who don't know, and for most cases don't care about the internals of P

[issue22233] http.client splits headers on non-\r\n characters

2016-08-30 Thread Martin Panter
Martin Panter added the comment: If someone reviews my patch and thinks it is fine, I might commit it. Maybe I can just re-review it myself, now that I have forgotten all the details :) If messing with the email package is a problem (performance, or compatibility), another option is to keep th

[issue27906] Socket accept exhaustion during high TCP traffic

2016-08-30 Thread kevinconway
New submission from kevinconway: My organization noticed this issue after launching several asyncio services that would receive either a sustained high number of incoming connections or regular bursts of traffic. Our monitoring showed a loss of between 4% and 6% of all incoming requests. On th

[issue27906] Socket accept exhaustion during high TCP traffic

2016-08-30 Thread kevinconway
kevinconway added the comment: Attaching the patch file -- keywords: +patch Added file: http://bugs.python.org/file44287/multi-accept.patch ___ Python tracker ___ ___

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2016-08-30 Thread Ned Deily
Changes by Ned Deily : -- nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue22233] http.client splits headers on non-\r\n characters

2016-08-30 Thread Doug Hellmann
Changes by Doug Hellmann : -- nosy: +doughellmann ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue27906] Socket accept exhaustion during high TCP traffic

2016-08-30 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks -- IIRC this was even brought up during asyncio's early implementation phase, but we didn't have enough experience to warrant the extra logic. It seems like now is the time to do this! I hope you won't need it for 3.4, because that version is out of s

[issue27906] Socket accept exhaustion during high TCP traffic

2016-08-30 Thread kevinconway
kevinconway added the comment: I'll dig into the existing asyncio unit tests and see what I can come up with. I'm not sure, yet, exactly what I might test for. The variables involved with reproducing the error are mostly environmental. CPU speed of the host, amount of CPU bound work happening

[issue27906] Socket accept exhaustion during high TCP traffic

2016-08-30 Thread Guido van Rossum
Guido van Rossum added the comment: Yeah, the tests are often full of mocks, and I trust that the test suite you wrote verifies that this fixes the problem. The unit tests are more to ensure that future changes to the code won't accidentally break the code you wrote (which is why we should really

[issue27891] Consistently group and sort imports within idlelib modules.

2016-08-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Patch 2 has minor revisions to hyperparser, mainmenu, pyshell, and adds material to README.txt. -- Added file: http://bugs.python.org/file44288/import-27891-2.diff ___ Python tracker

[issue27867] various issues due to misuse of PySlice_GetIndicesEx

2016-08-30 Thread Nick Coghlan
Nick Coghlan added the comment: Nice! The one thing I would suggest double checking with this change is whether or not we have test cases covering ranges with lengths that don't fit into ssize_t. It's been years since I looked at that code, so I don't remember exactly how it currently works, b

[issue27906] Socket accept exhaustion during high TCP traffic

2016-08-30 Thread kevinconway
kevinconway added the comment: I've added a unit test to the patch that asserts sock.accept() is called the appropriate number of times. Worth a note, I had to adjust one of the existing tests to account for the new backlog argument. There is a default value for the argument to preserve backw

[issue27895] Spelling fixes

2016-08-30 Thread Martin Panter
Martin Panter added the comment: Be careful with user-visible changes to the code, like the _encoded_EMTPY attribute (Issue 27630). I wouldn’t backport that. -- nosy: +martin.panter versions: +Python 3.6 ___ Python tracker

[issue27630] Generator._encoded_EMTPY misspelling in email package

2016-08-30 Thread Martin Panter
Martin Panter added the comment: FYI in 3.6 the spelling has been changed to _EMPTY (Issue 27895) -- ___ Python tracker ___ ___ Python

[issue1602] windows console doesn't print or input Unicode

2016-08-30 Thread Steve Dower
Steve Dower added the comment: New patch attached (1602_2.patch - hopefully the review will work this time too). I discovered while researching for the PEP that a decent amount of code expects to be able to write ASCII to sys.stdout.buffer (or sys.stdout.buffer.raw). As my first patch require

[issue27891] Consistently group and sort imports within idlelib modules.

2016-08-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 96ac4cd43a20 by Terry Jan Reedy in branch 'default': Issue #27891: Consistently group and sort imports within idlelib modules. https://hg.python.org/cpython/rev/96ac4cd43a20 -- nosy: +python-dev ___ Pytho

[issue27891] Consistently group and sort imports within idlelib modules.

2016-08-30 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue27895] Spelling fixes

2016-08-30 Thread SilentGhost
Changes by SilentGhost : -- stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue27904] Let logging format more messages on demand

2016-08-30 Thread SilentGhost
Changes by SilentGhost : -- nosy: +vinay.sajip stage: -> patch review versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-li

[issue27907] Misspelled variable in test_asyncio/test_events

2016-08-30 Thread Ville Skyttä
New submission from Ville Skyttä: Simply renaming the variable breaks the test which is why it was left out of #27895, this one keeps the test working. -- files: reponse.patch keywords: patch messages: 274001 nosy: scop priority: normal severity: normal status: open title: Misspelled va

[issue27895] Spelling fixes

2016-08-30 Thread Ville Skyttä
Ville Skyttä added the comment: @rhettinger, the test_asyncio thing I mentioned is now taken care of in #27907. -- ___ Python tracker ___

<    1   2