[issue20383] Add a keyword-only spec argument to types.ModuleType

2014-05-26 Thread Eric Snow
Eric Snow added the comment: Okay, I didn't read closely enough. :) It may be worth updating the title. FWIW, the name module_from_spec confused me at first because my brain interpreted that as load_from_spec. Keeping the name and purpose more focused might be helpful. I have comments

[issue21235] importlib's spec module create algorithm is not exposed

2014-05-26 Thread Eric Snow
Eric Snow added the comment: How about this replacement for direct use of Loader.load_module(): # in importlib.util def load(spec_or_name, /, **kwargs): # or load_from_spec if isinstance(spec_or_name, str): name = spec_or_name if not kwargs: raise

[issue21579] Python 3.4: tempfile.close attribute does not work

2014-05-26 Thread Berker Peksag
Berker Peksag added the comment: See issue 18879 for more information about the change. -- nosy: +berker.peksag, pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21579 ___

[issue18879] tempfile.NamedTemporaryFile can close the file too early, if not assigning to a variable

2014-05-26 Thread Марк Коренберг
Марк Коренберг added the comment: Is issue 21579 fixed in that bug? too many letters..sorry... -- nosy: +mmarkk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18879 ___

[issue8743] set() operators don't work with collections.Set instances

2014-05-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset cd8b5b5b6356 by Raymond Hettinger in branch '3.4': Issue 8743: Improve interoperability between sets and the collections.Set abstract base class. http://hg.python.org/cpython/rev/cd8b5b5b6356 -- ___

[issue21481] Argpase Namespace object methods __eq__ and __ne__ raise TypeError when comparing to None

2014-05-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset ba84d1e9a742 by Raymond Hettinger in branch '2.7': Issue #21481: Teach argparse equality tests to return NotImplemented when comparing to unknown types. http://hg.python.org/cpython/rev/ba84d1e9a742 -- nosy: +python-dev

[issue21481] Argpase Namespace object methods __eq__ and __ne__ raise TypeError when comparing to None

2014-05-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 510c8dc38749 by Raymond Hettinger in branch '3.4': Issue #21481: Teach argparse equality tests to return NotImplemented when comparing to unknown types. http://hg.python.org/cpython/rev/510c8dc38749 --

[issue21481] Argpase Namespace object methods __eq__ and __ne__ raise TypeError when comparing to None

2014-05-26 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21481 ___

[issue13212] json library is decoding/encoding when it should not

2014-05-26 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: rhettinger - bob.ippolito nosy: +bob.ippolito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13212 ___

[issue13212] json library is decoding/encoding when it should not

2014-05-26 Thread Bob Ippolito
Bob Ippolito added the comment: As Chris Rebert mentioned, the JSON standards have adopted this (unsurprising) behavior. Ruby hasn't, and I doubt Crockford has, but I think they're in the minority at this point. JavaScript's own JSON implementation works the same way json/simplejson does.

[issue13212] json library is decoding/encoding when it should not

2014-05-26 Thread Bob Ippolito
Bob Ippolito added the comment: In other words, I would consider this to be fixed by the documentation change made elsewhere. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13212 ___

[issue8743] set() operators don't work with collections.Set instances

2014-05-26 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8743 ___

[issue21575] list.sort() should show arguments in tutorial

2014-05-26 Thread Jan-Philip Gehrcke
Jan-Philip Gehrcke added the comment: I have updated the patch with a cross-reference to the sorted() built-in, which explains the arguments. W.r.t. to Éric's suggestion: the sorted() doc refers to the sorting howto in the wiki. Now everything is connected. -- Added file:

[issue21575] list.sort() should show arguments in tutorial

2014-05-26 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: docs@python - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21575 ___

[issue21580] PhotoImage(data=...) apparently has to be UTF-8 or Base-64 encoded

2014-05-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +gpolo, serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21580 ___ ___

[issue21579] Python 3.4: tempfile.close attribute does not work

2014-05-26 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +georg.brandl, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21579 ___ ___

