[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2015-05-18 Thread Alex Lord
Alex Lord added the comment: Oh, alright. That makes a lot of sense. Sorry for being dense. I should have read the docs on subtest. All lines are under 80 characters and I modified the unit test to use subtest. Thanks for taking the time to walk me through this. -- Added file: http://

[issue18391] socket.fromfd()'s API is difficult or impossible to use correctly in general

2015-05-18 Thread James Tocknell
Changes by James Tocknell : -- nosy: +aragilar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue24117] Wrong range checking in GB18030 decoder.

2015-05-18 Thread Ma Lin
Ma Lin added the comment: >> If you could provide links to the relevant pages/section we can verify that >> the codecs are indeed incorrect. Here is CP950, 0xC6A1 is not in it. https://msdn.microsoft.com/zh-cn/goglobal/cc305155 I can provide one link, but there are many variants of BIG5 conve

[issue20691] inspect.signature: Consider exposing 'follow_wrapper_chains' option in public API

2015-05-18 Thread Nick Coghlan
Nick Coghlan added the comment: I like the idea of the following signature: def signature(callable, *, follow_wrapped=True): ... I'm less convinced about exposing the flag to optionally show the first positional arg for bound methods, as that's currently specific to method objects

[issue24236] TestNG results to Junit results conversion

2015-05-18 Thread Tushar
Changes by Tushar : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue24236] TestNG results to Junit results conversion

2015-05-18 Thread Tushar
New submission from Tushar: This tool/module will perform the TestNG type results to Junit results. This will be applicable for any TestNG result.xml file. -- components: Extension Modules messages: 243557 nosy: tusharm priority: normal severity: normal status: open title: TestNG resul

[issue20691] inspect.signature: Consider exposing 'follow_wrapper_chains' option in public API

2015-05-18 Thread Yury Selivanov
Yury Selivanov added the comment: Nick, what do you think of this one? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue22970] asyncio: Cancelling wait() after notification leaves Condition in an inconsistent state

2015-05-18 Thread Yury Selivanov
Changes by Yury Selivanov : -- priority: normal -> deferred blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24117] Wrong range checking in GB18030 decoder.

2015-05-18 Thread Ma Lin
Ma Lin added the comment: This is not a de-facto standard, it should be fixed. I already posted this infomation on a Taiwan Python community, let's wait their inspection. -- ___ Python tracker

[issue24205] signature.bind error messages are sub-optimal

2015-05-18 Thread Yury Selivanov
Changes by Yury Selivanov : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs

[issue24205] signature.bind error messages are sub-optimal

2015-05-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3cc368d334c5 by Yury Selivanov in branch 'default': Issue 24205: Improve inspect.Signature.bind() error messages. https://hg.python.org/cpython/rev/3cc368d334c5 -- nosy: +python-dev ___ Python tracker

[issue10354] tempfile.template is broken

2015-05-18 Thread R. David Murray
R. David Murray added the comment: Backward compatibility in that someone might be using the constant in their code. You could just leave the existing value there with a comment that it is unused and use a leading _ for the new constants. (Or you could delete it...it's not likely anyone is u

[issue24230] tempfile.mkdtemp() doesn't work with bytes paths

2015-05-18 Thread Gregory P. Smith
Gregory P. Smith added the comment: it seems a little messy to code this up the way Lib/tempfile.py is written but i'll take a stab at it tonight. Probably via parallel implementations of the methods internally rather than conditional logic throughout given how they work. --

[issue24230] tempfile.mkdtemp() doesn't work with bytes paths

2015-05-18 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- assignee: -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mail

[issue10354] tempfile.template is broken

2015-05-18 Thread Gregory P. Smith
Gregory P. Smith added the comment: backwards compatibility with what? i'd like to just remove tempfile.template in 3.5 as part of addressing issue24230. -- nosy: +gregory.p.smith ___ Python tracker _

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

2015-05-18 Thread Aki Sasaki
Changes by Aki Sasaki : -- nosy: +escapewindow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue23377] HTTPResponse may drop buffer holding next response

