[issue25624] shutil.make_archive makes invalid directory entries

2015-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Larry, I think this patch is enough important to go into 3.5.1 final. It fixes a regression in common operation. -- ___ Python tracker ___ __

[issue25698] test regressions introduced with the fix for #22995

2015-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This can be related to issue25083. Can you look at the size of copy_reg.pyc and copy_reg.pyo files? -- ___ Python tracker ___ ___

[issue25695] test___all__ and test_support alter execution environment

2015-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: defer-TESTDIRN.patch LGTM. -- nosy: +serhiy.storchaka stage: patch review -> commit review ___ Python tracker ___

[issue25702] Link Time Optimizations support for GCC and CLANG

2015-11-23 Thread Alecsandru Patrascu
New submission from Alecsandru Patrascu: Title: Link Time Optimizations support for GCC and CLANG Hi All, This is Alecsandru from Server Scripting Languages Optimization team at Intel Corporation. I would like to submit a patch that adds support for Link Time Optimization (LTO) when using GCC

[issue25702] Link Time Optimizations support for GCC and CLANG

2015-11-23 Thread Alecsandru Patrascu
Changes by Alecsandru Patrascu : Added file: http://bugs.python.org/file41131/lto-cpython3-v01.patch ___ Python tracker ___ ___ Python-bugs-li

[issue25702] Link Time Optimizations support for GCC and CLANG

2015-11-23 Thread Alecsandru Patrascu
Changes by Alecsandru Patrascu : -- keywords: +patch Added file: http://bugs.python.org/file41130/lto-cpython2-v01.patch ___ Python tracker ___ __

[issue25646] Distutils and Windows SDK 7.1

2015-11-23 Thread JGoutin
JGoutin added the comment: OK, I'll look that. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python

[issue25703] test_sys is failed if standard stream is redirected in 2.7

2015-11-23 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: When stdout or stderr (but not both) are redirected and PYTHONIOENCODING is not set, test_sys is failed in 2.7. == FAIL: test_43581 (test.test_sys.SysModuleTest) ---

[issue7990] xml.etree.cElementTree lacks full dir() on Element

2015-11-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7990] xml.etree.cElementTree lacks full dir() on Element

2015-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch updated to 3.6. -- nosy: +serhiy.storchaka versions: +Python 3.6 -Python 3.3, Python 3.4 Added file: http://bugs.python.org/file41133/etree_attributes.patch ___ Python tracker

[issue25657] virtualenv's activate does not update LD_LIBRARY_PATH

2015-11-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Hi, This appears to be a description of an issue for , not a component of CPython or its standard library. The issue tracker for virtualenv is at . -- nosy: +ronald

[issue25657] virtualenv's activate does not update LD_LIBRARY_PATH

2015-11-23 Thread serge-sans-paille
serge-sans-paille added the comment: ok, I'll report there then. Sorry for the noise :-/ -- resolution: -> not a bug status: open -> closed ___ Python tracker ___ __

[issue6478] time.tzset does not reset _strptime's locale time cache

2015-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I forgot about this issue and proposed similar patch for issue25168. It doesn't recalculate timezone values (a tuple of frozensets) on every _strptime call, but uses cheaper tests for time.tzname and time.daylight. issue6478_v3.diff has a bug, it doesn't cle

[issue25688] File leak in ElementTree.iterparse()

2015-11-23 Thread Martin Panter
Martin Panter added the comment: Patch 2 looks good. I like the new version of the tests better. -- ___ Python tracker ___ ___ Python-

[issue25702] Link Time Optimizations support for GCC and CLANG

2015-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: LTO only exists on recent versions of gcc, so the configure script should probably do some version checking. Also we can't enable it by default as 1) it makes compile times much longer 2) there are some bugs in some gcc versions (see e.g. https://bugs.debian.

[issue25669] unittest.assertEqual() on un-equal types inheriting from collections.Mapping