[issue20664] _findLib_crle and _get_soname broken on latest SunOS 5.11

2014-05-26 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20664 ___

[issue21560] gzip.write changes trailer ISIZE field before type checking - corrupted gz file after trying to write string

2014-05-26 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21560 ___ ___ Python-bugs-list

[issue13355] random.triangular error when low = high=mode

2014-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Note the catch on 2.7. triangular(10, 10.0) returns 10.0, but triangular(10, 10.0, 10.0) returns 10. If then you divide by the result... I proposed change return low to return low + 0.0. -- ___ Python tracker

[issue21579] Python 3.4: tempfile.close attribute does not work

2014-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In any case this trick didn't work on Windows. And it can't work on Linux too when use new O_TMPFILE flag (issue21515). -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org

[issue21579] Python 3.4: tempfile.close attribute does not work

2014-05-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21579 ___ ___ Python-bugs-list

[issue21579] Python 3.4: tempfile.close attribute does not work

2014-05-26 Thread Марк Коренберг
Марк Коренберг added the comment: Yes, but O_TMPFILE should be set ONLY when used with TemporaryFile, not with NamedTemporaryFile. My problem refer only NamedTemporaryFile. -- ___ Python tracker rep...@bugs.python.org

[issue21578] Misleading error message when ImportError called with invalid keyword args

2014-05-26 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch with a simple test case. -- keywords: +patch nosy: +berker.peksag stage: needs patch - patch review Added file: http://bugs.python.org/file35366/issue21578.diff ___ Python tracker rep...@bugs.python.org

[issue21054] Improve indexing of syntax symbols

2014-05-26 Thread Ezio Melotti
Ezio Melotti added the comment: All the current dependences are currently fixed. Are you planning to add more in the future or can this issue be closed? -- assignee: - docs@python components: +Documentation nosy: +docs@python, ezio.melotti type: - enhancement

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2014-05-26 Thread Sunny K
Sunny K added the comment: Hi Stefan, I've added a new patch which only adds _fields, combining parts from my earlier patch and Andrew's (his patch does not account for visible unnamed fields). -- Added file: http://bugs.python.org/file35367/structseq_fields.patch

[issue21072] Python docs and downloads not available for Egypt

2014-05-26 Thread Ezio Melotti
Ezio Melotti added the comment: IIUC there was a similar issue from China, and on the old site we fixed it by adding http://legacy.python.org/getit/. I don't know what was made to this page to make it work from China and if it still exists on the new website, but maybe the same trick could be

[issue21077] Turtle Circle Speed 0

2014-05-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - needs patch type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21077 ___

[issue21310] ResourceWarning when open() fails with io.UnsupportedOperation: File or stream is not seekable

2014-05-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +haypo, pitrou, serhiy.storchaka type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21310 ___

[issue21429] Input.output error with multiprocessing

2014-05-26 Thread Ezio Melotti
Ezio Melotti added the comment: Can you provide more information about the error (e.g. the relevant piece of code where the error generates, if you can reproduce it every time or if it's sporadic, a minimal piece of code that can reproduce the same issue, etc.)? I would also suggest to report

[issue21434] python -3 documentation is outdated

2014-05-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +terry.reedy stage: patch review - commit review type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21434 ___

[issue21445] Some asserts in test_filecmp have the wrong messages

2014-05-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21445 ___ ___

[issue21515] Use Linux O_TMPFILE flag in tempfile.TemporaryFile?

2014-05-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21515 ___ ___

[issue21310] ResourceWarning when open() fails with io.UnsupportedOperation: File or stream is not seekable

2014-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue20074. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21310 ___ ___ Python-bugs-list mailing

[issue19980] Improve help('non-topic') response

2014-05-26 Thread Mark Lawrence
Mark Lawrence added the comment: Anybody? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19980 ___ ___ Python-bugs-list mailing list

[issue21072] Python docs and downloads not available for Egypt

2014-05-26 Thread Leo Butcher
Leo Butcher added the comment: Still not working, they both timeout also the docs subdomain is the same On Mon, May 26, 2014 at 12:19 PM, Ezio Melotti rep...@bugs.python.orgwrote: Ezio Melotti added the comment: IIUC there was a similar issue from China, and on the old site we fixed it by

[issue20383] Add a keyword-only spec argument to types.ModuleType

2014-05-26 Thread Brett Cannon
Brett Cannon added the comment: First, about breaking up _SpecMethods: that was entirely on purpose. =) I honestly have found _SpecMethods a bit of a pain to work with because at every place where I have a spec object and I need to operate on it I end up having to wrap it and then call a

