[issue22621] Please make it possible to make the output of hash() equal between 32 and 64 bit architectures

2014-10-12 Thread Georg Brandl
Georg Brandl added the comment: While I can feel your pain regarding the use case you describe, I don't think this has enough general value to add to CPython. It is not really related to PYTHONHASHSEED, since we never made guarantees about hash values being stable across platforms and Python

[issue17667] Windows: build with "build_pgo.bat -2" fails to optimize python.dll

2014-10-12 Thread Anselm Kruis
Anselm Kruis added the comment: It's indeed a very low priority issue. You mention VS2008 and VS2010 PGO compiler bugs. I'm aware of the VS 2010 bugs, but I didn't observe any VS 2008 PGO bug with Python 2.7. Are you aware of any publicly available bug reports? About the black/white list. I s

[issue22620] pythonw does not open on windows 8.1 x64

2014-10-12 Thread Cristian Baboi
Cristian Baboi added the comment: I don't know if it is a documentation error for I've not read it yet. Maybe the best way is to put a shortcut to idle in the main directory where the python is. On 12 octombrie 2014 22:43:48 EEST, "R. David Murray" wrote: > >R. David Murray added the comment:

[issue22621] Please make it possible to make the output of hash() equal between 32 and 64 bit architectures

2014-10-12 Thread josch
New submission from josch: I recently realized that the output of the following is different between 32 bit and 64 bit architectures: PYTHONHASHSEED=0 python3 -c 'print(hash("a"))' In my case, I'm running some test cases which involve calling a Python module which creates several hundred mega

[issue21907] Update Windows build batch scripts

2014-10-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1d5485471457 by Zachary Ware in branch 'default': Issue #21907: Partially revert changes to Windows buildbot scripts. https://hg.python.org/cpython/rev/1d5485471457 -- ___ Python tracker

[issue12067] Doc: remove errors about mixed-type comparisons.

2014-10-12 Thread Martin Panter
Martin Panter added the comment: Maybe it would be wise to split this task up and commit the bits that don’t need any more work. I think the existing patch might already solve Issue 22001. -- ___ Python tracker __

[issue22001] containers "same" does not always mean "__eq__".

2014-10-12 Thread Martin Panter
Martin Panter added the comment: Issue 12067 has a large patch in progress that would conflict with the changes suggested here. However most of the concerns here may already be addressed there, if the patch ever goes ahead. -- nosy: +vadmium ___ Pyt

[issue22614] Idle: problem in PyShellEditorWindow.color_breakpoint_text

2014-10-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue22614] Idle: problem in PyShellEditorWindow.color_breakpoint_text

2014-10-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset a4c1c9b534a2 by Terry Jan Reedy in branch '2.7': Issue #22614: Don't try to update deleted text. Patch by Serhiy Storchaka. https://hg.python.org/cpython/rev/a4c1c9b534a2 New changeset d686de84dc10 by Terry Jan Reedy in branch '3.4': Issue #22614:

[issue21986] Idle: disable pickleability of user code objects

2014-10-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that a test for dumps would be a good idea. Ditto for hundreds of other untested functions. I don't see this one as a priority. PyShell imports non-idlelib modules, including re, before idlelib modules, such as rpc. So the re addition is there, thou

[issue11664] Add patch method to unittest.TestCase

2014-10-12 Thread Martin Panter
Martin Panter added the comment: [padding to avoid UTF-8 error with bug tracker] See also Issue 22374, where an equivalent of “patch.object” is suggested as an example context manager for the “contextlib” documentation. If we added a plain function or context manager rather than a new TestCase

[issue13664] UnicodeEncodeError in gzip when filename contains non-ascii

2014-10-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: I rechecked and test_gzip passes on 2.7 Win7, I checked revision history and this is the only gzip or test_gzip patch for several months. -- ___ Python tracker ___

[issue22559] [backport] ssl.MemoryBIO