2015-11-23 Thread Michael Foord
Michael Foord added the comment: assertEqual *does* do type checking and it's strict that it will only resort to the "type specific" assert checks if both types are of the same type. In the general case it's impossible to know whether comparing a subclass with the type specific check is the ri

[issue25702] Link Time Optimizations support for GCC and CLANG

2015-11-23 Thread Alecsandru Patrascu
Alecsandru Patrascu added the comment: LTO exists in GCC since version 4.5, but it is true that only recent versions (>=4.8) perform it in good conditions. It is not enabled by default in this patch, it is only available when building with PGO support. Running just "make" will not activate the

[issue25455] Some repr implementations don't check for self-referential structures

2015-11-23 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: -eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue25704] Update the documentation to 3.5

2015-11-23 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- components: Devguide nosy: ezio.melotti, matrixise, willingc priority: normal severity: normal status: open title: Update the documentation to 3.5 versions: Python 3.6 ___ Python tracker

[issue25704] Update the documentation to 3.5

2015-11-23 Thread Stéphane Wirtel
New submission from Stéphane Wirtel: In this patch, I have updated the version of Python, from 3.4 to 3.5. And added Ned Deily in the Release Manager for 3.6. -- keywords: +patch Added file: http://bugs.python.org/file41135/issue25704.patch ___ Python

[issue25705] Fix regex_compile benchmark crash

2015-11-23 Thread Florin Papa
New submission from Florin Papa: Hi all, This is Florin Papa from the Server Languages Optimizations Team at Intel Corporation. The patch submitted here solves a crash occurring on Python 2.7 and 3.6 when running the regex_compile benchmark. The clear_cache() call was replaced with re.purge(

[issue19316] devguide: compiler - wording

2015-11-23 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi everybody, Here is a new version of the script for the last version of the devguide. 198554fa82c2 Please review and apply. -- nosy: +matrixise ___ Python tracker

[issue23914] pickle fails with SystemError

2015-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset bac3f63ea747 by Serhiy Storchaka in branch '3.4': Issue #23914: Fixed SystemError raised by unpickler on broken pickle data. https://hg.python.org/cpython/rev/bac3f63ea747 New changeset 531e2674f003 by Serhiy Storchaka in branch '3.5': Issue #23914:

[issue25706] problems in library/base64.rst

2015-11-23 Thread hiroaki itoh
New submission from hiroaki itoh: * default of ignorechars for a85decode b' tnrv' should be b' \t\n\r\v' * explanation of newline for a85encode "newline('n')" should be "newline('\n')" -- assignee: docs@python components: Documentation messages: 255155 nosy: docs@python, xwhhspri

[issue25706] problems in library/base64.rst

2015-11-23 Thread hiroaki itoh
Changes by hiroaki itoh : -- versions: +Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue25706] problems in library/base64.rst

2015-11-23 Thread hiroaki itoh
Changes by hiroaki itoh : -- versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue25706] problems in library/base64.rst

2015-11-23 Thread hiroaki itoh
hiroaki itoh added the comment: maybe this is Sphinx bug. rst has no problem. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue25688] File leak in ElementTree.iterparse()

2015-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6e23777948f3 by Serhiy Storchaka in branch '3.4': Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error. https://hg.python.org/cpython/rev/6e23777948f3 New changeset 267d04459ba3 by Serhiy Storchaka in branch '3.5': Issue #25688:

[issue25706] problems in library/base64.rst

2015-11-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: docs@python -> serhiy.storchaka nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-b

[issue25706] problems in library/base64.rst

2015-11-23 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Who can explain the problem ? I am ignorant about this issue. -- nosy: +matrixise ___ Python tracker ___ __

[issue25707] Add the close method for ElementTree.iterparse() object

2015-11-23 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: If ElementTree.iterparse() is called with file names, it opens a file. When resulting iterator is not exhausted, the file lefts not closed. >>> import xml.etree.ElementTree as ET >>> import gc >>> ET.iterparse('/dev/null') >>> gc.collect() __main__:1: Reso