2015-05-18 Thread Martin Panter
Martin Panter added the comment: Yes I would like someone to review my code changes for this; I don’t think anyone has done so yet. But I don’t consider this a very important bug, so there is no hurry. -- keywords: +needs review ___ Python tracker

[issue13866] {urllib, urllib.parse}.urlencode should not use quote_plus

2015-05-18 Thread Martin Panter
Martin Panter added the comment: Forcing the “quote_via” keyword wouldn’t help that much. I suggest to leave it as it is. urlencode(query, True, "/", "ascii", "strict", quote) urlencode(query, True, "/", "ascii", "strict", quote_via=quote) On the other hand, forcing a keyword for the “doseq=Tr

[issue24205] signature.bind error messages are sub-optimal

2015-05-18 Thread Martin Panter
Martin Panter added the comment: I think the patch is okay. Just beware that next(iter(kwargs)) can return different names if there is more than one unexpected argument, so the error message could vary. But it looks like the test cases are only when there is exactly one extra argument, so no p

[issue19737] Documentation of globals() and locals() should be improved

2015-05-18 Thread Martin Panter
Martin Panter added the comment: Terry’s “dictionary implementing the namespace” version would work for me. -- ___ Python tracker ___

[issue22893] Idle: __future__ does not work in startup code.

2015-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Easy test case using -c: \python_d.exe -m idlelib.idle -c "from __future__ import division; print(1/2)" >>> 0.5 >>> 1/2 0 >>> division _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192) Replace "-m idlelib.idle" with "-i" to get interactive interprete

[issue24232] Speling fixes

2015-05-18 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Ville. -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.4, Python 3.5 ___ Python tracker __

[issue24232] Speling fixes

2015-05-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset fd7ef3972215 by Berker Peksag in branch '3.4': Issue #24232: Fix typos. Patch by Ville Skyttä. https://hg.python.org/cpython/rev/fd7ef3972215 New changeset fc2eed9fc2d0 by Berker Peksag in branch 'default': Issue #24232: Fix typos. Patch by Ville Sk

[issue24233] Link to getfqdn rather than "see above"

2015-05-18 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Ville. -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.4, Python 3.5 ___ Python tracker __

[issue24233] Link to getfqdn rather than "see above"

2015-05-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset f6e7953b5431 by Berker Peksag in branch '3.4': Issue #24233: Add a proper link to socket.getfqdn() documentation. https://hg.python.org/cpython/rev/f6e7953b5431 New changeset 0d6902537062 by Berker Peksag in branch 'default': Issue #24233: Add a pro

[issue5233] IDLE: exec IDLESTARTUP/PYTHONSTARTUP on restart

2015-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Related issue #22893 is about __future__ statements in startup code having effect on future interactive input in the same way as it does with Python itself. I think a pure Shell start/restart (cntl-F6) should be handled separately from a restart that is a side

[issue24235] ABCs don't fail metaclass instantiation

2015-05-18 Thread Devin Jeanpierre
New submission from Devin Jeanpierre: If a subclass has abstract methods, it fails to instantiate... unless it's a metaclass, and then it succeeds. >>> import abc >>> class A(metaclass=abc.ABCMeta): ... @abc.abstractmethod ... def foo(self): pass ... >>> class B(A): pass ... >>> B() T

[issue4709] Mingw-w64 and python on windows x64

2015-05-18 Thread Paul Moore
Paul Moore added the comment: Not at all. Mingw support is important for the scientific community, as I understand it, and I'm willing to help there if I can. That won't be at the cost of other areas I can contribute to, but I consider packaging as much my area of expertise as Windows - and mi

[issue24234] Should we define complex.__complex__ and bytes.__bytes__?