2014-10-12 Thread Alex Gaynor
Alex Gaynor added the comment: Would you be ok with it going into 2.7.10? The biggest argument in favor of this is that it significantly reduces the diff between 2.x and 3.x's SSL module, specifically it removes the one major difference between the two of them. -- ___

[issue11664] Add patch method to unittest.TestCase

2014-10-12 Thread Ezio Melotti
Ezio Melotti added the comment: I'm -0.5 on this as well, and agree that we should try to keep the TestCase API small. On one hand, a patch method available without extra imports would be handy, and having this as a generic function/method in unittest seems more natural to me than having it i

[issue13664] UnicodeEncodeError in gzip when filename contains non-ascii

2014-10-12 Thread koobs
koobs added the comment: koobs@10-STABLE-amd64:~ % locale LANG= LC_CTYPE="C" LC_COLLATE="C" LC_TIME="C" LC_NUMERIC="C" LC_MONETARY="C" LC_MESSAGES="C" LC_ALL= -- ___ Python tracker _

[issue11664] Add patch method to unittest.TestCase

2014-10-12 Thread Robert Collins
Robert Collins added the comment: FWIW I'd really like to be reducing the TestCase API not extending it - particularly since there are lots of good convenient ways of doing this already (not least mock.patch/mock.patch.object). So I'm -0.5 on adding this, as I don't see it adding value. That s

[issue13664] UnicodeEncodeError in gzip when filename contains non-ascii

2014-10-12 Thread Ezio Melotti
Changes by Ezio Melotti : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue13664] UnicodeEncodeError in gzip when filename contains non-ascii

2014-10-12 Thread koobs
koobs added the comment: This broke a FreeBSD buildbot (koobs-freebsd10), complete log attached. -- nosy: +koobs Added file: http://bugs.python.org/file36893/koobs-freebsd10-build-742.log ___ Python tracker ___

[issue22599] traceback: errors in the linecache module at exit

2014-10-12 Thread STINNER Victor
STINNER Victor added the comment: > Alternative solution of this issue would be to use "from builtins import open > as _open" instead of "import builtins". Right. I prefer your solution because it's much simpler, it doesn't make traceback less usable at exit, and it doesn't need to make assump

[issue11664] Add patch method to unittest.TestCase

2014-10-12 Thread Michael Foord
Michael Foord added the comment: The patch (including lazy import) looks good, and the test looks ok too. I still think that patch should be the default instead of patch.object - although I wouldn't object to a second method (name?) if there was significant demand. --

[issue20567] test_idle causes test_ttk_guionly 'can't invoke "event" command: application has been destroyed' messages from Tk

2014-10-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: You left this issue number off your tkinter test updates, such as f6f098bdb843. By using .update_idletasks instead of .update, are you assuming that their are no user events, or that they should be ignormed? I was wondering whether it would be Ok, if not a go

[issue22390] test.regrtest should complain if a test doesn't remove temporary files

2014-10-12 Thread STINNER Victor
STINNER Victor added the comment: > This allow other tests which leaks the same file to be reported too. I don't understand your answer. The "fn.startswith(support.TESTFN)" test is not used in get_files(). If I understood correctly, your patch changes two things: - it now reports files create

[issue21603] IDLE: Document SaveAs extension display on Mac

2014-10-12 Thread Ned Deily
Ned Deily added the comment: If Raymond concurs that either unchecking the Hide Extensions option or checking the Show All Filenmame Extensions preference solves the problem for him, we should just close this issue. In this particular case, the file is actually saved with a .py extension; it'

[issue22620] pythonw does not open on windows 8.1 x64

2014-10-12 Thread R. David Murray
R. David Murray added the comment: I'm going to close this, then. If you think there's a documentation issue we can reopen it. -- nosy: +r.david.murray resolution: -> not a bug stage: -> resolved status: open -> closed type: crash -> behavior ___

[issue22620] pythonw does not open on windows 8.1 x64