[issue25688] File leak in ElementTree.iterparse()

2015-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your review Martin. Opened issue25707 for adding the close method. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue4744] asynchat documentation needs to be more precise

2015-11-23 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Martin, About the patch of Nikita, I am going to rewrite it asap. Will you have time to check it ? Thanks -- Stéphane Wirtel - http://wirtel.be - @matrixise -- ___ Python tracker

[issue25706] problems in library/base64.rst

2015-11-23 Thread hiroaki itoh
hiroaki itoh added the comment: Should be escape by '\\t\\b...' in rst? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue25706] problems in library/base64.rst

2015-11-23 Thread hiroaki itoh
hiroaki itoh added the comment: escape*d* -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue25707] Add the close method for ElementTree.iterparse() object

2015-11-23 Thread Emanuel Barry
Emanuel Barry added the comment: I am unable to reproduce the issue on Windows 7 with 3.5.0; I have tried opening a small (non-empty) text. Here's the result: >>> import xml.etree.ElementTree as ET >>> import gc >>> ET.iterparse("E:/New.txt") >>> gc.collect() 59 -- nosy: +ebarry ___

[issue25704] Update the devguide to 3.5

2015-11-23 Thread Zachary Ware
Changes by Zachary Ware : -- title: Update the documentation to 3.5 -> Update the devguide to 3.5 ___ Python tracker ___ ___ Python-bu

[issue25702] Link Time Optimizations support for GCC and CLANG

2015-11-23 Thread Alecsandru Patrascu
Alecsandru Patrascu added the comment: Meanwhile I've added the patches (v02) for LTO enabled only if the "./configure --with-lto" command is issued. -- ___ Python tracker ___ _

[issue25702] Link Time Optimizations support for GCC and CLANG

2015-11-23 Thread Alecsandru Patrascu
Changes by Alecsandru Patrascu : Added file: http://bugs.python.org/file41138/lto-cpython3-v02.patch ___ Python tracker ___ ___ Python-bugs-li

[issue25702] Link Time Optimizations support for GCC and CLANG

2015-11-23 Thread Alecsandru Patrascu
Changes by Alecsandru Patrascu : Added file: http://bugs.python.org/file41137/lto-cpython2-v02.patch ___ Python tracker ___ ___ Python-bugs-li

[issue25706] problems in library/base64.rst

2015-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset a33d76465a18 by Serhiy Storchaka in branch '3.4': Issue #25706: Fixed markup in the documentation. https://hg.python.org/cpython/rev/a33d76465a18 New changeset f4918e98d085 by Serhiy Storchaka in branch '3.5': Issue #25706: Fixed markup in the docum

[issue25702] Link Time Optimizations support for GCC and CLANG

2015-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 23/11/2015 13:18, Alecsandru Patrascu a écrit : > > Do you see it as an configure option (using, for example, an > explicit --with-lto flag) rather than using it automatically? That would be nice. This way people can easily test different combinations of fla

[issue25702] Link Time Optimizations support for GCC and CLANG

2015-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 23/11/2015 15:44, Alecsandru Patrascu a écrit : > > Meanwhile I've added the patches (v02) for LTO enabled only if the > "./configure --with-lto" command is issued. Cool, thanks! -- ___ Python tracker

[issue25708] runpy hides traceback for some exceptions

2015-11-23 Thread Cal Leeming
New submission from Cal Leeming: Originally posted here: http://stackoverflow.com/q/33873243/1267398 The problem is caused by this line: # For -m switch, just display the exception info = str(exc) Caused by the following commit in 2008; https://mail.python.org/pipermail/python-checkins

[issue25709] greek alphabet bug it is very disturbing...

2015-11-23 Thread Árpád Kósa
New submission from Árpád Kósa: One of my students found this bug. For ascii characters it works as you expect, but for greek alphabet it works unexpectedly. The program works correctly for Python 3.2.x but for 3.4.x and 3.5 it gives erroneous result. -- files: greekbug.py messages: 25