2015-05-18 Thread Guido van Rossum
New submission from Guido van Rossum: The special methods __complex__ and __bytes__ are not present on the corresponding builtin types. Compare this to __int__ and __float__, which do exist on int and float, respectively. Should we add the eponymous methods to complex and bytes? (This came

[issue24233] Link to getfqdn rather than "see above"

2015-05-18 Thread Ville Skyttä
New submission from Ville Skyttä: Would be nice to link to getfqdn() instead of saying "see above" for it in socket.gethostname() docs. -- assignee: docs@python components: Documentation files: getfqdnlink.patch keywords: patch messages: 243537 nosy: docs@python, scop priority: normal s

[issue24232] Speling fixes

2015-05-18 Thread Ville Skyttä
New submission from Ville Skyttä: Various doc spelling fixes in the attached patch. -- assignee: docs@python components: Documentation files: spelling.patch keywords: patch messages: 243536 nosy: docs@python, scop priority: normal severity: normal status: open title: Speling fixes type:

[issue4709] Mingw-w64 and python on windows x64

2015-05-18 Thread Ralf Schmitt
Changes by Ralf Schmitt : -- nosy: -schmir ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue4709] Mingw-w64 and python on windows x64

2015-05-18 Thread Mark Lawrence
Mark Lawrence added the comment: Does this mean scarce Windows resources being diverted off to what I consider a side show? Unless it's categorically stated that mingw is officially supported in which case fine, provided the experts index and everything else associated with official support i

[issue4709] Mingw-w64 and python on windows x64

2015-05-18 Thread R. David Murray
R. David Murray added the comment: Please note that Paul is pretty new to the core team, and is a crossover with the packaging folks (which is mainly where the mingw issues lie). What this means to the mingw community is that with Paul on the core team and willing to work on the support, the

[issue4709] Mingw-w64 and python on windows x64

2015-05-18 Thread Mark Lawrence
Mark Lawrence added the comment: Hunting around I found this on #3871 https://mail.python.org/pipermail/python-dev/2013-January/123774.html. >From #17590 upwards there are perhaps 25 issues with mingw in the title, so >there's certainly work to be done. Please don't look at me, I'm simply not

[issue4709] Mingw-w64 and python on windows x64

2015-05-18 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: For what it's worth I dropped support for mingw32 in psutil for exact the same reasons. As such I cannot imagine how hard could it be to add and maintain support for mingw in a much larger project as Python. -- _

[issue4709] Mingw-w64 and python on windows x64

2015-05-18 Thread Paul Moore
Paul Moore added the comment: Supporting mingw building of extensions has always been a complicated process, mainly because there appear to be many variants of mingw (and in particular, there seem to be multiple 64-bit builds). Add to this the fact that cygwin is sometimes used as a cross-comp

[issue15376] Refactor the test_runpy walk_package support code into a common location

2015-05-18 Thread Christie
Christie added the comment: @BreamoreBoy, it looks like the next step would be to revisit issue15403 and go through the steps outlined by @ncoghlan. -- nosy: +bobcatfish ___ Python tracker

[issue24222] Idle 2.7 -c, -r compile with print as function.

2015-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: This trivial patch fixes a regression I introduced in 2.7.9. It would be nice if you could pull it into the .10 release. (I would not ask if it were not a recent regression.) -- nosy: +benjamin.peterson ___ Python

[issue18576] Document test.support.script_helper

2015-05-18 Thread Christie
Christie added the comment: I'm going to take a look at bringing these docs up to date and including the changes from issue24033. -- nosy: +bobcatfish ___ Python tracker ___ ___

[issue24231] os.makedirs('/', exist_ok=True) fails on Darwin

2015-05-18 Thread Ned Deily
Ned Deily added the comment: It doesn't seem to be true for other mount points; the ones I tried raise FileExistsError. I suppose one could dig into the OS sources. I see that none of the FreeBSD or OS X mkdir man pages nor the POSIX 2013 spec document EISDIR as an expected error from mkdir(

[issue24222] Idle 2.7 -c, -r compile with print as function.

2015-05-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset cebd51686565 by Terry Jan Reedy in branch '2.7': Issue #24222: Fix regression introduced with idlelib/PyShell.py future print https://hg.python.org/cpython/rev/cebd51686565 -- nosy: +python-dev ___ Python

[issue24222] Idle 2.7 -c, -r compile with print as function.