2014-10-12 Thread Cristian Baboi
Cristian Baboi added the comment: Sorry! I launched pythonw without ascript. I found idle and it works. -- ___ Python tracker ___ ___

[issue22390] test.regrtest should complain if a test doesn't remove temporary files

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: How about regrtest_warn_lost_files.patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue13664] UnicodeEncodeError in gzip when filename contains non-ascii

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Terry for the review. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ __

[issue13664] UnicodeEncodeError in gzip when filename contains non-ascii

2014-10-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 272c78c9c47e by Serhiy Storchaka in branch '2.7': Issue #13664: GzipFile now supports non-ascii Unicode filenames. https://hg.python.org/cpython/rev/272c78c9c47e -- nosy: +python-dev ___ Python tracker <

[issue20815] ipaddress unit tests PEP8

2014-10-12 Thread R. David Murray
R. David Murray added the comment: Since ipaddress is relatively new, the package maintainers approved the patch, and it is mostly blank lines (and therefore not a problem with annotate) I committed this. Thank Michel. -- nosy: +r.david.murray resolution: -> fixed stage: commit review

[issue20815] ipaddress unit tests PEP8

2014-10-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 27a02eb9273f by R David Murray in branch '3.4': #20815: small readability improvements in ipaddress tests. https://hg.python.org/cpython/rev/27a02eb9273f New changeset 4c9d27eef892 by R David Murray in branch 'default': #20815: small readability imp

[issue22620] pythonw does not open on windows 8.1 x64

2014-10-12 Thread Vandana Rao
Vandana Rao added the comment: I had the same problem. I assume that you are using IDLE. Hopefully it works. -- nosy: +Vandana.Rao ___ Python tracker ___

[issue22620] pythonw does not open on windows 8.1 x64

2014-10-12 Thread Mark Lawrence
Mark Lawrence added the comment: The purpose of pythonw is to run GUI scripts without having a console. How are you trying to run it, what do you expect to happen and what actually happens? I'm assuming that you mean 3.4 as 3.5 hasn't been released yet. -- nosy: +BreamoreBoy ___

[issue22609] Constructors of some mapping classes don't accept `self` keyword argument

2014-10-12 Thread Ethan Furman
Ethan Furman added the comment: I will take a look. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue22620] pythonw does not open on windows 8.1 x64

2014-10-12 Thread Cristian Baboi
Cristian Baboi added the comment: I tried both 2.7 and 3.5 versions and none of them works -- ___ Python tracker ___ ___ Python-bugs-l

[issue13096] ctypes: segfault with large POINTER type names

2014-10-12 Thread R. David Murray
R. David Murray added the comment: Committed. -- nosy: +r.david.murray resolution: -> fixed stage: commit review -> resolved status: open -> closed versions: +Python 3.4 ___ Python tracker

[issue13096] ctypes: segfault with large POINTER type names

2014-10-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset e940bb13d010 by R David Murray in branch '3.4': #13096: Fix segfault in CTypes POINTER handling of large values. https://hg.python.org/cpython/rev/e940bb13d010 New changeset 02c9c3204a04 by R David Murray in branch 'default': Merge: #13096: Fix segf

[issue13664] UnicodeEncodeError in gzip when filename contains non-ascii

2014-10-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: fine with me -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mai

[issue22620] pythonw does not open on windows 8.1 x64

2014-10-12 Thread Cristian Baboi
New submission from Cristian Baboi: I've just installed the latest python on windows 8.1 x64 version and it does not start. The console version works -- ___ Python tracker ___ _

[issue22620] pythonw does not open on windows 8.1 x64

2014-10-12 Thread Cristian Baboi
Changes by Cristian Baboi : -- components: Windows nosy: Cristian.Baboi priority: normal severity: normal status: open title: pythonw does not open on windows 8.1 x64 type: crash versions: Python 3.5 ___ Python tracker

[issue22619] Possible implementation of negative limit for traceback functions