[issue25706] problems in library/base64.rst

2015-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report hiroaki itoh. Fixed yet one error in Doc/library/stdtypes.rst. Stéphane, the backslash hes special meaning in rst files if not escaped. -- resolution: -> fixed stage: -> resolved status: open -> closed ___

[issue25707] Add the close method for ElementTree.iterparse() object

2015-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You have to enable deprecation warnings. Run the interpreter with the -Wa option. -- ___ Python tracker ___ _

[issue25455] Some repr implementations don't check for self-referential structures

2015-11-23 Thread Stefan Krah
Stefan Krah added the comment: I think you may have meant Eli Bendersky -- I'm not an elementree expert (Eli, I'm adding you back just to clear this up). -- nosy: +eli.bendersky ___ Python tracker _

[issue25709] greek alphabet bug it is very disturbing...

2015-11-23 Thread Steven D'Aprano
Steven D'Aprano added the comment: I'm afraid I'm unable to replicate this bug report in Python 3.4. If you are able to replicate it, can you tell us the exact version number of Python you are using? Also, which operating system are you using? -- nosy: +steven.daprano

[issue25707] Add the close method for ElementTree.iterparse() object

2015-11-23 Thread Emanuel Barry
Emanuel Barry added the comment: Oh, my bad. Ignore my last message, behaviour is identical then. Thanks for clearing that up. -- ___ Python tracker ___

[issue25706] problems in library/base64.rst

2015-11-23 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thanks for your explanation, Serhiy. Now, I know how to fix this kind of issues. On 11/23, Serhiy Storchaka wrote: > > Serhiy Storchaka added the comment: > > Thank you for your report hiroaki itoh. Fixed yet one error in > Doc/library/stdtypes.rst. > > St

[issue25709] greek alphabet bug it is very disturbing...

2015-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Confirmed on IDLE. >>> s = '' >>> for i in range(5): s += '\xe0' print(s) à àà àà àà àà >>> s = '' >>> for i in range(5): s += chr(0xe0) print(s) à àà àà àà àà >>> s = '' >>> for i in range(5): s += '

[issue25710] zipimport is not PEP 3147 or PEP 488 compliant

2015-11-23 Thread Robert Byrnes
New submission from Robert Byrnes: zipimport is not PEP 3147 compliant: i.e., it looks for foo.pyc (in the same directory as foo.py) instead of __pycache__/foo.cpython-35.pyc. This is counterintuitive, and unfortunate because it means that installation directories (that obey PEP 3147 conventi

[issue25704] Update the devguide to 3.5

2015-11-23 Thread Berker Peksag
Berker Peksag added the comment: I don't think most of the version numbers are very important here and I wouldn't change them unless there is a valid reason. > -3.4 and 3.5, first fix it in ``3.4`` and then merge ``3.4`` into ``default`` > -(which holds the future 3.5). > +3.5 and 3.6, first fi

[issue25704] Update the devguide to 3.5

2015-11-23 Thread Berker Peksag
Changes by Berker Peksag : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue4744] asynchat documentation needs to be more precise

2015-11-23 Thread Mark Lawrence
Mark Lawrence added the comment: Does it make sense to spend time updating the asychat docs when https://docs.python.org/3/library/asynchat.html states "Note. This module exists for backwards compatibility only. For new code we recommend using asyncio."? -- nosy: +BreamoreBoy ___

[issue25710] zipimport is not PEP 3147 or PEP 488 compliant

2015-11-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +brett.cannon, eric.snow, ncoghlan, serhiy.storchaka, twouters ___ Python tracker ___ ___ Pytho

[issue23914] pickle fails with SystemError

2015-11-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue25660] tabs don't work correctly in python repl

2015-11-23 Thread R. David Murray
R. David Murray added the comment: The thing is, when it is a regression it should be fixed before the release is issued, even if it is a more "minor" issue. Otherwise, especially in a x.y.1 release, we look pretty bad. However, this one had been broken in the field so long that rule doesn't