2015-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I added "from __future__ import print_function" to 2.7 PyShell when I backported the bugfix of #22420. The use of print rather than write is part of the fix as print is more fault tolerant. -- resolution: -> fixed stage: needs patch -> resolved statu

[issue15027] Faster UTF-32 encoding

2015-05-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Arfrever. That was copy-pasted old typo. Fixed in 3d5bf6174c4b and bc6ed8360312. -- ___ Python tracker ___

[issue15027] Faster UTF-32 encoding

2015-05-18 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: In Objects/stringlib/codecs.h in 2 comments U+DC800 should be changed into U+D800 (from definition of Py_UNICODE_IS_SURROGATE) or U+DC80 (from result of b"\x80".decode(errors="surrogateescape")). -- ___

[issue24228] Interpreter triggers segmentation fault at the starting

2015-05-18 Thread Ned Deily
Ned Deily added the comment: Try building python with debug on: ./configure --with-pydebug [...] Also, 3.4.2 has been replaced by 3.4.3 which includes the fixes from Issue22653. -- nosy: +ned.deily ___ Python tracker

[issue24229] pathlib.Path should have a copy() method

2015-05-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: File renaming is simple and usually atomic operation. File copying is complex operation. What memory buffer should be used for copying? What to do with growing files or reading with errors? Should file space be preallocated before copyiong to decrease fragme

[issue24231] os.makedirs('/', exist_ok=True) fails on Darwin

2015-05-18 Thread R. David Murray
R. David Murray added the comment: Ah! That's why our tests don't catch it. Is it limited to '/', or is it any (mounted) mount point? -- ___ Python tracker ___

[issue24205] signature.bind error messages are sub-optimal

2015-05-18 Thread Yury Selivanov
Yury Selivanov added the comment: Hi David, Please see the attached patch. It doesn't make Signature.bind() exceptions look exactly like system messages, but it's now much closer. -- keywords: +patch Added file: http://bugs.python.org/file39422/sig_exc.patch ___

[issue24205] signature.bind error messages are sub-optimal

2015-05-18 Thread Yury Selivanov
Changes by Yury Selivanov : -- assignee: -> yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue12319] [http.client] HTTPConnection.putrequest not support "chunked" Transfer-Encodings to send data

2015-05-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: What's the status on this one? It looks like some review comments need addressing. -- ___ Python tracker ___ __

[issue24229] pathlib.Path should have a copy() method

2015-05-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: If copy() has a mandatory argument, it can't really be mixed up with an object-cloning method. -- ___ Python tracker ___ __

[issue23377] HTTPResponse may drop buffer holding next response

2015-05-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Is this pending a review? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24229] pathlib.Path should have a copy() method

2015-05-18 Thread Paul Moore
Paul Moore added the comment: I presume the copy method is intended as a file copy, not for copying the object. But calling the method copy() is likely to be confusing, precisely as happened here :-) -- nosy: +paul.moore ___ Python tracker

[issue22107] tempfile module misinterprets access denied error on Windows

2015-05-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added os.path.isdir(). Could anybody please run tests on Windows? -- Added file: http://bugs.python.org/file39421/tempfile_bad_tempdir_3.patch ___ Python tracker ___

[issue4709] Mingw-w64 and python on windows x64

2015-05-18 Thread Ralf Schmitt
Ralf Schmitt added the comment: Well, the time to fix this would have been six years ago. The python core developers have shown a disinterest to fix problems with gcc on windows for a rather long time. I wouldn't expect this issue to be fixed. -- __

[issue24231] os.makedirs('/', exist_ok=True) fails on Darwin

2015-05-18 Thread Ned Deily
Ned Deily added the comment: This appears to be a BSD-ism: I get the same result on FreeBSD 10 as with OS X 10.10. For whatever reason, mkdir('/') returns IsADirectoryError while mkdir('/other/existing/directory') returns FileExistsError. -- nosy: +ned.deily stage: -> needs patch ver

[issue4709] Mingw-w64 and python on windows x64