2014-10-12 Thread Dmitry Kazakov
Dmitry Kazakov added the comment: Thanks. I replied to your comments at Retvield. I'll update the patch tomorrow. -- ___ Python tracker ___ __

[issue20567] test_idle causes test_ttk_guionly 'can't invoke "event" command: application has been destroyed' messages from Tk

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: These messages are produced because there are non-handled events of destroyed root widget. They are handled when update() is called for other root widget. To get rid of them you should call update_idletasks() before destroying root widget. -- _

[issue17325] improve organization of the PyPI distutils docs

2014-10-12 Thread R. David Murray
R. David Murray added the comment: Committed. I changed the urls as suggested by Antoine. I also added a link to the test pypi page, though I'm not sure what I did is exactly what Antoine had in mind. -- nosy: +r.david.murray resolution: -> fixed stage: commit review -> resolved sta

[issue22619] Possible implementation of negative limit for traceback functions

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have added comments on Retvield (a system for patch reviewing). You should receive an email about this. In general the patch is not optimal. There is no need to load source lines for dropped entries. -- ___ Pyt

[issue17325] improve organization of the PyPI distutils docs

2014-10-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 12536a991007 by R David Murray in branch '3.4': #17325: Improve distutils PyPI documentation. https://hg.python.org/cpython/rev/12536a991007 New changeset 8e4afcaa196c by R David Murray in branch 'default': Merge: #17325: Improve distutils PyPI docu

[issue21603] IDLE: Document SaveAs extension display on Mac

2014-10-12 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: >>Saimadhav, can you quickly try Save As with x.py on Linux? with files of type python: filename stored on disk -> x.py with all files type : filename stored on disk -> x.py -- ___ Python tracker

[issue11973] kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

2014-10-12 Thread R. David Murray
R. David Murray added the comment: Committed the test finally. Thanks, David. -- nosy: +r.david.murray stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue11973] kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

2014-10-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 35542a32cd54 by R David Murray in branch '3.4': #11973: add test for previously fixed kevent signed/unsigned bug. https://hg.python.org/cpython/rev/35542a32cd54 New changeset a028299c9bc2 by R David Murray in branch 'default': Merge: #11973: add tes

[issue22619] Possible implementation of negative limit for traceback functions

2014-10-12 Thread Dmitry Kazakov
Changes by Dmitry Kazakov : -- keywords: +patch Added file: http://bugs.python.org/file36891/9f618a0c2880.diff ___ Python tracker ___

[issue22619] Possible implementation of negative limit for traceback functions

2014-10-12 Thread Dmitry Kazakov
Dmitry Kazakov added the comment: Sorry, first time posting here; accidently pressed Enter. -- hgrepos: +275 ___ Python tracker ___ __

[issue20335] bytes constructor accepts more than one argument even if the first one is not a string

2014-10-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue20596] Support for alternate wcstok syntax for Windows compilers

2014-10-12 Thread R. David Murray
R. David Murray added the comment: Moving this back to 'patch review' stage since there's a new patch that hasn't been reviewed. Perhaps this 'ping' will result in someone doing the review (so, no, the issue isn't dead, just sleeping :) -- nosy: +r.david.murray stage: commit review ->

[issue22619] Possible implementation of negative limit for traceback functions

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You forgot a patch. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing

[issue17293] uuid.getnode() MAC address on AIX

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > The code you *add in this patch* uses os.popen, why not use subprocess > instead? Added code is just modified copy of existing code. > Furthermore, the code catches OSError when calling popen(), but popen() doesn't raise an exception. It can raise an exce

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

2014-10-12 Thread R. David Murray
R. David Murray added the comment: Berker: the patch doesn't apply cleanly any more. Also, about the test_bad_timezone modification...what about the previous check that the tzname wasn't in UTC/GMT? Isn't that still needed? Or perhaps better yet, an additional @run_with_tz decorator? (Note

[issue10769] ast: provide more useful range information

2014-10-12 Thread R. David Murray
R. David Murray added the comment: Thanks. -- stage: needs patch -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue22618] urllib.parse.parse_qsl different results after urllib.parse.unquote