[issue10510] distutils upload/register should use CRLF in HTTP requests

2014-05-26 Thread Ian Cordasco
Ian Cordasco added the comment: Per discussion on twitter (https://twitter.com/merwok_/status/468518605135835136) I'm bumping this to make sure it's merged. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10510

[issue21235] importlib's spec module create algorithm is not exposed

2014-05-26 Thread Brett Cannon
Brett Cannon added the comment: I think that's the wrong abstraction(it would be fine in a third-party library, though, that's trying to smooth over 3.3-3.4 transitions). Since importlib.util.find_spec() always returns a spec, then you want something more like:: def load(spec): loader

[issue21235] importlib's spec module create algorithm is not exposed

2014-05-26 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- dependencies: +Consider dropping importlib.abc.Loader.create_module() ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21235 ___

[issue21581] Consider dropping importlib.abc.Loader.create_module()

2014-05-26 Thread Brett Cannon
New submission from Brett Cannon: As Armin Ronacher pointed out, it's a bit odd having the importlib.abc.Loader ABC have a method whose default does nothing and having the method itself be entirely optional. Might as well just drop it from the ABC and instead just make sure that

[issue21235] importlib's spec module create algorithm is not exposed

2014-05-26 Thread Brett Cannon
Brett Cannon added the comment: Opened issue #21581 to discuss Armin's point about importlib.abc.Loader.create_module() being there but not being much use since the method is entirely optional. -- ___ Python tracker rep...@bugs.python.org

[issue21477] Idle: improve idle_test.htest

2014-05-26 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Summary for htest-26052014-34.diff and htest-26052014-27.diff 1. Adds htest for ReplaceDialog and SearchDialog 2. Removes the two canvases in TreeWidget as per code review comment. Now there is only a single ScrollableCanvas 3. Some text changes in spec

[issue21477] Idle: improve idle_test.htest

2014-05-26 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com: Added file: http://bugs.python.org/file35369/htest-26052014-27.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21477 ___

[issue21582] use the support.catpured_stdout/stderr context managers - test_asyncore

2014-05-26 Thread diana
New submission from diana: Updated test_asyncore to use the support.catpured_stdout/stderr context managers rather than try/finally blocks. -- components: Tests files: use_support_captured_test_asyncore.patch keywords: patch messages: 219162 nosy: diana priority: normal severity:

[issue21582] use support.catpured context managers - test_asyncore

2014-05-26 Thread diana
Changes by diana diana.joan.cla...@gmail.com: -- title: use the support.catpured_stdout/stderr context managers - test_asyncore - use support.catpured context managers - test_asyncore ___ Python tracker rep...@bugs.python.org

[issue21054] Improve indexing of syntax symbols

2014-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: I plan to add more. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21054 ___ ___ Python-bugs-list mailing list

[issue21434] python -3 documentation is outdated

2014-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is documentation for the 2.7 '-3' command line option, which I presume has not changed at least since 2.7.0, rather than for 2to3, which has changed in different 3.x releases. If I am correct, the list of things -3 warns about has not changed. It might

[issue21583] use support.catpured_stderr context manager - test_logging

2014-05-26 Thread diana
New submission from diana: - Updated test_asyncore to use the support.catpured_stderr context manager - Removed unused imports -- components: Tests files: use_support_captured_stderr_test_logging.patch keywords: patch messages: 219165 nosy: diana priority: normal severity: normal