[issue25455] Some repr implementations don't check for self-referential structures

2015-11-23 Thread Eli Bendersky
Eli Bendersky added the comment: As I've mentioned elsewhere, I'll have to temporarily take myself off these issues as I don't have the time to work on them (even review patches). I think Raymond may have gotten his Stefans mixed up and meant Stefan Behnel, who's also been looking at etree pat

[issue25711] Rewrite zipimport from scratch

2015-11-23 Thread Brett Cannon
New submission from Brett Cannon: No one wants to work on zipimport, and yet it's full of bugs. It needs a rewrite so that it's more maintainable. An idea floated at PyCon 2015 was to writing the zip-reading code in C and to keep it as simple as possible -- e.g., don't worry about supporting c

[issue25455] Some repr implementations don't check for self-referential structures

2015-11-23 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: -eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue25710] zipimport is not PEP 3147 or PEP 488 compliant

2015-11-23 Thread Brett Cannon
Brett Cannon added the comment: Not finding bytecode files is not that big of a deal. While it's a very minor performance loss, it isn't critical to how Python works (and since it looks for bytecode-only files that use-case isn't broken either). But the real problem is that zipimport is such a

[issue25694] test.libregrtest not installed

2015-11-23 Thread R. David Murray
R. David Murray added the comment: It used to be there were also changes that needed to be made to the windows build files when a new directory was added. Nosying Steve in case this is still true, assuming there is an option to install the tests (which there might not be, I have no idea not b

[issue25704] Update the devguide to 3.5

2015-11-23 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Berker, Thank you for your review, > I don't think most of the version numbers are very important here and I > wouldn't change them unless there is a valid reason. My first opinion when I have read the documentation was "but this doc is out of date". It's

[issue4744] asynchat documentation needs to be more precise

2015-11-23 Thread R. David Murray
R. David Murray added the comment: Yes. The docs should be accurate, even if the module is deprecated. -- ___ Python tracker ___ ___ P

[issue25711] Rewrite zipimport from scratch

2015-11-23 Thread Robert Byrnes
Changes by Robert Byrnes : -- nosy: +byrnes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue4744] asynchat documentation needs to be more precise

2015-11-23 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Ok, in this case, I will provide the patch On 11/23, R. David Murray wrote: > > R. David Murray added the comment: > > Yes. The docs should be accurate, even if the module is deprecated. > > -- > > ___ > Python

[issue25712] Dead link in the PEP-3147

2015-11-23 Thread Stéphane Wirtel
New submission from Stéphane Wirtel: In the PEP-3147, there is a link to the marshal library. The link is dead because we get a 404 HTTP error. https://www.python.org/dev/peps/pep-3147/ The link is [2] : https://www.python.org/doc/current/library/marshal.html but the link gives a 404 -

[issue25697] Fix rough alphabetical order in Misc/ACKS

2015-11-23 Thread R. David Murray
R. David Murray added the comment: It says "rough" for a reason. The ascii-only changes are probably fine, but the non-ascii ones may not be (MvL in particular caught my eye, but there was another) may be correct as they stand since those two were consistent (at the end of the alphabet). I d

[issue4744] asynchat documentation needs to be more precise

2015-11-23 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Martin, About the patch of Nikita, this one has already been applied. I have checked the source. David, maybe we should close this issue. And open a new one if we find an other issue in the documentation. What do you suggest? Should I continue on this issue?

[issue25699] Easier way to specify reduced globals for doctest

2015-11-23 Thread R. David Murray
R. David Murray added the comment: I don't understand what the problem is you are trying to solve. Doctests are designed to run with a copy of the module global scope. If pyflakes does not understand that, it is a pyflakes bug, but it doesn't sound like that's the issue. It sounds like you

[issue25320] unittest loader.py TypeError when code directory contains a socket

2015-11-23 Thread Victor van den Elzen
Victor van den Elzen added the comment: Ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue25709] greek alphabet bug it is very disturbing...