2015-05-18 Thread Ismail Donmez
Ismail Donmez added the comment: Still a problem with mingw-w64 gcc 5.1 and Python 3.4.3, time to fix this? -- nosy: +cartman ___ Python tracker ___ __

[issue10685] trace does not ignore --ignore-module

2015-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: (When replying by email to an email, please remove any quotation, except possibly for a specific line or two. The message already appears about yours on the tracker.) Good. It will take about a week for the * to appear after your name. As the diff is post

[issue24230] tempfile.mkdtemp() doesn't work with bytes paths

2015-05-18 Thread R. David Murray
R. David Murray added the comment: Would you care to supply a patch? The beta deadline is this coming weekend. -- stage: -> needs patch type: -> enhancement ___ Python tracker ___

[issue24230] tempfile.mkdtemp() doesn't work with bytes paths

2015-05-18 Thread R. David Murray
R. David Murray added the comment: I understand now. The problem is that this would be a backward incompatible change. -- ___ Python tracker ___ ___

[issue24230] tempfile.mkdtemp() doesn't work with bytes paths

2015-05-18 Thread Augie Fackler
Augie Fackler added the comment: Today we're doing something like this: tmpdir = tempfile.mkdtemp('', 'hgtests.', d and d.decode('utf-8')).encode('utf-8') but would rather have tmpdir = tempfile.mkdtemp(b'', b'hgtests.', d) # and now tmpdir is a bytestring containing the path to the tmpdir b

[issue16544] Add external link to ast docs

2015-05-18 Thread Thomas Kluyver
Thomas Kluyver added the comment: Here's a simple patch that links to Green Tree Snakes from the ast module docs, using the 'sidebar' directive (that's what the logging module uses to link to tutorials, which seemed analogous). I'm still happy to contribute these docs to CPython if people want

[issue24230] tempfile.mkdtemp() doesn't work with bytes paths

2015-05-18 Thread R. David Murray
R. David Murray added the comment: Can you explain what you are looking for in more detail? It isn't obvious to me what "bytes in bytes out" means in the context of the tempfile API. -- nosy: +r.david.murray ___ Python tracker

[issue24230] tempfile.mkdtemp() doesn't work with bytes paths

2015-05-18 Thread R. David Murray
R. David Murray added the comment: I'm sorry, hit send before I finished thinking. You are saying bytes input are rejected, so yes this could be fixed. -- ___ Python tracker __

[issue24226] [3.5 Regression] unable to byte-compile the attached IN.py

2015-05-18 Thread Yury Selivanov
Yury Selivanov added the comment: Thanks! Closing the issue. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ __

[issue24230] tempfile.mkdtemp() doesn't work with bytes paths

2015-05-18 Thread Matt Mackall
Matt Mackall added the comment: Another way of putting it is: os.listdir() -> [,...] os.listdir() -> [,...] is the usual pattern, and tempfile isn't following it. -- nosy: +Matt.Mackall ___ Python tracker ___

[issue24231] os.makedirs('/', exist_ok=True) fails on Darwin

2015-05-18 Thread R. David Murray
R. David Murray added the comment: This should (in theory at least) be something we test in our test suite, so I'm surprised by this result. If you run the test suite do you get any failures? -- nosy: +r.david.murray ___ Python tracker

[issue24226] [3.5 Regression] unable to byte-compile the attached IN.py

2015-05-18 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: This change works for me. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue24231] os.makedirs('/', exist_ok=True) fails on Darwin

