[issue27923] PEP 467 -- Minor API improvements for binary sequences

2016-08-31 Thread Elias Zamaria
New submission from Elias Zamaria: This is my attempt at implementing PEP 467. I am not an expert in the details of the Python interpreter, and this is my first time working on a big project in C, so I am not sure if I am doing things in the most elegant or efficient way, but it seems to work

[issue27923] PEP 467 -- Minor API improvements for binary sequences

2016-08-31 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue27922] Make IDLE tests less flashy

2016-08-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset bf0cb86c6219 by Terry Jan Reedy in branch '2.7': Issue #27922: IDLE tests no longer flash tk widgets. https://hg.python.org/cpython/rev/bf0cb86c6219 New changeset ff3a6303c5b1 by Terry Jan Reedy in branch '3.5': Issue #27922: IDLE tests no longer fl

[issue27923] PEP 467 -- Minor API improvements for binary sequences

2016-08-31 Thread Elias Zamaria
Elias Zamaria added the comment: Here is a patch with some changes to the docs. I don't know if the descriptions are good enough, but it should hopefully identify what parts of the docs need to be changed. -- Added file: http://bugs.python.org/file44313/pep467_doc_changes.patch __

[issue27923] PEP 467 -- Minor API improvements for binary sequences

2016-08-31 Thread Martin Panter
Martin Panter added the comment: FYI if you rebase your patches onto public Mercurial revisions, they should get a review link -- nosy: +martin.panter stage: -> patch review ___ Python tracker ___

[issue27918] Running test suites without gui but still having windows flash

2016-08-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Some time ago I tried adding 'root.withdraw' to idle_test files that used tkinter to stop the widget flashing. This never worked completely. Now I know why -- it was the test.support import. Knowing this now, I opened #27922 to add 'root.withdraw' where els

[issue27922] Make IDLE tests less flashy

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

[issue25758] ensurepip/venv broken on Windows if path includes unicode

2016-08-31 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : -- nosy: +jayvdb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22888] ensurepip and distutils' build_scripts fails on Windows when path to Python contains accented characters

2016-08-31 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : -- nosy: +jayvdb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue27918] Running test suites without gui but still having windows flash

2016-08-31 Thread Xiang Zhang
Xiang Zhang added the comment: > they both use test.support.import_module with no reason Sorry, this is a typo. I meant to say "they both use test.support.requires". There should be *no* "no reason" and it's "requires" not "import_module". Sorry to confuse you. Staying late in night fools my b

[issue27881] Fix possible bugs when setting sqlite3.Connection.isolation_level

2016-08-31 Thread Xiang Zhang
Xiang Zhang added the comment: I thought about this method but didn't find it's simpler. You cannot avoid malloc/free since the isolation level has to be on heap. It's going to be freed in the dealloc method unless your alter that part too. Then it's about one memcpy or two, which doesn't make

[issue27924] ensurepip raises TypeError after pip uninstall

2016-08-31 Thread John Mark Vandenberg
New submission from John Mark Vandenberg: After uninstalling pip on Fedora 24, ensurepip get_records_to_pack returns None, causing rewheel.rewheel_from_record to raise TypeError: 'NoneType' object is not iterable. While this is probably not a scenario that CPython supports directly, it would

[issue27924] ensurepip raises TypeError after pip uninstall

2016-08-31 Thread Ned Deily
Ned Deily added the comment: You used "pip uninstall" to uninstall the Fedora-supplied pip (/usr/bin/pip)? That would be a really *bad* thing to do. And does Fedora supply a modified ensurepip / pip? What happens if you try this with a vanilla Python 3.5.x built from source? My initial rea

[issue27924] ensurepip raises TypeError after pip uninstall

2016-08-31 Thread Ned Deily
Changes by Ned Deily : -- nosy: +dstufft, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue27924] ensurepip raises TypeError after pip uninstall

2016-08-31 Thread Ned Deily
Ned Deily added the comment: Sorry, 2.7.12 built from source. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27918] Running test suites without gui but still having windows flash

2016-08-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: I completely agree that we should not check that gui works unless and until it is requested. Can you write a patch to do the switch? My point was that even when I request gui, I still don't want to see the flash. I do TDD for test files as well as app file

[issue27924] ensurepip raises TypeError after pip uninstall

2016-08-31 Thread John Mark Vandenberg
John Mark Vandenberg added the comment: Well, it wasnt my intention to remove the vendor package. There were two versions, and I assume it would remove the older package which wasnt supplied by the vendor, but it removed both. Anyways, I see that most of the code path is in https://github.co

[issue27918] Running test suites without gui but still having windows flash

2016-08-31 Thread Xiang Zhang
Xiang Zhang added the comment: It's my pleasure. > My point was that even when I request gui, I still don't want to see the > flash. I also mean that in my last message, in this sentence " Even gui is enabled a single support.requires may seem somewhat confusing to flash a window". But it se

[issue25758] ensurepip/venv broken on Windows if path includes unicode

2016-08-31 Thread Nick Coghlan
Nick Coghlan added the comment: As a test case for handling non-ASCII characters in the name of the zipfile itself, I believe it should be sufficient to add 'Ł' to TEMP_DIR and TEMP_ZIP in https://hg.python.org/cpython/file/default/Lib/test/test_zipimport.py -- ___

[issue27630] Generator._encoded_EMTPY misspelling in email package

2016-08-31 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27924] ensurepip raises TypeError after pip uninstall

2016-08-31 Thread Donald Stufft
Donald Stufft added the comment: rewheel is definitely some Fedora patches. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue27924] ensurepip raises TypeError after pip uninstall

2016-08-31 Thread Nick Coghlan
Nick Coghlan added the comment: Yeah, this is a known problem with pip where if you run it with sudo, it will happily uninstall system managed files from the system Python. To fix your system (if you haven't already): $ sudo dnf reinstall python2-pip (Anyone that accidentally uninstalls o

[issue27923] PEP 467 -- Minor API improvements for binary sequences

2016-08-31 Thread Elias Zamaria
Elias Zamaria added the comment: @martin.panter, I am familiar with Mercurial, and with the concept of rebasing, but I don't understand what you are trying to tell me. I made these changes in several local branches, and then merged them all together in one branch. How can I rebase it onto a pu

<    1   2