[issue19980] Improve help('non-topic') response

2014-05-26 Thread Jessica McKellar
Jessica McKellar added the comment: @BreamoreBoy, thanks for following up on this! I propose the following. help('') returns help on strings in the same way that help([]) and help({}) returns help on lists and dicts respectively, Sounds good. further help(''.method) returns help on the

[issue21583] use support.catpured_stderr context manager - test_logging

2014-05-26 Thread diana
diana added the comment: oops, typo: - Updated test_logging (not test_asyncore) to use the support.catpured_stderr context manager -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21583

[issue20383] Add a keyword-only spec argument to types.ModuleType

2014-05-26 Thread Eric Snow
Eric Snow added the comment: tl;dr I'm okay with pulling the functions out of _SpecMethods (and dropping the class) but I'd prefer the distinct functions continue to exist as they are. Also, I still think updating the ModuleType signature is the way to go (given current use cases). :) First,

[issue21235] importlib's spec module create algorithm is not exposed

2014-05-26 Thread Eric Snow
Eric Snow added the comment: I'm just considering current usage: mod = loader.load_module(name) becomes: spec = spec_from_loader(name, loader) mod = load(spec) vs. mod = load(name, loader=loader) I guess I'm torn. I like how the former forces you to consider specs when dealing

[issue20383] Add a keyword-only spec argument to types.ModuleType

2014-05-26 Thread Brett Cannon
Brett Cannon added the comment: I think we view the fundamentals of built-in types differently as well. =) A module instance can exist without a spec no problem. As long as you don't pass that module instance through some chunk of code that expects __spec__ -- or any other attribute for that

[issue3015] tkinter with wantobjects=False has been broken for some time

2014-05-26 Thread Jessica McKellar
Jessica McKellar added the comment: @Lita.Cho: (I'd like to this on the web but the links are still broken after the website port) if you search for `wantobjects` in `Doc/whatsnew/2.3.rst`, there's a description of why the parameter was added. --

[issue21563] Segv during call to builtin_execfile in application embedding Python interpreter.

2014-05-26 Thread Robert Snoeberger
Robert Snoeberger added the comment: I created a patch to add a check for NULL globals or locals. The file execfile.patch is attached. A system error is set with the message globals and locals cannot be NULL if either is NULL. An open question I have is how should I create tests for this

[issue20383] Add a keyword-only spec argument to types.ModuleType

2014-05-26 Thread Eric Snow
Eric Snow added the comment: I give. :) You've made good points about builtins and C implementations. Also, thinking about issue #21235 has changed my perspective a bit. As to _SpecMethods, I mean just drop the class and turn the methods into functions: * name: name - _spec_name (or

[issue21584] Unraised overflow error in sqlite3.Row indexing

2014-05-26 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: When integer index overflows C long, sqlite3.Row.__getitem__() doesn't raise an exception. Instead overflow exception is raised later. import sqlite3 con = sqlite3.connect(:memory:) con.row_factory = sqlite3.Row row = con.execute(select 1 as a, 2 as

[issue21584] Unraised overflow error in sqlite3.Row indexing

2014-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Actually this happens after applying the patch from issue10203. -- resolution: - not a bug status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21584

[issue10203] sqlite3.Row doesn't support sequence protocol

2014-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Looks good, but there is one detail. Whith issue10203.patch when integer index overflows C long, sqlite3.Row.__getitem__() doesn't raise an exception. Instead overflow exception is raised later. import sqlite3 con = sqlite3.connect(:memory:)

[issue3015] tkinter with wantobjects=False has been broken for some time

2014-05-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Now I think we shouldn't deprecate and remove wantobjects=False. Tkinter was partially broken with wantobjects=False, on other hand, it was partially broken with wantobjects=True. Many bugs was fixed last months, all tests now work with wantobjects=False,

[issue21585] Run Tkinter tests with wantobjects=False

