[issue24810] UX mode for IDLE targeted to 'new learners'

2016-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not going to go anywhere for the present. -- assignee: -> terry.reedy resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue27173] Modern Unix key bindings for IDLE

2016-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I don't understand > idle_modern_unix_key_set3.patch effectively fixes [the bug]. That is the patch that generated the exception I posted. I look forward to contributions to improving the dialog. Redoing the font tab is #24776. The highlight tab is #24781.

[issue27242] Make the docs for NotImplemented & NotImplementedError unambigous

2016-06-06 Thread Emanuel Barry
Emanuel Barry added the comment: New patch with small tweaks. Thanks Jelle for the comments! -- Added file: http://bugs.python.org/file43273/NotImplemented_exceptions_wording_3.patch ___ Python tracker

[issue27238] Bare except: usages in turtle.py

2016-06-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Brett and Martin. Jelle, I think it would be safer to use "except Exception" here. "except (TypeError, ValueError):" is not enough. -- ___ Python tracker

[issue27246] Keyboard Shortcuts Crash Idle

2016-06-06 Thread Emanuel Barry
Emanuel Barry added the comment: Your report was already addressed in #27192, and the solution to your problem was given by Ned Deily. If you are still experiencing crashes with the official python.org version, please specify so. In the meantime, I'm closing this off as duplicate. --

[issue27173] Modern Unix key bindings for IDLE

2016-06-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: After applying this patch I'm going to redesign Highlighting and Keys tabs in the Settings dialog. -- ___ Python tracker

[issue27246] Keyboard Shortcuts Crash Idle

2016-06-06 Thread Harrison Chudleigh
New submission from Harrison Chudleigh: When pressing Alt-E, Alt-I, Alt-N and Alt-U to create special characters in IDLE (the diacritics ´,ˆ,˜and¨) the program crashed. -- components: IDLE messages: 267590 nosy: Harrison Chudleigh priority: normal severity: normal status: open title:

[issue27242] Make the docs for NotImplemented & NotImplementedError unambigous

2016-06-06 Thread Emanuel Barry
Emanuel Barry added the comment: Added further notes to `NotImplemented` and `NotImplementedError` to clearly state the differences between the two. I also added some more details to `TypeError` - I'm amazed at how little was described for such a common exception! Maybe I explained a bit too

[issue27173] Modern Unix key bindings for IDLE

2016-06-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm aware of the bug with deleting current key set. idle_modern_unix_key_set3.patch effectively fixes it. -- ___ Python tracker

[issue5124] IDLE - pasting text doesn't delete selection

2016-06-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it is better to fix this in all versions unconditionally. This simple workaround is good enough for IDLE, but if add it as a part of Tkinter, it should be much more complex. I prefer to provide this as a recipe at

[issue26415] Fragmentation of the heap memory in the Python parser

2016-06-06 Thread Benjamin Peterson
Benjamin Peterson added the comment: It seems to me a simpler solution would be allocate all nodes for a parse tree in an arena. -- ___ Python tracker

[issue27127] Never have GET_ITER not followed by FOR_ITER

2016-06-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What if generate following code? GET_ITER JUMP_FORWARD L2 L1: # ... L2: FOR_ITER L1 This saves one jump instruction per iteration. Next, we can merge GET_ITER+JUMP_FORWARD in one FOR_BEGIN instruction for regular loops. Generators will

[issue27127] Never have GET_ITER not followed by FOR_ITER

2016-06-06 Thread Demur Rumed
Changes by Demur Rumed : Added file: http://bugs.python.org/file43271/forbegin2.patch ___ Python tracker ___

[issue27227] argparse fails to parse [] when using choices and nargs='*'

2016-06-06 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> needs patch versions: -Python 3.4 ___ Python tracker ___

[issue27127] Never have GET_ITER not followed by FOR_ITER