2014-10-12 Thread Alex Vaystikh
Alex Vaystikh added the comment: It is much clearer after your insight: - I wasn't aware that 'parse_qs' unquotes values. That's most helpful! - I had no idea what 'keep_blank_values' were before your example, but now it couldn't be more obvious. I know that adding that example to docs would've

[issue22619] Possible implementation of negative limit for traceback functions

2014-10-12 Thread Dmitry Kazakov
New submission from Dmitry Kazakov: This is the possible patch for this proposal: https://mail.python.org/pipermail/python-ideas/2014-October/029826.html. -- components: Library (Lib) messages: 229167 nosy: vlth priority: normal severity: normal status: open title: Possible implementati

[issue22619] Possible implementation of negative limit for traceback functions

2014-10-12 Thread Dmitry Kazakov
Dmitry Kazakov added the comment: def _extract_tb_or_stack_iter(curr, limit, extractor): # Distinguish frames from tracebacks (need to import types) if limit is None: limit = getattr(sys, 'tracebacklimit', None) elif limit < 0 and isinstance(curr, types.TracebackType):

[issue22526] file iteration SystemError for huge lines (2GiB+)

2014-10-12 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue7665] test_urllib2 and test_ntpath fail if path contains "\"

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is an attempt to reproduce my patch. -- Added file: http://bugs.python.org/file36890/issue7665.patch ___ Python tracker ___ __

[issue10769] ast: provide more useful range information

2014-10-12 Thread Sven Brauch
Sven Brauch added the comment: Yes, this issue can be closed. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue22616] Allow connecting AST nodes with corresponding source ranges

2014-10-12 Thread R. David Murray
R. David Murray added the comment: OK, reading the followon links just added to issue issue 10769, it seems clear you don't need to advocate for the idea of supporting external tools, there seems to be consensus agreement for that. So now it is down to specific proposals and patches. And rev

[issue17293] uuid.getnode() MAC address on AIX

2014-10-12 Thread STINNER Victor
STINNER Victor added the comment: +cmd = 'LC_ALL=C %s %s 2>/dev/null' % (executable, '-ia') It's safer to use the subprocess module instead of using a shell (see the recent Shellshock story) to change the environment variables and to redirect stderr. subprocess now has a convinient subproc

[issue17293] uuid.getnode() MAC address on AIX

2014-10-12 Thread STINNER Victor
STINNER Victor added the comment: FYI os.popen() now calls subprocess... So it's safe to call directly subprocess. -- nosy: +haypo ___ Python tracker ___

[issue7665] test_urllib2 and test_ntpath fail if path contains "\"

2014-10-12 Thread STINNER Victor
STINNER Victor added the comment: > Oh-oh, I didn't attached my patch and cleared my working space. Too bad. I did the same mistake yesterday :-/ -- ___ Python tracker ___ __

[issue17293] uuid.getnode() MAC address on AIX

2014-10-12 Thread Charles-François Natali
Charles-François Natali added the comment: Why is that a different issue? The code you *add in this patch* uses os.popen, why not use subprocess instead? Furthermore, the code catches OSError when calling popen(), but popen() doesn't raise an exception. -- _

[issue7665] test_urllib2 and test_ntpath fail if path contains "\"

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh-oh, I didn't attached my patch and cleared my working space. -- ___ Python tracker ___ ___ Pytho

[issue10769] ast: provide more useful range information