2014-05-26 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The wantobjects attribute of the tkinter module is True by default, and all Tkinter tests run with wantobjects=True. We need to test Tkinter with wantobjects=False too. All Tkinter tests should be ran twice, in both mode. -- components: Tests,

[issue10203] sqlite3.Row doesn't support sequence protocol

2014-05-26 Thread Claudiu.Popa
Claudiu.Popa added the comment: Thanks. Here's a fix. -- Added file: http://bugs.python.org/file35373/issue10203_1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10203 ___

[issue21505] cx_freeze multiprocessing bug

2014-05-26 Thread Torsten Landschoff
Torsten Landschoff added the comment: That sounds like you did not initialize the freeze support of the multiprocessing module: https://docs.python.org/3/library/multiprocessing.html#multiprocessing.freeze_support Basically, you need to add the following code to your main, before anything

[issue21536] extension built with a shared python cannot be loaded with a static python

2014-05-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: PHP might be close to our case: Debian includes a libphp5.so (in /usr/lib/php5), yet neither /usr/bin/php5 nor the Apache libphp5.so link against it, and all the PHP modules (in /usr/lib/php5/20100525+lfs/) don't link with the shared library - on Debian.

[issue21586] Minor error How To Sockets

2014-05-26 Thread Daniel Fisher
New submission from Daniel Fisher: There is a minor error in the documentation page https://docs.python.org/2/howto/sockets.html; Line 31 of the sample program of the program listed under Using a Socket reads chucks.append(chunk). It should read chunks.append(chunk). Without this minor

[issue21587] Tabs in source

2014-05-26 Thread Joshua Landau
New submission from Joshua Landau: There are tabs in the source: http://hg.python.org/cpython/file/5c8d71516235/Include/listobject.h#l49 I don't really know, but this seems like a release blocker to me ;). -- messages: 219183 nosy: Joshua.Landau priority: normal severity: normal

[issue21586] Minor error How To Sockets