2016-06-06 Thread Demur Rumed
Changes by Demur Rumed : Removed file: http://bugs.python.org/file43270/forbegin2.patch ___ Python tracker ___

[issue27127] Never have GET_ITER not followed by FOR_ITER

2016-06-06 Thread Demur Rumed
Demur Rumed added the comment: Attached is a patch which fixes test_sys_settrace & test_pdb & test_trace. Still failing is test_genexps. I'm unsure the best way to fix this one: 1. Allow generator expressions to defer type errors about non iterables until the initial call to next 2. Create a

[issue19234] socket.fileno() documentation

2016-06-06 Thread Berker Peksag
Changes by Berker Peksag : -- stage: patch review -> resolved ___ Python tracker ___

[issue7949] IDLE: problems with dark GTK or KDE color schemes

2016-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Use of ttk got delayed for back-compatibility issues. We should be clear to start in a week. -- versions: -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue27173] Modern Unix key bindings for IDLE

2016-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I looked at _set3 and it looks plausible and possibly complete other than testing. I added something about testing customizations to #27099. This applied cleanly to 3.6. 3.6 started, dialog opened, new key set selected, dialog closed, config-main.cfg looks

[issue27245] IDLE: Fix deletion of custom themes and key bindings

2016-06-06 Thread Terry J. Reedy
New submission from Terry J. Reedy: Open IDLE by running from console or importing idlelib.idle in interactive Python window. In the IDLE Preferences dialog, create a new custom theme or key set. [Apply] or close with [OK]. Reopen, if necessary, select the new custom set as current, select

[issue27229] In tree cross-build fails copying Include/graminit.h to itself

2016-06-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset ec214654708f by Martin Panter in branch '2.7': Issue #27229: Comment in middle of shell command fails on BSD and OS X https://hg.python.org/cpython/rev/ec214654708f New changeset de5b85f96266 by Martin Panter in branch '3.5': Issue #27229: Comment

[issue27243] __aiter__ should return async iterator instead of awaitable

