[issue24139] Use sqlite3 extended error codes
New submission from Dima Tisnek: Let's fetch extended error codes from SQLite, information contained is not particularly interesting to the user, but may be invaluable in debugging! http://www.sqlite.org/rescode.html https://sqlite.org/c3ref/extended_result_codes.html http://www.sqlite.org/c3ref/errcode.html Current behaviour: For example, consider that extended error was SQLITE_READONLY_DBMOVED, it would be set in https://github.com/mackyle/sqlite/blob/1caed0ecc62583c4f8a509ff66ae99b6939fe727/src/pager.c#L4836 without explicit detail string. Python will call sqlite3_errcode() which will strip extended information via ` errMask` in https://github.com/mackyle/sqlite/blob/ebb27fe5bd5045d924d99cdd7dec9b7064c24768/src/main.c#L2176 Python will then call sqlite3_errmsg(), and the error message will be according to truncated (simple) error per: https://github.com/mackyle/sqlite/blob/ebb27fe5bd5045d924d99cdd7dec9b7064c24768/src/main.c#L1318 P.S. there are a few cases where sqlite3 internally sets both error code and message, in those cases, current Python module (presumably) reads out the error message correctly. For example https://github.com/mackyle/sqlite/blob/ebb27fe5bd5045d924d99cdd7dec9b7064c24768/src/main.c#L1584 -- components: Extension Modules messages: 242710 nosy: Dima.Tisnek priority: normal severity: normal status: open title: Use sqlite3 extended error codes type: enhancement versions: Python 3.5, Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24139 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24142] ConfigParser._read doesn't join multi-line values collected while reading if a ParsingError occured
Changes by Ned Deily n...@acm.org: -- nosy: -ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24142 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24143] Makefile in tarball don't provide make uninstall target
Changes by Karl Richter krichter...@aol.de: -- components: Build nosy: krichter priority: normal severity: normal status: open title: Makefile in tarball don't provide make uninstall target versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24143 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7267] format method: c presentation type broken in 2.7
Mark Lawrence added the comment: What if any harm can be done by applying the patch with Victor's work around? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7267 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24140] In pdb using until X doesn't seem to have effect in commands
Changes by Ned Deily n...@acm.org: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24140 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24142] ConfigParser._read doesn't join multi-line values collected while reading if a ParsingError occured
Ned Deily added the comment: [Thanks for the headsup about the contributor agreement form, now reported as https://github.com/python/pythondotorg/issues/747] -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24142 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24143] Makefile in tarball don't provide make uninstall target
New submission from Ned Deily: This has come up in the past (for example, Issue549764) but, AFAIK, no one has shown much interest in pursuing such a feature by providing a patch. Note that it would likely be very tricky to cover all the edge cases properly. As a practical matter, one reason this issue hasn't been addressed at the Makefile level is that most Python users do not install Python themselves from source but rather use one installed by some sort of package manager - e.g. an operating system release (e.g. Debian, OS X, etc), a third-party package manager (e.g. conda etc), or the python.org Windows installer - all of which have their own ways of managing installs, upgrades, and uninstalls. Unless you or someone else is willing to work on a patch with tests that does not add a significant new maintenance burden to the Makefile, it's likely to languish again. -- nosy: +ned.deily versions: +Python 3.6 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24143 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2292] Missing *-unpacking generalizations
Guido van Rossum added the comment: I think it's fine. It collects all the keys and values and then calls BUILD_MAP (a new opcode), rather than calling STORE_MAP for each key/value pair. I think this is a reasonable strategy for compiling a dict display. On Thu, May 7, 2015 at 11:40 AM, Joshua Landau rep...@bugs.python.org wrote: Joshua Landau added the comment: There is a change as part of this to make dict building more like list and set building, which both have this behaviour. The same changes have likely occurred before whenever BUILD_LIST and BUILD_SET were introduced, and this behaviour seems particularly undefined. That said, I did overlook the difference. Hopefully there's agreement that it doesn't matter. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2292 ___ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2292 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24120] pathlib.(r)glob stops on PermissionDenied exception
Ethan Furman added the comment: From Frank Woodall on python-ideas: == How to reproduce: mkdir /tmp/path_test cd /tmp/path_test mkdir dir1 dir2 dir2/dir3 touch dir1/file1 dir1/file2 dir2/file1 dir2/file2 dir2/dir3/file1 su chmod 700 dir2/dir3/ chown root:root dir2/dir3/ exit python 3.4.1 from pathlib import Path p = Path('/tmp/path_test') for x in p.rglob('*') : print(x) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24120 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22906] PEP 479: Change StopIteration handling inside generators
Guido van Rossum added the comment: I think you could help by (a) reviewing what's there, and (b) helping with the implementation of __future__. On Thu, May 7, 2015 at 1:16 PM, Yury Selivanov rep...@bugs.python.org wrote: Yury Selivanov added the comment: You sure can! Take it, deploy it, run the test suite, and then start writing real code that uses it. When you find a problem, that's what needs help! :) Thank you for this generic answer, Chris. The reason I was asking is because issue #24017 depends on this one (also release blocker). And I was genuinely wondering if I can help (somehow) advancing your patch to be committed asap. Anyways, do you have any estimate when you finalize it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22906 ___ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22906 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24111] Valgrind suppression file should be updated
Changes by Ned Deily n...@acm.org: -- nosy: +christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24111 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2292] Missing *-unpacking generalizations
Joshua Landau added the comment: There is a change as part of this to make dict building more like list and set building, which both have this behaviour. The same changes have likely occurred before whenever BUILD_LIST and BUILD_SET were introduced, and this behaviour seems particularly undefined. That said, I did overlook the difference. Hopefully there's agreement that it doesn't matter. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2292 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2292] Missing *-unpacking generalizations
Stefan Behnel added the comment: I get a test failure in Cython's compatibility tests which seems to be attributable to this change: def sideeffect(x): ... L.append(x) ... return x def unhashable(x): ... L.append(x) ... return [x] L = [] {1:2, sideeffect(2): 3, 3: 4, unhashable(4): 5, sideeffect(5): 6}# doctest: +ELLIPSIS Traceback (most recent call last): TypeError: ...unhashable... L [2, 4] Instead, L ends up being [2, 4, 5]. Is this intended? Or acceptable? -- nosy: +scoder ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2292 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24120] pathlib.(r)glob stops on PermissionDenied exception
Changes by Ethan Furman et...@stoneleaf.us: -- nosy: +ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24120 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24143] Makefile in tarball don't provide make uninstall target
Changes by Ned Deily n...@acm.org: -- priority: normal - low stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24143 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22865] Document how to make pty.spawn not copy data
Geoff Shannon added the comment: Okay, I just found another way to achieve the same effect of letting the _read function ignore data but not inadvertantly close the stream. It relies on the fact that terminals will ignore null bytes fed to them. Now there are no code changes required, just an addition to the documentation. -- components: -Library (Lib) title: Allow pty.spawn to ignore data to copy - Document how to make pty.spawn not copy data Added file: http://bugs.python.org/file39313/pty.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22865 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22906] PEP 479: Change StopIteration handling inside generators
Yury Selivanov added the comment: You sure can! Take it, deploy it, run the test suite, and then start writing real code that uses it. When you find a problem, that's what needs help! :) Thank you for this generic answer, Chris. The reason I was asking is because issue #24017 depends on this one (also release blocker). And I was genuinely wondering if I can help (somehow) advancing your patch to be committed asap. Anyways, do you have any estimate when you finalize it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22906 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24139] Use sqlite3 extended error codes
Changes by Ned Deily n...@acm.org: -- nosy: +ghaering ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24139 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24141] Python 3 ships an outdated valgrind suppressison file.
Ned Deily added the comment: Thanks for the report. This problem and solution was just reported recently in Issue24111. -- nosy: +ned.deily resolution: - duplicate stage: - resolved status: open - closed superseder: - Valgrind suppression file should be updated ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24141 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24143] Makefile in tarball don't provide make uninstall target
Ned Deily added the comment: [Note, this is in response to the opening of this issue by krichter; the opening did not generate a message itself] This has come up in the past (for example, Issue549764) but, AFAIK, no one has shown much interest in pursuing such a feature by providing a patch. Note that it would likely be very tricky to cover all the edge cases properly. As a practical matter, one reason this issue hasn't been addressed at the Makefile level is that most Python users do not install Python themselves from source but rather use one installed by some sort of package manager - e.g. an operating system release (e.g. Debian, OS X, etc), a third-party package manager (e.g. conda etc), or the python.org Windows installer - all of which have their own ways of managing installs, upgrades, and uninstalls. Unless you or someone else is willing to work on a patch with tests that does not add a significant new maintenance burden to the Makefile, it's likely to languish again. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24143 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24143] Makefile in tarball don't provide make uninstall target
Changes by Ned Deily n...@acm.org: -- Removed message: http://bugs.python.org/msg242728 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24143 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24017] Implemenation of the PEP 492 - Coroutines with async and await syntax
Yury Selivanov added the comment: Third patch attached. Victor, it would be great if you can review it! -- Added file: http://bugs.python.org/file39314/await_03.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24017 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24138] Speed up range() by caching and modifying long objects
Changes by Ethan Furman et...@stoneleaf.us: -- nosy: +ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24138 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17697] Incorrect stacktrace from pdb
Changes by Aaron Meurer asmeu...@gmail.com: -- nosy: +Aaron.Meurer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17697 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23796] BufferedReader.peek() crashes if closed
Berker Peksag added the comment: 23796_fix_with_tests.patch LGTM. I'll apply it this weekend. Thanks for the patch, John. -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23796 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22906] PEP 479: Change StopIteration handling inside generators
Yury Selivanov added the comment: Yury's patch mostly looks good to me, except: Thanks! * the check in contextlib should be against __cause__ rather than __context__, and there should be a new test for this code handling path Done. I've also added one test for correct handling of StopIteration without PEP 479. * there should be a new test for the __future__ flag itself (independently of the contextlib tests) Forgot to attach it to the first patch! Nick, please take a look at the new patch (attached). -- Added file: http://bugs.python.org/file39317/pep0479.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22906 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16482] pdb.set_trace() clobbering traceback on error
Changes by Aaron Meurer asmeu...@gmail.com: -- nosy: +Aaron.Meurer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16482 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23888] Fixing fractional expiry time bug in cookiejar
ssh added the comment: Thanks for checking in the RFC. I had done that before I posted my StackOverflow question, but should have mentioned it here for completeness. I've addressed the comments. -- Added file: http://bugs.python.org/file39315/mywork.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23888 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13492] ./configure --with-system-ffi=LIBFFI-PATH
Jens Timmerman added the comment: Wel, I can confirm that this is fixed in new libffi shipped with python now, and the problem no longer occurs on 3.4.3 (only version I checked) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13492 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24117] Wrong range checking in GB18030 decoder.
Changes by Ma Lin wjss...@sohu.com: Added file: http://bugs.python.org/file39319/forpy34.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24117 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24117] Wrong range checking in GB18030 decoder.
Changes by Ma Lin wjss...@sohu.com: Added file: http://bugs.python.org/file39320/forpy35.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24117 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24117] Wrong range checking in GB18030 decoder.
Changes by Ma Lin wjss...@sohu.com: Removed file: http://bugs.python.org/file39278/forpy3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24117 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24117] Wrong range checking in GB18030 decoder.
Changes by Ma Lin wjss...@sohu.com: Removed file: http://bugs.python.org/file39277/forpy27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24117 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24117] Wrong range checking in GB18030 decoder.
Ma Lin added the comment: I examined all Chinese codecs, here are the patches, please review them, feel free to ask me your question. Thanks to Hye-Shik, your framework is very easy to understand :) -- Added file: http://bugs.python.org/file39318/forpy27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24117 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23888] Fixing fractional expiry time bug in cookiejar
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23888 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24117] Wrong range checking in GB18030 decoder.
Ezio Melotti added the comment: Do you have authoritative links that describe these standards? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24117 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22906] PEP 479: Change StopIteration handling inside generators
Berker Peksag added the comment: A minor comment about the __future__ changes: 3.5.0a1 should probably be 3.5.0b1. -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22906 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22906] PEP 479: Change StopIteration handling inside generators
Chris Angelico added the comment: The comment was general because I honestly had no idea what was needed still. All I knew was that the patch seemed to work for me, all tests passing (including the new one). Thanks for uploading the new patch; it compiles happily, and I'm running tests now, although that probably won't prove anything new. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22906 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24117] Wrong range checking in GB18030 decoder.
Ma Lin added the comment: Good question. GB2312: I tested those programming languages one by one. GBK/CP936/GB18030-2000: I gathered data via Internet as much as I can, then compare them to Python3's codecs. I check key points with authoritative source, and verify every appeared conflicts. The data come from ICU, Unicode.org, IBM, Chinese researchers, and data found by Google. I had spent about half-month to do this, not just started from several days ago. I hope those descriptions will help late comers. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24117 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24139] Use sqlite3 extended error codes
R. David Murray added the comment: It seems reasonable to provide as much error information as is available, one way or another. Would you like to work on a patch? -- nosy: +r.david.murray versions: -Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24139 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22906] PEP 479: Change StopIteration handling inside generators
Yury Selivanov added the comment: Hi, Please find attached an updated patch. Summary of changes: 1. Most of feedback from Nick Coghlan and Serhiy Storchaka is applied; 2. Changes in difflib.py were reverted (unless we add the __future__ import there right now there is no need to fix it); 3. Chris' test is integrated to the patch. All in all I think it's in a good shape now, but I'd appreciate if someone looks at genobject.c changes one more time. -- Added file: http://bugs.python.org/file39316/pep0479.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22906 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24144] Docs discourage use of binascii.unhexlify etc.
New submission from Devin Jeanpierre: Maybe the functions should be split up into those you shouldn't need to call directly, and those you should? I find it unlikely that you're supposed to use codecs.encode(..., 'hex') and codecs.decode(..., 'hex') instead of binascii (the only other thing, AFAIK, that works in both 2 and 3). Relevant quote starts with: Normally, you will not use these functions directly https://docs.python.org/2/library/binascii https://docs.python.org/3/library/binascii -- assignee: docs@python components: Documentation messages: 242737 nosy: Devin Jeanpierre, docs@python priority: normal severity: normal status: open title: Docs discourage use of binascii.unhexlify etc. versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24144 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24144] Docs discourage use of binascii.unhexlify etc.
R. David Murray added the comment: No, actually, using codecs would be the most straightforward way to achieve portability. The usual way to get hex in python2 was encode('hex'), which uses the codec. But if you want to use hexlify instead, I don't see any reason not to. There's no reason to change the binascii module description, though, since it is talking about normal code, not 2/3 shared source code (where you do sometimes have to jump through somewhat awkward hoops). (The One Obvious Way starting with 3.5 will be b'abcde'.hex(), but of course that isn't python2 compatible.) -- nosy: +r.david.murray resolution: - not a bug stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24144 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22906] PEP 479: Change StopIteration handling inside generators
Changes by Yury Selivanov yseliva...@gmail.com: -- assignee: - yselivanov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22906 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2292] Missing *-unpacking generalizations
Nick Coghlan added the comment: This could likely stand to be clarified in the language reference, though (as well as in the 3.5 porting notes) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2292 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22906] PEP 479: Change StopIteration handling inside generators
Nick Coghlan added the comment: Yury's patch mostly looks good to me, except: * the check in contextlib should be against __cause__ rather than __context__, and there should be a new test for this code handling path * there should be a new test for the __future__ flag itself (independently of the contextlib tests) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22906 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22906] PEP 479: Change StopIteration handling inside generators
Guido van Rossum added the comment: Or, if it's perfect (or good enough :-), just check it in. On Thu, May 7, 2015 at 1:18 PM, Guido van Rossum rep...@bugs.python.org wrote: Guido van Rossum added the comment: I think you could help by (a) reviewing what's there, and (b) helping with the implementation of __future__. On Thu, May 7, 2015 at 1:16 PM, Yury Selivanov rep...@bugs.python.org wrote: Yury Selivanov added the comment: You sure can! Take it, deploy it, run the test suite, and then start writing real code that uses it. When you find a problem, that's what needs help! :) Thank you for this generic answer, Chris. The reason I was asking is because issue #24017 depends on this one (also release blocker). And I was genuinely wondering if I can help (somehow) advancing your patch to be committed asap. Anyways, do you have any estimate when you finalize it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22906 ___ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22906 ___ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22906 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2122] mmap.flush does not check for errors on windows
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2122 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24142] ConfigParser._read doesn't join multi-line values collected while reading if a ParsingError occured
New submission from Florian Höch: If a ParsingError occurs while reading a config file, the multi-line values collected while reading will never be joined because the error is raised before this can happen. This leads to very unexpected results, e.g. consider the following config.ini: [DEFAULT] test = test invalid cfg = ConfigParser.ConfigParser() cfg.read(['config.ini']) This will raise a ParsingError as expected. But the option values that were parsed without error are now all lists instead of strings: cfg.get('DEFAULT', test') ['test'] Patch attached. -- components: Library (Lib) files: ConfigParser.py.patch keywords: patch messages: 242718 nosy: fhoech priority: normal severity: normal status: open title: ConfigParser._read doesn't join multi-line values collected while reading if a ParsingError occured type: behavior versions: Python 2.7 Added file: http://bugs.python.org/file39312/ConfigParser.py.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24142 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24142] ConfigParser._read doesn't join multi-line values collected while reading if a ParsingError occured
Florian Höch added the comment: [Btw, you might want to fix the contributor agreement form - I can't sign it because it shows no text, so I don't know what I'm supposed to enter in the fields (Firefox 37.0.2)] -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24142 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24141] Python 3 ships an outdated valgrind suppressison file.
Changes by Michael Ensslin michael.enss...@googlemail.com: -- title: Python 3 ships an outdated valgrind suppresison file. - Python 3 ships an outdated valgrind suppressison file. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24141 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2122] mmap.flush does not check for errors on windows
Mark Lawrence added the comment: I think we should be properly handling errors. If people agree I'll provide a new patch to cover code and doc changes, but I've no idea how to provide any form of unit test for the change. -- nosy: +BreamoreBoy, paul.moore, steve.dower, zach.ware versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2122 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24141] Python 3 ships an outdated valgrind suppressison file.
Michael Ensslin added the comment: Note: Additionally replacing PyObject_Free - _PyObject_Free and PyObject_Realloc - _PyObject_Realloc appears to fix the issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24141 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24141] Python 3 ships an outdated valgrind suppresison file.
New submission from Michael Ensslin: The suppression file that is shipped in Misc/valgrind-python.supp of the CPython 3(.x) source tarball only works with CPython 2. This was tested on Debian Sid, with Python 3.4.3 and Python 2.7.9, both presumably not compiled with --valgrind. Since Debian does not ship valgrind-python.supp, I downloaded the source tarball for Python 3.4.3, and edited the suppression file (un-commenting the rules for Free and Realloc, as the documentation suggests for when running with a non-valgrind-aware version of CPython). The test results are as follows: $ uname -a Linux mic 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-2 (2015-04-13) x86_64 GNU/Linux $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description:Debian GNU/Linux unstable (sid) Release:unstable Codename: sid $ valgrind --version valgrind-3.10.1 $ python3 --version Python 3.4.3 $ python2 --version Python 2.7.9 $ valgrind --tool=memcheck --suppressions=/tmp/Python-3.4.3/Misc/valgrind-python.supp python3 -c 'import sys; print(sys.version)' (...) ERROR SUMMARY: 666 errors from 61 contexts (suppressed: 0 from 0) $ valgrind --tool=memcheck --suppressions=/tmp/Python-3.4.3/Misc/valgrind-python.supp python2 -c 'import sys; print(sys.version)' (...) ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 486 from 28) -- messages: 242716 nosy: mic-e priority: normal severity: normal status: open title: Python 3 ships an outdated valgrind suppresison file. versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24141 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24141] Python 3 ships an outdated valgrind suppressison file.
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +christian.heimes, haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24141 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24142] ConfigParser._read doesn't join multi-line values collected while reading if a ParsingError occured
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +lukasz.langa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24142 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23888] Fixing fractional expiry time bug in cookiejar
Demian Brecht added the comment: I left a small comment around indentation in Rietveld. Also, for the sake of completeness (and for others taking part in this review/commit), I dug through the relevant RFCs and none of them seem to define time as having sub-section resolution. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23888 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24140] In pdb using until X doesn't seem to have effect in commands
New submission from vyktor: When using pdb -m pdb test.py and entering: (Pdb) b A.f Breakpoint 1 at d:\tmp\stack\test.py:8 (Pdb) commands 2 (com) disable 2 (com) until 13 (com) end Until doesn't seem to have any effect. When statement is executed manually, everything works as expected (execution halts before implicit return from function). -- components: Library (Lib) messages: 242711 nosy: vyktor priority: normal severity: normal status: open title: In pdb using until X doesn't seem to have effect in commands type: behavior versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24140 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4130] Intel icc 9.1 does not support __int128_t used by ctypes
Jens Timmerman added the comment: yep, newer versions of python with newer libffi do not longer have this issue, confirmed with python 3.4.3 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4130 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com