2014-05-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset dc2a123d538a by Benjamin Peterson in branch '2.7': fix typo in variable name (closes #21586) http://hg.python.org/cpython/rev/dc2a123d538a New changeset 62eb4828fdf7 by Benjamin Peterson in branch '3.4': fix typo in variable name (closes #21586)

[issue21587] Tabs in source

2014-05-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset e38e30b0d017 by Benjamin Peterson in branch '2.7': remove tab (closes #21587) http://hg.python.org/cpython/rev/e38e30b0d017 New changeset f7075eb04b75 by Benjamin Peterson in branch '3.4': remove tab (closes #21587)

[issue21536] extension built with a shared python cannot be loaded with a static python

2014-05-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hmm, apparently the -l flag was added in #832799, for a rather complicated case where the interpreter is linked with a library dlopened by an embedding application (I suppose for some kind of plugin system). The OP there also mentions RTLD_GLOBAL as a

[issue21434] python -3 documentation is outdated

2014-05-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset ae2e8bfda7d7 by Benjamin Peterson in branch '2.7': remove list of example incompatibilities (closes #21434) http://hg.python.org/cpython/rev/ae2e8bfda7d7 -- nosy: +python-dev resolution: - fixed stage: commit review - resolved status: open

[issue21304] PEP 466: Backport hashlib.pbkdf2_hmac to Python 2.7

2014-05-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: Looks like there's a debugging turd in the test. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21304 ___

[issue21581] Consider dropping importlib.abc.Loader.create_module()

2014-05-26 Thread Nick Coghlan
Nick Coghlan added the comment: I suggest waiting until we update the C extension import system before making a final decision - that was the concrete use case for the feature, so it may become less confusing once that is added. -- nosy: +ncoghlan

[issue21581] Consider dropping importlib.abc.Loader.create_module()

2014-05-26 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21581 ___

[issue21477] Idle: improve idle_test.htest

2014-05-26 Thread Ned Deily
Ned Deily added the comment: 2. Htest's for GrepDialog, outputwindow, configDialog and Filelist are not progressing because of assert statements in macosxsupport.py. The asserts are to ensure that none of the Tk-variant tests (isCarbonTk(), isCocoaTk(), et al) are called before

[issue13742] Add a key parameter (like sorted) to heapq.merge

2014-05-26 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13742 ___

[issue13742] Add a key parameter (like sorted) to heapq.merge

2014-05-26 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: Added file: http://bugs.python.org/file35374/keymerge.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13742 ___

[issue21467] IDLE icon not included in Windows installer

2014-05-26 Thread R. David Murray
R. David Murray added the comment: Issue number was mistyped in commit message. Commit was 730eeb10cd81. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21467 ___

[issue21575] list.sort() should show arguments in tutorial

2014-05-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b96949bfc97 by Raymond Hettinger in branch 'default': Issue 21575: Show list.sort() arguments in the tutorial. http://hg.python.org/cpython/rev/1b96949bfc97 -- nosy: +python-dev ___ Python tracker

[issue21468] NNTPLib connections become corrupt after long periods of activity

2014-05-26 Thread R. David Murray
R. David Murray added the comment: This is likely to be hard to reproduce (but perhaps someone will try). The best hope of getting it fixed is probably for you to investigate it yourself. Were you using ssl? Also, have you tried all the python versions you selected, and if so, which exact

[issue21575] list.sort() should show arguments in tutorial

2014-05-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset be77b213ace0 by Raymond Hettinger in branch '2.7': Issue 21575: Show list.sort() arguments in the tutorial. http://hg.python.org/cpython/rev/be77b213ace0 -- ___ Python tracker rep...@bugs.python.org

[issue21575] list.sort() should show arguments in tutorial

2014-05-26 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21575 ___

[issue17390] display python version on idle title bar

2014-05-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: I taught a python class this week with Python 2.7.7 and the learners found this change to be an impediment to usability. The filename and fullpath are the most important pieces of information in the title bar. They are now obscured by the version

[issue16638] support multi-line docstring signatures in IDLE calltips

2014-05-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Using Python 2.7.7 is a classroom setting revealed that this change is sometimes helpful and sometimes problematic. The big tip windows are VERY distracting during live coding demos and learners are reporting that it breaks their concentration. On the

[issue21304] PEP 466: Backport hashlib.pbkdf2_hmac to Python 2.7

2014-05-26 Thread Alex Gaynor
Alex Gaynor added the comment: New patch removes the pdb nonsense in the test. -- Added file: http://bugs.python.org/file35375/pbkdf2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21304

[issue21588] Idle: make editor title bar user configurable

2014-05-26 Thread Terry J. Reedy
New submission from Terry J. Reedy: #17390 changes the title bars for (so far), shell and editor windows. While the editor window change helps me (for reasons given on the issue) and got no objection, before being pushed, from people nosy on the issue, others have found it objectionable in

[issue21588] Idle: make editor title bar user configurable

2014-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Another possibility is to separate the calculation of the title from setting it. This would make it much easier to unittest the calculation of the title. -- ___ Python tracker rep...@bugs.python.org

[issue17390] display python version on idle title bar

2014-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since no title format can satisfy everyone, I propose to make it user configurable. The default can be the old style. I opened #21588 for that and marked it high priority. -- priority: high - normal versions: +Python 3.5 -Python 3.3

[issue21439] Numerous minor issues in Language Reference

2014-05-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 053ba3c2c190 by Raymond Hettinger in branch '3.4': Issue 21439: Minor issues in the reference manual. http://hg.python.org/cpython/rev/053ba3c2c190 -- nosy: +python-dev ___ Python tracker

[issue21439] Numerous minor issues in Language Reference

2014-05-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Most of the comments ended-up being useful and we applied. -- resolution: - fixed status: open - closed versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21439

[issue19903] Idle: Use inspect.signature for calltips

2014-05-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: My understanding is that when a builtin is converted, a) the docstring signature disappears, and b) getfullargspec calls str(signature). I need to check what now happens with .getfullargspec version .signature for uncoverted builtins and if any changes should