2015-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is reproducer without IDLE. Looks as pickle is a culprit. >>> import pickle >>> s = '' >>> for i in range(5): ... s += chr(0xe0) ... print(len(s), s, s.encode(), repr(s)) ... print(' ', pickle.dumps(s)) ... 1 à b'\xc3\xa0' 'à'

[issue25694] test.libregrtest not installed

2015-11-23 Thread STINNER Victor
STINNER Victor added the comment: R. David Murray added the comment: > It used to be there were also changes that needed to be made to the windows > build files when a new directory was added. Nosying Steve in case this is > still true, assuming there is an option to install the tests (which t

[issue25697] Fix rough alphabetical order in Misc/ACKS

2015-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As Georg Brandl said in msg197962, "Löwis" should be sorted as "Loewis" according to German rules. -- ___ Python tracker ___

[issue25711] Rewrite zipimport from scratch

2015-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: FYI I'm at the early stage of rewriting zipimport in Python. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue25694] test.libregrtest not installed

2015-11-23 Thread Steve Dower
Steve Dower added the comment: Thanks. For 3.5 and later we automatically grab Lib/**/* (except *.py[co]), with Lib/test/**/* split out into a separate install option. I disliked the manual updating as much as everyone else did :) -- ___ Python trac

[issue4744] asynchat documentation needs to be more precise

2015-11-23 Thread R. David Murray
R. David Murray added the comment: If you've read through the asynchat docs and don't think any of the other mentions of string are incorrect or ambiguous, then we should close it. -- ___ Python tracker ___

[issue25697] Fix rough alphabetical order in Misc/ACKS

2015-11-23 Thread R. David Murray
R. David Murray added the comment: That would be being sure, then :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue25694] test.libregrtest not installed

2015-11-23 Thread R. David Murray
R. David Murray added the comment: Thanks for doing that, Steve. It would be lovely to fix the unix make too, but I'm sure there's a reason why it is currently done the way it is done and I don't feel like figuring out why so as to try to make things better :) --

[issue25711] Rewrite zipimport from scratch

2015-11-23 Thread Brett Cannon
Brett Cannon added the comment: Are you writing it in such a way that it can be bootstspped in with importlib so the stslib can be loaded from it? -- ___ Python tracker ___

[issue25709] greek alphabet bug it is very disturbing...

2015-11-23 Thread random832
random832 added the comment: I've looked at the raw bytes [through a ctypes pointer to id(s)] of a string affected by the issue, and decoded enough to be able to tell that the bad string has an incorrect UTF-8 length and data, which pickle presumably relies on. HEADlength..hash...

[issue4744] asynchat documentation needs to be more precise

2015-11-23 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: For my part, you can close this issue. I have read the asynchat.rst and asynchat.py files and think the rest of the documentation is clear. -- ___ Python tracker __

[issue25660] tabs don't work correctly in python repl

2015-11-23 Thread Yury Selivanov
Yury Selivanov added the comment: > At least it is better in 3.5 and only affects one platform now, instead of > all of them. No, it affects any platform where CPython is compiled with libedit instead of readline. And even if it was one platform - OS X is big, bigger than Windows probably in

[issue25660] tabs don't work correctly in python repl

2015-11-23 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue25709] greek alphabet bug it is very disturbing...

2015-11-23 Thread Eryk Sun
Eryk Sun added the comment: unicode_modifiable in Objects/unicodeobject.c should return 0 if there's cached PyUnicode_UTF8 data. In this case PyUnicode_Append won't operate in place but instead concatenate a new string. -- nosy: +eryksun ___ Python

[issue25710] zipimport is not PEP 3147 or PEP 488 compliant

2015-11-23 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- nosy: +matrixise ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue25709] greek alphabet bug it is very disturbing...