2015-05-18 Thread Matthew Wedgwood
New submission from Matthew Wedgwood: On Darwin, os.mkdir('/') raises IsADirectory. On Linux, the same call raises FileExistsError. The implementation for os.makedirs() in Python 3.2+ checks only for the latter when evaluating the exists_ok parameter. This causes os.makedirs('/', exist_ok=True

[issue24230] tempfile.mkdtemp() doesn't work with bytes paths

2015-05-18 Thread Augie Fackler
New submission from Augie Fackler: Many things in the OS module work with bytestrings for paths in Python 3, but tempfile isn't so happy. It'd be very useful to be able to have the same bytes-in-bytes-out behavior in tempfile as for the os.path.* methods. This is something we're working around

[issue24226] [3.5 Regression] unable to byte-compile the attached IN.py

2015-05-18 Thread Yury Selivanov
Yury Selivanov added the comment: Arfrever, Matthias, Thanks for reporting this issue. It should now be fixed. Please verify that it works for your usecase. -- nosy: +gvanrossum, ncoghlan ___ Python tracker ___

[issue24226] [3.5 Regression] unable to byte-compile the attached IN.py

2015-05-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset fb5fcae0cf1f by Yury Selivanov in branch 'default': Issue 24226: Fix parsing of many sequential one-line 'def' statements. https://hg.python.org/cpython/rev/fb5fcae0cf1f -- nosy: +python-dev ___ Python tr

[issue24229] pathlib.Path should have a copy() method

2015-05-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Path objects are immutable, so the copy method is not needed. -- nosy: +pitrou, serhiy.storchaka ___ Python tracker ___ __

[issue24229] pathlib.Path should have a copy() method

2015-05-18 Thread Josh Holland
New submission from Josh Holland: Path objects already have rename() and replace() methods; it would be useful for them also to have a copy() method to simplify that operation. I'll look into putting a patch together this evening. -- components: Library (Lib) messages: 243494 nosy: jsh

[issue24195] Add `Executor.filter` to concurrent.futures

2015-05-18 Thread Ethan Furman
Ethan Furman added the comment: I'd rather see an `Executor.filter()` myself, but it's Brian Quinlan's call. -- ___ Python tracker ___ ___

[issue16991] Add OrderedDict written in C

2015-05-18 Thread Eric Snow
Eric Snow added the comment: Thanks for taking a look, Yury. I'll follow up on the ref leak soon. -- ___ Python tracker ___ ___ Pytho

[issue24228] Interpreter triggers segmentation fault at the starting

2015-05-18 Thread doz
doz added the comment: I already try to apply patches from http://bugs.python.org/issue22653 . It don't solve problem. -- ___ Python tracker ___

[issue24228] Interpreter triggers segmentation fault at the starting

2015-05-18 Thread doz
New submission from doz: Hello, Python 3.4.2 triggers a segmentation fault at the starting on my ARM9 platform. Crash occurs also with 3.3. The version 2.7 don't crash and seems to work correctly System is built with buildroot-2015.02 and gcc 4.2.1. Fault is always reproducible. Pleas

[issue24091] Use after free in Element.extend (1)

2015-05-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 34523e53a342 by Serhiy Storchaka in branch '2.7': Issue #24091: Fixed various crashes in corner cases in cElementTree. https://hg.python.org/cpython/rev/34523e53a342 New changeset 157c4afca186 by Serhiy Storchaka in branch '3.4': Issue #24091: Fixed

[issue24227] IndentationError caused by async / await changes in parser

2015-05-18 Thread Zachary Ware
Zachary Ware added the comment: Duplicate of #24226. -- nosy: +zach.ware resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> [3.5 Regression] unable to byte-compile the attached IN.py ___ Python tracker

[issue24226] [3.5 Regression] unable to byte-compile the attached IN.py

2015-05-18 Thread Zachary Ware
Changes by Zachary Ware : -- assignee: -> yselivanov nosy: +Arfrever priority: normal -> release blocker type: -> behavior ___ Python tracker ___ __

[issue24227] IndentationError caused by async / await changes in parser

2015-05-18 Thread Yury Selivanov
Changes by Yury Selivanov : -- assignee: -> yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue24227] IndentationError caused by async / await changes in parser

2015-05-18 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: Revision eeeb666a5365 causes "IndentationError: too many levels of indentation" sometimes, e.g. in regenerated IN.py module (e.g. Lib/plat-linux/IN.py). $ ./python -c 'import IN' Traceback (most recent call last): File "", line 1, in

[issue16544] Add external link to ast docs

2015-05-18 Thread Carol Willing
Carol Willing added the comment: Matthias, I've added you to the nosy list for this ast doc enhancements issue. Reference: msg243484 on Issue 24220. -- nosy: +mbussonn, willingc versions: +Python 3.5 ___ Python tracker