2014-10-12 Thread R. David Murray
R. David Murray added the comment: OK, so that patch was committed. Does that mean this one can be close? (I'm not familiar with the code in question.) -- ___ Python tracker _

[issue22618] urllib.parse.parse_qsl different results after urllib.parse.unquote

2014-10-12 Thread R. David Murray
R. David Murray added the comment: Eh, that "Isn't it obvious" comment was uncalled for. Of course it isn't obvious, especially when the docs are unclear. -- ___ Python tracker ___

[issue22618] urllib.parse.parse_qsl different results after urllib.parse.unquote

2014-10-12 Thread R. David Murray
R. David Murray added the comment: Isn't it obvious that you have to parse before you unquote? That's the purpose of quoting, after all. I suppose that is one of those "beginner mind" things that is obvious only because I'm an experienced programmer...and that there are web servers that do i

[issue13664] UnicodeEncodeError in gzip when filename contains non-ascii

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I there are no objections I'll commit the patch soon. -- ___ Python tracker ___ ___ Python-bugs-li

[issue17293] uuid.getnode() MAC address on AIX

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is different issue and can be applied only to 3.5. -- ___ Python tracker ___ ___ Python-bugs-

[issue17293] uuid.getnode() MAC address on AIX

2014-10-12 Thread Charles-François Natali
Charles-François Natali added the comment: My only comment would be to use subprocess instead of os.popen(). -- ___ Python tracker ___ ___

[issue22616] Allow connecting AST nodes with corresponding source ranges

2014-10-12 Thread R. David Murray
R. David Murray added the comment: The "python develop team" is a group of volunteers. What you need to do to move this forward is to work on patches (or polishing patches, in the case of issue 16806) for open issues for which there has been no objection, and build a consensus for fixing the

[issue13664] UnicodeEncodeError in gzip when filename contains non-ascii

2014-10-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17293] uuid.getnode() MAC address on AIX

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If there are no objections, I'll commit the patch soon. -- ___ Python tracker ___ ___ Python-bugs-

[issue21842] Fix IDLE in unicodeless build

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Most tests which detects no-unicode build, assume that the unicode doesn't exist. It can be confused to introduce faked public (non-underscored) name. -- ___ Python tracker

[issue10769] ast: provide more useful range information

2014-10-12 Thread Sven Brauch
Sven Brauch added the comment: Hi, Mailing list thread: https://mail.python.org/pipermail/python-dev/2012-December/123320.html Discussion on the patch: http://bugs.python.org/issue16795 Greetings, Sven -- ___ Python tracker

[issue10769] ast: provide more useful range information

2014-10-12 Thread R. David Murray
R. David Murray added the comment: If there was a python-ideas or python-dev thread that resulted in consensus approval of this change, can someone post a link to it? -- nosy: +r.david.murray ___ Python tracker __

[issue18873] "Encoding" detected in non-comment lines

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I haven't fixed all bugs in handling encoding cookie yet (there are separate issues). Well, this issue can be closed, I'll open new issue about the PEP when will be needed. The PEP should be corrected because it affects how other Python implementations and o

[issue22526] file iteration SystemError for huge lines (2GiB+)

2014-10-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset be600ea4ad13 by Serhiy Storchaka in branch '2.7': Fixed and optimized a test of issue #22526. https://hg.python.org/cpython/rev/be600ea4ad13 -- ___ Python tracker

[issue22586] urljoin allow_fragments doesn't work

2014-10-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9eed2e7fa764 by Georg Brandl in branch '3.4': Closes #22586: clarify meaning of allow_fragments in urlparse. https://hg.python.org/cpython/rev/9eed2e7fa764 New changeset c2eda29a8ccb by Georg Brandl in branch '2.7': Closes #22586: clarify meaning of

[issue22618] urllib.parse.parse_qsl different results after urllib.parse.unquote

2014-10-12 Thread Alex Vaystikh
Changes by Alex Vaystikh : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue22618] urllib.parse.parse_qsl different results after urllib.parse.unquote

2014-10-12 Thread Alex Vaystikh
New submission from Alex Vaystikh: parsing query-string before and after cleaning with urllib.parse.unquote can have very different results: http://nbviewer.ipython.org/gist/bornio/e112e6d8d04dfed898c8 Perhaps it should be better documented, or make the method more idempotent? -- comp