2015-11-23 Thread random832
random832 added the comment: I can't reproduce without pickle. I did some further digging, though, and it *looks like*... 1. Pickle causes the built-in UTF-8 representation of a string to be populated, whereas encode('utf-8') does not. Can anyone think of any other operations that do this? 2.

[issue25713] Setuptools included with 64-bit Windows installer is outdated

2015-11-23 Thread James Paget
New submission from James Paget: This applies to Python 3.5.1rc1 only. The Windows 64-bit standalone installer installs setuptools 18.2, but the latest version is 18.5. It should be noted that the Python 2.7.11rc1 Windows 64-bit standalone installer installs setuptools 18.5. Other Python 3.

[issue5680] Command-line arguments when running in IDLE

2015-11-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Today on SO: https://stackoverflow.com/questions/33866724/read-data-from-file-idle. Person writing script to open a file given on command line asks 'How to test from IDLE?' He found PyCharm, but I would like to add a better answer than the workaround I gave

[issue25704] Update the devguide to 3.5

2015-11-23 Thread Berker Peksag
Berker Peksag added the comment: > My first opinion when I have read the documentation was "but this doc is out > of date". Yes, some parts of the devguide is outdated and I already gave +1 to update those parts. But most of the other changes are use 3.4 as an example so changing it to 3.5 wo

[issue25714] Consider isinstance(..., numbers.Integral) instead of isinstance(..., int) or isinstance(..., (int, long)) in datetime.py

2015-11-23 Thread Matt Bogosian
New submission from Matt Bogosian: datetime.py is peppered with ``assert`` statements that are two restrictive. Specifically, ``isinstance(..., int)`` does not afford compatibility with alternate ``int``-like implementations (e.g., ``future.types.newint``). Some background: * https://github.c

[issue25709] greek alphabet bug it is very disturbing...

2015-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, I have came to the same as random832. String objects have "fast path" for concatenating, and in this path cached UTF8 representation is not cleaned. Pickle is one of simplest ways to reproduce this issue. May be it can be reproduced with compile() or ty

[issue16123] IDLE - deprecate running without a subprocess

2015-11-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have some different ideas for this issue that would not necessarily involve removing -n. While -n is can be an inferior experience for users (user code blocks the GUI, other interference, especially tkinter), the reason given for deprecation is to simplify

[issue25709] Problem with string concatenation and utf-8 cache.

2015-11-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: It would be good to get this in 3.4.4. -- components: +Library (Lib) -IDLE nosy: +benjamin.peterson, ezio.melotti, haypo, lemburg, pitrou -kbk, roger.serwy title: greek alphabet bug it is very disturbing... -> Problem with string concatenation and utf-8

[issue5680] Command-line arguments when running in IDLE

2015-11-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: When file is run with command line args, it might be nice to add an additional separator line with the line entered. That way, if someone ran a series of experiments with different command lines, they would have the command line and output together as docume

[issue8256] input() doesn't catch _PyUnicode_AsString() exception; io.StringIO().encoding is None

2015-11-23 Thread Erik Bray
Erik Bray added the comment: I just recently discovered this myself. In the process of debugging the issue I also noticed the same bug that is now fixed via Issue 24402. While I agree that Issue 24402 mostly mitigates the issue I think this patch is still worthwhile, as the current behavior s

[issue25709] Problem with string concatenation and utf-8 cache.

2015-11-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added test without using pickle. -- nosy: +larry priority: high -> release blocker Added file: http://bugs.python.org/file41141/issue25709_2.patch ___ Python tracker

[issue25709] Problem with string concatenation and utf-8 cache.

2015-11-23 Thread Eryk Sun
Eryk Sun added the comment: Serhiy, when does sharing UTF-8 data occur in a compact object? It has to be ASCII since non-ASCII UTF-8 isn't sharable, but PyASCIIObject doesn't have the utf8 field. So it has to be a PyCompactUnicodeObject. But isn't ASCII always allocated as a PyASCIIObject? I n

  1   2   >