[issue23699] Add a macro to ease writing rich comparisons

2015-05-18 Thread Petr Viktorin
Petr Viktorin added the comment: Conceptually there's a distinction between the two cases, but you can implement one in terms of the other, so I don't think it's worth adding two functions/macros here. So let's pick the better API. "Py_cmp_to_bool" is better if you already have a cmp-style res

[issue24220] ast.Call signature changed

2015-05-18 Thread Carol Willing
Carol Willing added the comment: Thanks Berker for pointing out the WIP patch for issue 16544. Issue 16544 seems a better place than this issue for addressing the ast documentation. There does not seem to be any additional action items left on this issue so I recommend closing this issue and m

[issue13866] {urllib, urllib.parse}.urlencode should not use quote_plus

2015-05-18 Thread R. David Murray
R. David Murray added the comment: I don't see any particular motivation to make it keyword only. -- ___ Python tracker ___ ___ Python

[issue13866] {urllib, urllib.parse}.urlencode should not use quote_plus

2015-05-18 Thread Berker Peksag
Berker Peksag added the comment: Just a suggestion: urlencode already has 5 parameters. We can make quote_via a keyword-only parameter. -- nosy: +berker.peksag ___ Python tracker __

[issue23699] Add a macro to ease writing rich comparisons

2015-05-18 Thread Stefan Krah
Stefan Krah added the comment: I mean it's clearer to have: result = long_compare(self, other); return Py_cmp_to_bool(result, op); than: result = long_compare(self, other); Py_RETURN_RICHCOMPARE(result, 0, op); This is because in other places, like the proposed use case in

[issue23699] Add a macro to ease writing rich comparisons

2015-05-18 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 18.05.2015 15:46, Stefan Krah wrote: > > Stefan Krah added the comment: > > The problem with this macro is that most of the time it takes the > standard cmp return value {-1,0,1} and converts that into a bool. > > For this use case, it might be more app

[issue23699] Add a macro to ease writing rich comparisons

2015-05-18 Thread Stefan Krah
Stefan Krah added the comment: The problem with this macro is that most of the time it takes the standard cmp return value {-1,0,1} and converts that into a bool. For this use case, it might be more appropriate to use a static inline function Py_cmp_to_bool(). To put it differently, the macro m

[issue16544] Add external link to ast docs

2015-05-18 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue24220] ast.Call signature changed

2015-05-18 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: > There is an open issue for that: issue 16544. I've talked to Thomas about > merging greentreesnakes to the AST documentation last year and already have a > WIP patch Ah, Thanks for the link, I see if I can rotate my chair 120deg clockwise and give a nu

[issue24102] Multiple type confusions in unicode error handlers

2015-05-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue24102] Multiple type confusions in unicode error handlers

2015-05-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Greg Ewing suggested to use PyObject_TypeCheck (http://permalink.gmane.org/gmane.comp.python.devel/153216). -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue24102] Multiple type confusions in unicode error handlers

2015-05-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 547bc11e3357 by Serhiy Storchaka in branch '2.7': Issue #24102: Fixed exception type checking in standard error handlers. https://hg.python.org/cpython/rev/547bc11e3357 New changeset 68eaa9409818 by Serhiy Storchaka in branch '3.4': Issue #24102: Fi

[issue24226] [3.5 Regression] unable to byte-compile the attached IN.py

2015-05-18 Thread Matthias Klose
Changes by Matthias Klose : -- components: +Interpreter Core -Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue24226] [3.5 Regression] unable to byte-compile the attached IN.py

2015-05-18 Thread Matthias Klose
Matthias Klose added the comment: this seems to be caused by the PEP 492 merge in r95969. -- nosy: +yselivanov ___ Python tracker ___

[issue20035] Clean up Tcl library discovery in Tkinter on Windows

2015-05-18 Thread Steve Dower
Steve Dower added the comment: Use !='true' rather than =='', but otherwise it's good. -- ___ Python tracker ___ ___ Python-bugs-list

  1   2   >