2016-06-06 Thread Nick Coghlan
Nick Coghlan added the comment: Yury's proposal sounds good to me - I'll have time to do a proper review tomorrow (at a quick glance, my one suggestion is to move the if statement outside the example decorator, so the decorator is defined differently based on the Python version, rather than

[issue5124] IDLE - pasting text doesn't delete selection

2016-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I can't test but I looked at the patch. It uses the new-to-me fact that bound 'functions' can be tcl code in a string. For me, root.bind_class('Text', '<>') returns the code string '\ntk_textPaste %W\n'. Options for the patch: 0. Do nothing. 1. 3.6 as

[issue27229] In tree cross-build fails copying Include/graminit.h to itself

2016-06-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 619f7a2aa40a by Martin Panter in branch '3.5': Issue #27229: Fix in-tree cross-build rule, by Xavier de Gaye https://hg.python.org/cpython/rev/619f7a2aa40a New changeset 9902230b101f by Martin Panter in branch 'default': Issue #27229: Merge

[issue27099] IDLE: turn builting extensions into regular modules

2016-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: The final paragraph of my initial post should have talked about config-main and features, rather than keys. The following experiment indicates that adding new sections to config-main.def and customizations thereof to config-main.cfg should not be a problem.

[issue27188] sqlite3 execute* methods return value not documented

2016-06-06 Thread Dave Sawyer
Dave Sawyer added the comment: No problem. I did a pull and reposted with additional fixes suggested by Berker and one copy/paste error I spotted. On Sat, Jun 4, 2016 at 11:34 PM, SilentGhost wrote: > > SilentGhost added the comment: > > Thanks for the patch, Dave. For

[issue27188] sqlite3 execute* methods return value not documented

2016-06-06 Thread Dave Sawyer
Dave Sawyer added the comment: Updated optional parameters. Fixed executescript which takes a single parameter. The English is correct - one needs to looks at the verbs to be sure they match in tense and number. Like "He OPENS the fridge, GRABS the milk, and DRINKS it." This method CREATES a

[issue27243] __aiter__ should return async iterator instead of awaitable

2016-06-06 Thread Yury Selivanov
Yury Selivanov added the comment: Updated patch (fix_aiter2.patch) -- Added file: http://bugs.python.org/file43268/fix_aiter2.patch ___ Python tracker

[issue26839] Python 3.5 running on Linux kernel 3.17+ can block at startup or on importing the random module on getrandom()

2016-06-06 Thread Colm Buckley
Colm Buckley added the comment: @larry Short version; I'm not set up on HG and don't have enough time to get there from here. The patch I submitted applies cleanly to the HG tip as of 15 minutes ago (rev 101768) with only offset changes; the attached v4 version includes the necessary offset

[issue27238] Bare except: usages in turtle.py

2016-06-06 Thread Martin Panter
Martin Panter added the comment: The documentation says __file__ can be missing. It is missing for builtin modules (e.g. sys) and frozen modules (e.g. __hello__). -- nosy: +martin.panter ___ Python tracker

[issue27243] __aiter__ should return async iterator instead of awaitable

2016-06-06 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: -haypo ___ Python tracker ___ ___

[issue26467] Add async magic method support to unittest.mock.Mock

2016-06-06 Thread Brett Cannon
Brett Cannon added the comment: There's also __aiter__, but it's semantics might be changing (issue #27243). Robert or Michael, any opinions on Yusuke's proposal? -- nosy: +rbcollins ___ Python tracker

[issue27242] Clarify the use cases of NotImplemented in the docs

2016-06-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: It would be nice to also clarify and differentiate NotImplementedError as well. -- nosy: +rhettinger ___ Python tracker

[issue27242] Clarify the use cases of NotImplemented in the docs

2016-06-06 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___

[issue27242] Clarify the use cases of NotImplemented in the docs

2016-06-06 Thread Guido van Rossum
Guido van Rossum added the comment: LGTM -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list

[issue20210] Provide configure options to enable/disable Python modules and extensions

2016-06-06 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Just found this ticket and apparently late to the game... Some comments: It is already possible to selectively build Python C extension modules in the stdlib via editing the Modules/Setup file and this is a lot better to maintain than a long list of

[issue27243] __aiter__ should return async iterator instead of awaitable

2016-06-06 Thread Yury Selivanov
Yury Selivanov added the comment: > Can you guys get this solid and checked in before then? Will do my best. I'll update the patch soon with some code comments and docs. -- ___ Python tracker

[issue27239] Make idlelib.macosx self-contained.

2016-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Here is a post-import patch with tests. -- keywords: +patch stage: test needed -> patch review Added file: http://bugs.python.org/file43266/macosx-contained.diff ___ Python tracker

[issue27243] __aiter__ should return async iterator instead of awaitable

2016-06-06 Thread Larry Hastings
Larry Hastings added the comment: Okay. I'm hoping to not delay 3.5.2 RC1, and the schedule calls for me to tag the release Saturday afternoon. Can you guys get this solid and checked in before then? -- ___ Python tracker

[issue27238] Bare except: usages in turtle.py

2016-06-06 Thread Brett Cannon
Brett Cannon added the comment: __file__ could be None if __spec__.origin is None. The import machinery doesn't introspect on __file__ for anything, so it won't break import if __file__ has alternative values. In general, though, normal imports will set __file__ to a string. --

[issue27243] __aiter__ should return async iterator instead of awaitable

2016-06-06 Thread Guido van Rossum
Guido van Rossum added the comment: Unless Nick disagrees (or unless we can't figure out how to implement it) I think Yury's proposal makes sense. So if Larry is asking for my fiat, this is it. -- ___ Python tracker

[issue27243] __aiter__ should return async iterator instead of awaitable

2016-06-06 Thread Yury Selivanov
Yury Selivanov added the comment: It's a rather long & conservative process, but it will be easier for people to migrate their code. -- ___ Python tracker

[issue27243] __aiter__ should return async iterator instead of awaitable

2016-06-06 Thread Yury Selivanov
Yury Selivanov added the comment: > While I agree this needs to be fixed, one key piece of documentation needed > will be to cover how to write an __aiter__ method that does the right thing > on both 3.5.1 and 3.5.2+ (and also avoids the deprecation warning in the > latter case). Oh, this is

[issue25602] Add support for EVFILT_USER kqueue filter

2016-06-06 Thread William Grzybowski
William Grzybowski added the comment: I have bumped into this issue as well. This change would be much appreciate on my end. What can we do to move the ball forward here? Thanks! -- nosy: +wg ___ Python tracker

[issue27243] __aiter__ should return async iterator instead of awaitable

2016-06-06 Thread Larry Hastings
Larry Hastings added the comment: As RM my default position is naturally "don't change behavior in point releases". I'm willing to be overruled by the BDFL, less so by anybody else. -- ___ Python tracker

[issue27238] Bare except: usages in turtle.py

2016-06-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Brett, can __file__ of imported/executed module be None, bytes or absent in 3.6? Can it be non-str? -- nosy: +brett.cannon ___ Python tracker

[issue20210] Provide configure options to enable/disable Python modules and extensions

2016-06-06 Thread STINNER Victor
STINNER Victor added the comment: Fedora 24 also uses a minimal "system python" to get small cloud image: https://fedoraproject.org/wiki/Changes/System_Python#Benefit_to_Fedora The base package only contains the minimum subset of the stdlib, the full stdlib comes with a second package based on

[issue26839] Python 3.5 running on Linux kernel 3.17+ can block at startup or on importing the random module on getrandom()

2016-06-06 Thread Larry Hastings
Larry Hastings added the comment: > I'm uploading a third version of the patch (against clean 3.5.1 source Not against the 3.5 branch from hg.python.org/cpython ? If not, why not? -- ___ Python tracker

[issue27236] Add CHAINED_COMPARE_OP opcode

2016-06-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your tests Josh. I have collected additional statistics. According to it CHAINED_COMPARE_OP would be used 100 times less than COMPARE_OP. This is not worth adding new opcode. -- resolution: -> rejected stage: patch review -> resolved

[issue27244] print(';;') fails in pdb with SyntaxError

2016-06-06 Thread wim glenn
wim glenn added the comment: Seems to be as documented here: https://docs.python.org/2/library/pdb.html#debugger-commands "No intelligence is applied to separating the commands; the input is split at the first ;; pair, even if it is in the middle of a quoted string." -- nosy:

[issue27243] __aiter__ should return async iterator instead of awaitable

2016-06-06 Thread Nick Coghlan
Nick Coghlan added the comment: Since the old behaviour is only deprecated with Yury's changes, rather than disallowed entirely, I think it makes sense to provide a 3.5.x version that also supports the new behaviour. In addition to my docs comment above, the other thing I noticed in reviewing

[issue26839] Python 3.5 running on Linux kernel 3.17+ can block at startup or on importing the random module on getrandom()

2016-06-06 Thread Colm Buckley
Colm Buckley added the comment: @larry - Thank you for joining in. I'm uploading a third version of the patch (against clean 3.5.1 source, with correct whitespace and a less confusing comment) which implements the following: * configure.ac / pyconfig.h.in : looks for linux/random.h and sets

[issue27244] print(';;') fails in pdb with SyntaxError

2016-06-06 Thread Chris Withers
New submission from Chris Withers: This doesn't seem right: (Pdb) ';;' *** SyntaxError: EOL while scanning string literal *** SyntaxError: EOL while scanning string literal (Pdb) p ';;' *** SyntaxError: EOL while scanning string literal *** SyntaxError: EOL while scanning string literal (Pdb)

[issue27243] __aiter__ should return async iterator instead of awaitable

2016-06-06 Thread Guido van Rossum
Guido van Rossum added the comment: Would it be easier to handle for everyone if this did not vary between 3.5.0/1 and 3.5.2, and instead was an incompatibility in 3.6? (That would still be allowed given 492's provisional status.) -- nosy: +ned.deily

[issue27243] __aiter__ should return async iterator instead of awaitable

2016-06-06 Thread Nick Coghlan
Nick Coghlan added the comment: While I agree this needs to be fixed, one key piece of documentation needed will be to cover how to write an __aiter__ method that does the right thing on both 3.5.1 and 3.5.2+ (and also avoids the deprecation warning in the latter case). (I've also added

[issue26839] Python 3.5 running on Linux kernel 3.17+ can block at startup or on importing the random module on getrandom()

2016-06-06 Thread Larry Hastings
Larry Hastings added the comment: Speaking as the 3.5 RM, I suppose I have to have an opinion. I don't think "Python now uses a better source of randomness to seed the random module at startup" is a major feature. It's a nice-to-have, not a must-have. And people who care about good

[issue20210] Provide configure options to enable/disable Python modules and extensions

2016-06-06 Thread Thomas Petazzoni
Thomas Petazzoni added the comment: Hello, On Sat, 04 Jun 2016 23:33:00 +, Matthias Klose wrote: > fyi, this came up again at the 2016 Language Summit, the request here > was to provide some minimal packages which are just enough to run a > cloud image (the cloud-init package requires a

[issue27243] __aiter__ should return async iterator instead of awaitable

2016-06-06 Thread Yury Selivanov
New submission from Yury Selivanov: There is a small flaw in PEP 492 design -- __aiter__ should not return an awaitable object that resolves to an asynchronous iterator. It should return an asynchronous iterator directly. Let me explain this by showing some examples. I've discovered this

[issue27242] Clarify the use cases of NotImplemented in the docs

2016-06-06 Thread Emanuel Barry
New submission from Emanuel Barry: The NotImplemented docs aren't explicit enough when it comes to where it can/should be used. Patch attached. -- assignee: docs@python components: Documentation files: NotImplemented_wording_1.patch keywords: patch messages: 267543 nosy: docs@python,

[issue27241] Catch exceptions raised in pstats add (repl)

2016-06-06 Thread SilentGhost
Changes by SilentGhost : -- nosy: +georg.brandl stage: -> patch review ___ Python tracker ___

[issue27241] Catch exceptions raised in pstats add (repl)

2016-06-06 Thread Joe Jevnik
New submission from Joe Jevnik: I was trying to add a file and accidently mistyped the name which crashed the repl session. I think it would be nicer to report the failure but bring me back to the prompt so I can decide what I would like to do. This patch catches any IOErrors that can be

[issue27236] Add CHAINED_COMPARE_OP opcode

2016-06-06 Thread Josh Rosenberg
Josh Rosenberg added the comment: It is a little funny though. I expect a more common test like: if a < b < c: pass to be unconditionally faster than the logically equivalent: if a < b and b < c: pass The only difference between the two should be that b is loaded only once, which should

[issue22558] Missing doc links to source code for Python-coded modules.

2016-06-06 Thread Nathan Harold
Nathan Harold added the comment: I went over the sections I above called "Other/Smaller details" as addressed in mywork3.patch. I think they look fine. The patch applies seamlessly to both 3.5 and 3.6. For reference, since I noted them when I reviewed mywork2.patch last week, here are the

[issue26839] Python 3.5 running on Linux kernel 3.17+ can block at startup or on importing the random module on getrandom()

2016-06-06 Thread Stefan Krah
Stefan Krah added the comment: I think such warnings should be emitted at application level, similar to the case when a program refuses to run under UID 0. If admins wish, they can also integrate such checks into the system startup sequence (e.g. runlevel 3 is only reached if randomness is

[issue27101] Compilation of python (modules) for foreign target platform problem.

2016-06-06 Thread Petr Ovtchenkov
Petr Ovtchenkov added the comment: This mean that code for search in /usr/include/... in multiarch environment was added by you in commit fc1903166 2012-09-21 13:52:29 +0200, so in my suggestion I just don't change behaviour of you code. As for my opinion, any additions of -I/usr/include/...

[issue26839] Python 3.5 running on Linux kernel 3.17+ can block at startup or on importing the random module on getrandom()

2016-06-06 Thread Antti Haapala
Antti Haapala added the comment: I don't think setting environment variables is a solution, as it is not always clear which script occurs early in the boot process, or even that which program has components written in Python. However I'd want to be notified of failure as well, perhaps a

[issue26415] Fragmentation of the heap memory in the Python parser

2016-06-06 Thread A. Skrobov
A. Skrobov added the comment: Now that #26526 landed (thanks to everybody involved!), I'm requesting a review on an updated version of my patch, which addresses the excessive memory consumption by the parser. The description of my original patch still applies: > The attached patch for the

[issue27173] Modern Unix key bindings for IDLE

2016-06-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue5124] IDLE - pasting text doesn't delete selection

2016-06-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue27101] Compilation of python (modules) for foreign target platform problem.

2016-06-06 Thread Matthias Klose
Matthias Klose added the comment: sorry, I don't understand your last comment. -- ___ Python tracker ___ ___

[issue27238] Bare except: usages in turtle.py

2016-06-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: -> patch review type: -> enhancement ___ Python tracker ___

[issue27233] Missing documentation for PyOS_FSPath

2016-06-06 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Thanks for the comments here and in Rietveld. This patch adds versionadded and an extra space. -- Added file: http://bugs.python.org/file43260/issue27233-cr.patch ___ Python tracker

[issue27231] Support the fspath protocol in the posixpath module

2016-06-06 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: I wrote the patch assuming that the error messages would be changed in accordance with issue27232. Let's put this on hold until that is resolved. -- dependencies: +os.fspath() should not use repr() on error ___

[issue17797] Visual C++ 11.0 reports fileno(stdin) == 0 for non-console program

2016-06-06 Thread Sophie
Sophie added the comment: In case someone else need it, here is a patch for python 3.5.0b1 -- nosy: +Sopouic versions: +Python 3.5 -Python 3.2, Python 3.3, Python 3.4 Added file: http://bugs.python.org/file43259/python-3.5.0b1-fdvalidation.patch ___

[issue27232] os.fspath() should not use repr() on error

2016-06-06 Thread Jelle Zijlstra
Changes by Jelle Zijlstra : -- resolution: not a bug -> status: closed -> open ___ Python tracker ___

[issue27232] os.fspath() should not use repr() on error

2016-06-06 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: No, that issue just adds the address to the repr() of types. It is not normal to use repr for type objects in error messages: >>> int(None) Traceback (most recent call last): File "", line 1, in TypeError: int() argument must be a string, a bytes-like

[issue27238] Bare except: usages in turtle.py

2016-06-06 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: This patch removes all usages of "except:" in turtle.py. The tests in test_turtle.py and turtle.rst still work. -- keywords: +patch Added file: http://bugs.python.org/file43258/issue27238.patch ___ Python tracker

[issue17004] Expand zipimport to include other compression methods

2016-06-06 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: +1 for that. I like XZ support so that our application size can be reduced. -- nosy: +Chi Hsuan Yen ___ Python tracker

[issue26839] Python 3.5 running on Linux kernel 3.17+ can block at startup or on importing the random module on getrandom()

2016-06-06 Thread Марк Коренберг
Changes by Марк Коренберг : -- nosy: -mmarkk ___ Python tracker ___ ___

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2016-06-06 Thread SilentGhost
Changes by SilentGhost : -- stage: -> needs patch type: -> behavior versions: -Python 3.2, Python 3.3, Python 3.4 ___ Python tracker

[issue25738] http.server doesn't handle RESET CONTENT status correctly

2016-06-06 Thread Martin Panter
Martin Panter added the comment: Thanks Susumu, I think the logic is right this time. I left some new suggestions for the tests, if you want to take them on or not, that’s up to you. -- ___ Python tracker

[issue27240] 'UnstructuredTokenList' object has no attribute '_fold_as_ew'

2016-06-06 Thread Leblond Emmanuel
New submission from Leblond Emmanuel: The folding code for email headers crashes whenever it hits line _header_value_parser.py:432 given it try to call method `_fold_as_ew`. ``` (venv)➜ vigiechiro-api git:(in2p3) ✗ python test_mail.py Traceback (most recent call last): File

[issue26983] float() can return not exact float instance

2016-06-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: My failure. Thank you for your report and patch SilentGhost. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue26983] float() can return not exact float instance

2016-06-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6216fb8afa53 by Serhiy Storchaka in branch 'default': Issue #26983: Fixed test_format failure. https://hg.python.org/cpython/rev/6216fb8afa53 -- ___ Python tracker

[issue27235] Heap overflow occurred due to the int overflow (Python-2.7.11/Modules/posixmodule.c)

2016-06-06 Thread Xiang Zhang
Xiang Zhang added the comment: I am confused why this could happen. On x86 platform, you can not even create a string of size 0x. On x64 platform, I don't think strlen(s) + 3 can lead to overflow where s is of size Py_ssize_t. -- ___ Python

[issue27235] Heap overflow occurred due to the int overflow (Python-2.7.11/Modules/posixmodule.c)

2016-06-06 Thread Xiang Zhang
Changes by Xiang Zhang : -- nosy: +xiang.zhang ___ Python tracker ___ ___ Python-bugs-list

[issue25738] http.server doesn't handle RESET CONTENT status correctly

2016-06-06 Thread Mathieu Dupuy
Changes by Mathieu Dupuy : -- nosy: -deronnax ___ Python tracker ___ ___

[issue26983] float() can return not exact float instance

2016-06-06 Thread SilentGhost
SilentGhost added the comment: test_format resulted in semi-failure due to this change. The attached patch fixes the issue. -- assignee: -> serhiy.storchaka nosy: +SilentGhost resolution: fixed -> stage: resolved -> commit review status: closed -> open Added file:

[issue26867] test_ssl test_options fails on ubuntu 16.04

2016-06-06 Thread SilentGhost
Changes by SilentGhost : -- nosy: +SilentGhost versions: +Python 3.6 ___ Python tracker ___

[issue27101] Compilation of python (modules) for foreign target platform problem.

2016-06-06 Thread Petr Ovtchenkov
Petr Ovtchenkov added the comment: Matthias, This question is really for you: fc1903166 (doko2012-09-21 13:52:29 +0200 422) if multiarch_path_component != '': fc1903166 (doko2012-09-21 13:52:29 +0200 423)

[issue27232] os.fspath() should not use repr() on error

2016-06-06 Thread SilentGhost
SilentGhost added the comment: This is behaviour introduced by issue 25548, it would make sense to me to discuss this problem there if you think it's necessary. repr in error messages has been a standard approach in Python for a very long time, however. -- nosy: +SilentGhost

[issue27231] Support the fspath protocol in the posixpath module

2016-06-06 Thread SilentGhost
SilentGhost added the comment: There seems to be an issue with your patch, it does apply cleanly when doing that manually, but Rietveld doesn't like it. The changes in Lib/posixpath.py and Lib/test/test_posixpath.py don't show up. -- nosy: +SilentGhost

[issue27168] Comprehensions and await need more unittests

2016-06-06 Thread SilentGhost
Changes by SilentGhost : -- components: +Tests title: Yury isn't sure comprehensions and await interact correctly -> Comprehensions and await need more unittests type: -> behavior ___ Python tracker