[issue5700] io.FileIO calls flush() after file closed

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yet one related bug is that flush() isn't called at all if the file was opened with closefd=False. >>> import io, os >>> class MyIO(io.FileIO): ... def flush(self): ... print('closed:', self.closed) ... >>> fd = os.open('test.out', os.O_WRONLY|os

[issue22617] spam

2014-10-12 Thread Georg Brandl
Changes by Georg Brandl : -- Removed message: http://bugs.python.org/msg229142 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue22617] spam

2014-10-12 Thread Georg Brandl
Changes by Georg Brandl : -- title: Jobs Opportunities in France/Canada -> spam ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue22617] Jobs Opportunities in France/Canada

2014-10-12 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> not a bug status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19232] Speed up _decimal import

2014-10-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 75b5617b8dfc by Stefan Krah in branch 'default': Issue #19232: Fix sys.modules lookup (--without-threads) https://hg.python.org/cpython/rev/75b5617b8dfc -- ___ Python tracker

[issue11664] Add patch method to unittest.TestCase

2014-10-12 Thread Julian Berman
Julian Berman added the comment: My opinion is already here re: patch vs patch.object, so I won't repeat it, but @Michael, if you really want .patch, are you open to adding .patch_object as well? (Regardless, thanks for working on this Julien.) --

[issue21986] Idle: disable pickleability of user code objects

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It would be good to add a test of rpc.dumps(). Current code copies copyreg.dispatch_table at the moment of rpc import. But it can be changed later and these change will not affect private copy. For example the re module adds pickleability of compiled regex p

[issue22616] Allow connecting AST nodes with corresponding source ranges

2014-10-12 Thread Edward K. Ream
Edward K. Ream added the comment: I urge the Python development team to fix this and the related bugs given in the Post Script. The lack of an easy way of associating ast nodes with text ranges in the original sources is arguably the biggest hole in the Python api. These bugs have immediate, s

[issue22614] Idle: problem in PyShellEditorWindow.color_breakpoint_text

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which should fix this issue. The same solution already is used in restore_file_breaks(). -- keywords: +patch Added file: http://bugs.python.org/file36888/issue22614.patch ___ Python tracker

[issue21603] IDLE: Document SaveAs extension display on Mac

2014-10-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: (I moved the commit message) I am assuming that Ned is correct. I think we should start documenting system peculiarities like this. I changed the title and will leave this open for this purpose. -- title: IDLE SaveAs drops the extension in the promp

[issue15363] Idle/tkinter ~x.py 'save as' fails. closes idle

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I meant "save as ~x.py", without the "./" prefix. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue15363] Idle/tkinter ~x.py 'save as' fails. closes idle

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Interesting, that "save as" ./~x.py works when the "~x.py" file exists and doesn't work (press the "Save" button has no any effect at all, even doesn't close a dialog) when it does not exist on Linux. -- ___ Pytho

[issue4832] IDLE does not supply a default ext of .py on Windows or OS X for new file saves

2014-10-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Misdirected push message copied here. New changeset 69cdf71bda12 by Terry Jan Reedy in branch '2.7': Issue #3832: backport 677a9326b4d4 to 2.7 (and delete some obsolete code). https://hg.python.org/cpython/rev/69cdf71bda12 -- ___

[issue3832] add force_shared Library option to create shared lib even with use_stub=False

2014-10-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg228637 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue22614] Idle: problem in PyShellEditorWindow.color_breakpoint_text

2014-10-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Makes sense now. Large file relative to machine speed + quick close click = close (at least to point of destruction of self.text) before initialization is complete. Hence continued initialization fails. Yes, when closing crashed in Multicall, would not see in

[issue21603] IDLE SaveAs drops the extension in the prompted filename

2014-10-12 Thread Ned Deily
Ned Deily added the comment: Thanks, Raymond. Upon further investigation, I think you are running into a user-wide behavior of OS X rather than specifically a Tk or IDLE issue. By tradition and by default, OS X tries to hide file extensions in file Open or Save dialogs; this dates back to th

  1   2   >