[issue24750] IDLE: Cosmetic improvements for main window

2015-07-30 Thread Ned Deily
Ned Deily added the comment: > Ned, Mark will be opening several appearance issues (see ttk thread on Idle > list). Do you want to be routinely added as nosy to comment? No, that's not necessary or desirable. At the moment, I don't think I have much bandwidth or expertise to contribute to app

[issue24724] Element.findall documentation misleading

2015-07-30 Thread Stefan Behnel
Stefan Behnel added the comment: Here's a complete drop-in replacement. """ More specific constraints on which elements to look for and where to look for them in the tree can be expressed in :ref:`XPath `. :meth:`Element.iterfind` iterates over all elements matching such a path expression.

[issue24757] Installing Py on Windows: Need to restart or logout for path to be added

2015-07-30 Thread Ned Deily
Changes by Ned Deily : -- components: +Windows -Documentation nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2015-07-30 Thread Alex Shkop
Alex Shkop added the comment: Looking at this patch again, I'm wondering if it is correct to remove duplicate filter if append=True. Perhaps in this case it is more correct to leave the filter in place and do not append new one? -- ___ Python tracke

[issue24079] xml.etree.ElementTree.Element.text does not conform to the documentation

2015-07-30 Thread Stefan Behnel
Stefan Behnel added the comment: could we apply this patch, please? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue24762] Branchless, vectorizable frozen set hash

2015-07-30 Thread Raymond Hettinger
Changes by Raymond Hettinger : Added file: http://bugs.python.org/file40081/timings_fasthash_clang.txt ___ Python tracker ___ ___ Python-bugs-

[issue24762] Branchless, vectorizable frozen set hash

2015-07-30 Thread Raymond Hettinger
Changes by Raymond Hettinger : Added file: http://bugs.python.org/file40080/timings_fasthash.txt ___ Python tracker ___ ___ Python-bugs-list m

[issue24762] Branchless, vectorizable frozen set hash

2015-07-30 Thread Raymond Hettinger
New submission from Raymond Hettinger: Speed-up frozenset_hash(). Switching to an entry++ style loop instead of set_next() eliminates much of the loop overhead. Removing the key=NULL or key==dummy checks eliminates the unpredictable branches and makes the loop vectorizable. Those benefits o

[issue21657] pip.get_installed_distributions() Does not return packages in the current working directory

2015-07-30 Thread Zachary Ware
Changes by Zachary Ware : -- resolution: rejected -> third party stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list maili

[issue21657] pip.get_installed_distributions() Does not return packages in the current working directory

2015-07-30 Thread Robert Collins
Robert Collins added the comment: Yes, Python vendors pip, but is not maintaining it - it should be filed in https://github.com/pypa/pip/issues. -- nosy: +rbcollins resolution: third party -> rejected status: pending -> closed ___ Python tracker

[issue23652] ifdef uses of EPOLLxxx macros so we can compile on systems that don't have them

2015-07-30 Thread Zachary Ware
Zachary Ware added the comment: Looks good to me. -- nosy: +zach.ware stage: -> commit review versions: +Python 3.4 ___ Python tracker ___ __

[issue23420] python -m cProfile -s fails with non informative message

2015-07-30 Thread Zachary Ware
Changes by Zachary Ware : -- versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-30 Thread Eric Snow
Eric Snow added the comment: For the reproducer I'm sticking with a seed of 1: PYTHONHASHSEED=1 ./python /tmp/odict_reproduce.py -- ___ Python tracker ___

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-30 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file40078/odict_reproduce.py ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue24758] unittest.mock.Mock's new "unsafe" feature needs a better error message

2015-07-30 Thread Randy Syring
Randy Syring added the comment: Old functionality: (temp)rsyring@loftex:~/projects/hllapi-src$ python Python 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import mock >>> mock.__version__ '1.0.0' >>> m = m

[issue21657] pip.get_installed_distributions() Does not return packages in the current working directory

2015-07-30 Thread Zachary Ware
Zachary Ware added the comment: I sincerely apologize for it taking more than a year for somebody to say this, but I think this is in the wrong bug tracker and should be reported to the pip project at https://github.com/pypa/pip/issues Donald, could you confirm? -- nosy: +zach.ware re

[issue20464] Update distutils sample config file in Doc/install/index.rst

2015-07-30 Thread Zachary Ware
Changes by Zachary Ware : -- versions: +Python 3.5, Python 3.6 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue21126] Return results from doctest.run_docstring_examples()

2015-07-30 Thread Zachary Ware
Zachary Ware added the comment: Patch looks straightforward enough to me, and I think it's a good idea; tests would be nice though (was another issue opened for that?). -- nosy: +zach.ware stage: -> commit review title: Integrate doctest.run_docstring_examples() with unittest -> Return

[issue20051] PA-RISC buildbot: compiler cannot create executables

2015-07-30 Thread Zachary Ware
Changes by Zachary Ware : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue20674] Update comments in dictobject.c

2015-07-30 Thread Zachary Ware
Changes by Zachary Ware : -- components: +Documentation keywords: +easy stage: -> needs patch versions: +Python 3.5, Python 3.6 ___ Python tracker ___ __

[issue24761] ERROR: test_dh_params (test.test_ssl.ThreadedTests)

2015-07-30 Thread Zhang Yun
Changes by Zhang Yun : -- components: Tests files: test_ssl.log nosy: cloud2han9 priority: normal severity: normal status: open title: ERROR: test_dh_params (test.test_ssl.ThreadedTests) versions: Python 3.4 Added file: http://bugs.python.org/file40077/test_ssl.log _

[issue24751] regrtest/buildbot: test run marked as failure even when re-run succeeds

2015-07-30 Thread Zachary Ware
Zachary Ware added the comment: Here's a patch. -- components: +Tests keywords: +patch stage: -> patch review type: -> behavior versions: +Python 2.7, Python 3.4, Python 3.5, Python 3.6 Added file: http://bugs.python.org/file40076/issue24751.diff __

[issue13248] deprecated in 3.2/3.3, should be removed in 3.5 or ???

2015-07-30 Thread Yury Selivanov
Yury Selivanov added the comment: Thank you, Berker! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue24750] IDLE: Cosmetic improvements for main window

2015-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Hmm, the problem with maxsize = constant is occasionally losing a trailing digit or two. For instance, if one enters 8**, one might be interested in the number of digits and put cursor at end of wrapped line. But trailing 7 of 2007 is missing. Is there

[issue24750] IDLE: Cosmetic improvements for main window

2015-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I assume that change should be apparent on 2.7 with other system, but I'd like to make sure that I have not missed anything. I am otherwise ready to commit these. -- Added file: http://bugs.python.org/file40075/@scroll.diff __

[issue24750] IDLE: Cosmetic improvements for main window

2015-07-30 Thread Terry J. Reedy
Changes by Terry J. Reedy : Added file: http://bugs.python.org/file40074/@scroll27.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue24750] IDLE: Cosmetic improvements for main window

2015-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I patched the other scrollbars for 3.4 and verified the expected appearance change. For 2.7, with 8.5.15, I so not see any difference. Is this what I should expect on Windows? Did ttk.Scrollbar only use the Win7 scrollbar in 8.6? -- ___

[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision

2015-07-30 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Alessandro! I left some additional comments on Rietveld: https://bugs.python.org/review/19475/#ps15278 -- nosy: +berker.peksag stage: needs patch -> patch review ___ Python tracker

[issue24759] Idle: require 8.5 / ttk

2015-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Improved message. Thanks. Should be good enough for the extremely few times it should ever be triggered. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue24759] Idle: require 8.5 / ttk

2015-07-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8203fc75b3d2 by Terry Jan Reedy in branch '2.7': Issue 24759: Gracefull exit Idle if ttk import fails. https://hg.python.org/cpython/rev/8203fc75b3d2 New changeset 13a8782a775e by Terry Jan Reedy in branch '3.4': Issue 24759: Gracefull exit Idle if

[issue13248] deprecated in 3.2/3.3, should be removed in 3.5 or ???

2015-07-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset ad4c1bfe257f by Berker Peksag in branch 'default': Issue #13248: Delete remaining references of inspect.getargspec(). https://hg.python.org/cpython/rev/ad4c1bfe257f -- ___ Python tracker

[issue18383] test_warnings modifies warnings.filters when running with "-W default"

2015-07-30 Thread Berker Peksag
Berker Peksag added the comment: Here is an updated patch (against 3.4 branch). I've just made some small cosmetic changes and split the test into two parts (filterwarnings and simplefilter). Patch looks reasonable to me, but it would be nice to get a second opinion. -- Added file: ht

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-30 Thread Eric Snow
Eric Snow added the comment: As expected (considering the link to dict ordering here), the inconsistent results are tied to hash randomization: $ for i in `seq 1 25`; do echo $i; PYTHONHASHSEED=$i ./python /tmp/odict_reproduce.py; done

[issue24724] Element.findall documentation misleading

2015-07-30 Thread Martin Panter
Martin Panter added the comment: How about something like: ''' :meth:`Element.findall` finds all elements matching a path expression; in this example, all children of *root*. meth:`Element.find` finds the *first* matching element, in this example the first child. . . . ''' Also, perhaps it

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-30 Thread Eric Snow
Eric Snow added the comment: Getting closer. Here's a reproducer derived from the calls made while running the pywikibot test suite (3 tests only). Note that the KeyError indicates a different key for each run, even though the code is consistent. This means that order preservation is failin

[issue24760] IDLE settings dialog shouldn't be modal

2015-07-30 Thread Mark Roseman
Mark Roseman added the comment: Ok, I'll do some playing around with that one over the next few days, and see if anything comes up. -- ___ Python tracker ___ ___

[issue24750] IDLE: Cosmetic improvements for main window

2015-07-30 Thread Mark Roseman
Mark Roseman added the comment: The mainwin2.patch keeps the width of the fields constant. Thanks! -- Added file: http://bugs.python.org/file40071/mainwin2.patch ___ Python tracker _

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-07-30 Thread Cyd Haselton
Cyd Haselton added the comment: A nominal bump before starting to re-build a PIE gdb to debug the segfault above -- ___ Python tracker ___ ___

[issue24039] Idle: some modal dialogs maximize, don't minimize

2015-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Another solution to this issue is to not make things modal. See #24760. -- ___ Python tracker ___ __

[issue24760] IDLE settings dialog shouldn't be modal

2015-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I don't know. I do not thing that any option settings affect the dialog box itself, Someone could switch modal off and experiment. It would certainly make it easier to change something, Apply, and then try it out. The is one place I would not feel obligated

[issue24707] Assertion failed in pymonotonic_new

2015-07-30 Thread STINNER Victor
STINNER Victor added the comment: Hum, I'm not sure that I was clear: in fact, the assertion is only useful for me, because I'm curious to know bugs in implementations of monotonic clocks. In the case of this buildbot, it may be a bug in qemu, less likely in the linux kernel. I don't think that

[issue24750] IDLE: Cosmetic improvements for main window

2015-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looks fine on Windows. Now to be picky: Is it possible to move 'Col:' to the left, leaving space to the right, so that 'Col:' does not move when going from 9 to 10? Ditto for 'Ln:'? -- ___ Python tracker

[issue24707] Assertion failed in pymonotonic_new

2015-07-30 Thread Chris Angelico
Chris Angelico added the comment: Ah. It's one of *those* bugs. Got it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue24760] IDLE settings dialog shouldn't be modal

2015-07-30 Thread Mark Roseman
New submission from Mark Roseman: Is there any reason the IDLE settings dialog is modal? (Actually while it is modal on Windows and Linux, on OS X you can actually switch back to the main window while the settings dialog is up, but you can't actually type etc. into it!) While I could probably

[issue24750] IDLE: Cosmetic improvements for main window

2015-07-30 Thread Mark Roseman
Mark Roseman added the comment: Great. Sent in the contributor agreement Monday so I assume it should percolate through soon. -- ___ Python tracker ___ _

[issue24750] IDLE: Cosmetic improvements for main window

2015-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I added a dependency to gracefully exit when no ttk. Mark: If you have not yet, please sign PSF Contributor Agreement before submitting further patches. https://www.python.org/psf/contrib/ https://www.python.org/psf/contrib/contrib-form/ I now see what you mea

[issue24750] IDLE: Cosmetic improvements for main window

2015-07-30 Thread Mark Roseman
Mark Roseman added the comment: The attached mainwin.patch implements these few small changes (except for removing the Mac grow box space); checked active/inactive on Mac, Windows, Linux. -- keywords: +patch Added file: http://bugs.python.org/file40070/mainwin.patch __

[issue24759] Idle: require 8.5 / ttk

2015-07-30 Thread Mark Roseman
Mark Roseman added the comment: Sounds good. Only suggestion, given it's user facing, is to have the error message point them towards a solution. Off the top of my head, maybe something like "IDLE requires Python be configured to use Tk 8.5 or newer (you have Tk x.x)" with a title of "IDLE Can

[issue24759] Idle: require 8.5 / ttk

2015-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I tested by renaming installed 3.5 ttk, editing 3.5 PyShell with 3.4, and clicking 3.5 icon. -- stage: needs patch -> commit review ___ Python tracker

[issue24759] Idle: require 8.5 / ttk

2015-07-30 Thread Terry J. Reedy
New submission from Terry J. Reedy: PyShell currently has this code try: from tkinter import * except ImportError: print("** IDLE can't import Tkinter.\n" "Your Python may not be configured for Tk. **", file=sys.__stderr__) sys.exit(1) import tkinter.messagebox as tkMessage

[issue24724] Element.findall documentation misleading

2015-07-30 Thread Eric S
Eric S added the comment: Pointing to XPath and clarifying the example reference are good ideas. For me though, the phrase "direct children" would still lead me to believe that findall() would only give me the first generation right below the element (e.g. only the countries in the example),

[issue13884] IDLE: Remove tear-off menu feature

2015-07-30 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue23779] imaplib authenticate raises TypeError if authenticator tries to abort

2015-07-30 Thread Robert Collins
Robert Collins added the comment: Thanks for the patch. Applied to 3.4 through 3.6. -- nosy: +rbcollins resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker _

[issue23779] imaplib authenticate raises TypeError if authenticator tries to abort

2015-07-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset fe55a36a335b by Robert Collins in branch '3.4': Issue #23779: imaplib raises TypeError if authenticator tries to abort. https://hg.python.org/cpython/rev/fe55a36a335b New changeset b6f04b9d8c12 by Robert Collins in branch '3.5': Issue #23779: imapli

[issue13884] IDLE: Remove tear-off menu feature

2015-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I decided the accessibility argument does not apply because a) there is only one nested menu, Recent files b) that menu can be very wide and I intend to make it longer, making it a bad candidate for staying on the screen, and c) when torn off, it did not seem

[issue12932] filecmp.dircmp does not allow non-shallow comparisons

2015-07-30 Thread Robert Collins
Robert Collins added the comment: Bah, wrong stage. patch review. -- stage: test needed -> patch review ___ Python tracker ___ ___ Pyt

[issue12932] filecmp.dircmp does not allow non-shallow comparisons

2015-07-30 Thread Robert Collins
Robert Collins added the comment: Thanks for the patch @planet36, however I think this is sufficiently large a change that we should also have a test case for it. I'm also retargeting this to the current open branches for feature work - 3.6. -- nosy: +rbcollins stage: commit review ->

[issue13884] IDLE: Remove tear-off menu feature

2015-07-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset bead9330438c by Terry Jan Reedy in branch '2.7': Issue #13884: Idle: Remove tearoff lines from menus. Patch by Roger Serwy. https://hg.python.org/cpython/rev/bead9330438c New changeset 6eb4441ed14b by Terry Jan Reedy in branch '3.4': Issue #13884: I

[issue12160] codecs doc: what is StreamCodec?

2015-07-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 296a09614f31 by Berker Peksag in branch '2.7': Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs. https://hg.python.org/cpython/rev/296a09614f31 -- ___ Python t

[issue24758] unittest.mock.Mock's new "unsafe" feature needs a better error message

2015-07-30 Thread Robert Collins
Robert Collins added the comment: How were you setting/introducing your assertions on the mocks? e.g. could you supply a small sample script showing what used to work? Thanks. -- nosy: +rbcollins ___ Python tracker

[issue24758] unittest.mock.Mock's new "unsafe" feature needs a better error message

2015-07-30 Thread Robert Collins
Changes by Robert Collins : -- stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue24757] Installing Py on Windows: Need to restart or logout for path to be added

2015-07-30 Thread eryksun
eryksun added the comment: I think a custom action can be added to Tools/msi/msisupport.c to send a [WM_SETTINGCHANGE][1] "Environment" message to top-level windows. This makes Explorer reload its environment from the registry, so starting a new command prompt (cmd.exe) from Explorer will see

[issue24758] unittest.mock.Mock's new "unsafe" feature needs a better error message

2015-07-30 Thread Dima Tisnek
Changes by Dima Tisnek : -- nosy: +Dima.Tisnek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue24758] unittest.mock.Mock's new "unsafe" feature needs a better error message

2015-07-30 Thread Randy Syring
New submission from Randy Syring: In issue http://bugs.python.org/issue21238 a feature was introduced to help prevent false-positive test cases by throwing an AttributeError whenever a non-existent method prefixed with "assert_" is used on a mock object. I had mock objects with legitimate "ass

[issue13248] deprecated in 3.2/3.3, should be removed in 3.5 or ???

2015-07-30 Thread Yaroslav Halchenko
Yaroslav Halchenko added the comment: the function getargspec was removed but references to it within docstrings remained: $> git grep getargspec Doc/library/inspect.rst: The first four items in the tuple correspond to :func:`getargspec`. Doc/library/inspect.rst: :func:`getargspec` or :fun

[issue24757] Installing Py on Windows: Need to restart or logout for path to be added

2015-07-30 Thread John Palermo
New submission from John Palermo: Something I suppose many new users could stumble over: After installing Python and trying out "pip" or "python" on the command line nothing is found. You have to re-start Windows or re-log into your account. I suggest adding this information to the documentati

[issue24752] SystemError when importing from a non-package directory

2015-07-30 Thread Brett Cannon
Brett Cannon added the comment: It's that way because that's how import.c has it coded in Python 2.7: https://hg.python.org/cpython/file/309cbbc32491/Python/import.c#l2462 . Here is how it looks in Python 2: %%python2 from __future__ import absolute_import from . import foo ---

[issue12833] raw_input misbehaves when readline is imported

2015-07-30 Thread Berker Peksag
Berker Peksag added the comment: Also, I'd change the patch to use a note directive. -- nosy: +berker.peksag stage: commit review -> patch review ___ Python tracker ___ _

[issue12160] codecs doc: what is StreamCodec?

2015-07-30 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Nick! -- nosy: +berker.peksag resolution: -> fixed stage: commit review -> resolved status: open -> closed type: -> behavior versions: +Python 3.5, Python 3.6 -Python 3.1, Python 3.2 ___ Python

[issue12160] codecs doc: what is StreamCodec?

2015-07-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset f9694502f07c by Berker Peksag in branch '3.4': Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs. https://hg.python.org/cpython/rev/f9694502f07c New changeset 98631f35426f by Berker Peksag in branch '3.5':

[issue24750] IDLE: Cosmetic improvements for main window

2015-07-30 Thread Mark Roseman
Mark Roseman added the comment: Sounds good. To clarify, (2) refers to not the overall window, but just around the text widget. Both regarding this and the comments regarding status bar (4), things look really good now on Windows. The changes I've made are barely perceptible there, but improve

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-30 Thread Eric Snow
Eric Snow added the comment: Also, here is the output from running the pywikibot suite (using just the 3 test modules) with the logging odict wrapper. -- Added file: http://bugs.python.org/file40069/odict.log ___ Python tracker

[issue24745] Better default font for editor

2015-07-30 Thread Mark Roseman
Mark Roseman added the comment: I'm ok with putting TkFixedFont in the config file. Only potential downside I see is that the code will look for this specific value, but people may read the config file and assume it could be changed to any Tk*Font. I'd strongly argue against putting in a defau

[issue15582] Enhance inspect.getdoc to follow inheritance chains

2015-07-30 Thread Berker Peksag
Berker Peksag added the comment: Applied, thanks! -- nosy: +berker.peksag stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue15582] Enhance inspect.getdoc to follow inheritance chains

2015-07-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4476b578b8fd by Berker Peksag in branch '3.5': Issue #15582: Add a whatsnew entry for inspect.getdoc() changes in 3.5. https://hg.python.org/cpython/rev/4476b578b8fd New changeset e0f4a5f09bfa by Berker Peksag in branch 'default': Issue #15582: Add

[issue24752] SystemError when importing from a non-package directory

2015-07-30 Thread Eric Snow
Eric Snow added the comment: You are correct that SystemError indicates a non-fatal issue in the interpreter and thanks for reporting the matter. In this case I'd say that SystemError is the wrong exception type. I expect that ImportError (or perhaps RuntimeError) is more appropriate. Howev

[issue15138] base64.urlsafe_b64**code are too slow

2015-07-30 Thread Guido van Rossum
Guido van Rossum added the comment: And just in case someone objects to my breaking the policy stated by Antoine in msg163432: see http://bugs.python.org/issue4753 -- it's not actually a real policy. -- versions: +Python 2.7 ___ Python tracker

[issue13884] IDLE: Remove tear-off menu feature

2015-07-30 Thread Mark Roseman
Mark Roseman added the comment: Doing it via the option database vs. on each menu would be my preferred approach. The option database is global, not per toplevel, so would cover everything. Only 'downside' is the whole its-not-an-application-its-a-library thing, though in the highly unlikely c

[issue15138] base64.urlsafe_b64**code are too slow

2015-07-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 309cbbc32491 by Guido van Rossum in branch '2.7': Issue #15138: Speed up base64.urlsafe_b64* considerably (2.7 backport). https://hg.python.org/cpython/rev/309cbbc32491 -- nosy: +python-dev ___ Python tra

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-30 Thread Eric Snow
Eric Snow added the comment: After some quick tests, it looks like during the tests only a single thread is used, so it is *not* threading-related. That makes a bit more sense to me given the consistency. Notwithstanding this development, I should be able to isolate the problem soon (when I

[issue24741] Hangs and errors while testing on Ubuntu/Intel

2015-07-30 Thread REIX Tony
REIX Tony added the comment: Yes. I'm on my own for AIX debugging. I'm afraid too. ;) OK. What I need is build more skills about how to get into deep details when things run badly. Lot of fun. ;) Thx -- ___ Python tracker

[issue15138] base64.urlsafe_b64**code are too slow

2015-07-30 Thread Guido van Rossum
Guido van Rossum added the comment: I'm going to apply the 2.7 patch, except I'm going to leave the (now unused) _translate() function in place, in case it's used anywhere (minimizing the risk of breaking anything). -- ___ Python tracker

[issue24741] Hangs and errors while testing on Ubuntu/Intel

2015-07-30 Thread R. David Murray
R. David Murray added the comment: You are on your own for AIX debugging, I'm afraid. You can try the #python-dev channel on freenode for questions about how things work in general. If you find real problems with the python code you can open new issues (we have accepted patches for AIX when

[issue24748] Change of behavior for importlib between 3.4 and 3.5 with DLL loading

2015-07-30 Thread Etienne Fortin
Etienne Fortin added the comment: I replaced: import importlib.machinery loader = importlib.machinery.ExtensionFileLoader(name, path) return loader.load_module() With: import importlib.machinery loader = importlib.machinery.ExtensionFileLoader(modname, filename)

[issue24707] Assertion failed in pymonotonic_new

2015-07-30 Thread STINNER Victor
STINNER Victor added the comment: Chris Angelico added the comment: > Where's this issue heading? The buildbots seem to be green now, does that > imply that this is fixed? The issue still exist, it's just that the issue occurs randomly and is very rare (seen twice in 6 months...). --

[issue24756] doctest run_docstring_examples does have an obvious utility

2015-07-30 Thread Ethan Furman
Ethan Furman added the comment: Looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue24756] doctest run_docstring_examples does have an obvious utility

2015-07-30 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24756] doctest run_docstring_examples does have an obvious utility

2015-07-30 Thread R. David Murray
New submission from R. David Murray: I propose that we remove the paragraph before 'run_docstring_exmaples' in the doctest docs. It says that there's no intent to remove the function but that it is "rarely useful". However, it is in fact *very* useful, for any code that also uses testmod. F

[issue24741] Hangs and errors while testing on Ubuntu/Intel

2015-07-30 Thread REIX Tony
REIX Tony added the comment: About test_io, when running it alone by: ./python ./Lib/test/test_io.py > /tmp/test_io.res I got NO error ! Done 2 times on each of my 2 AIX machines. Hu Why these tests do block in the middle ? -- ___ Python tra

[issue24741] Hangs and errors while testing on Ubuntu/Intel

2015-07-30 Thread REIX Tony
REIX Tony added the comment: I got strange things: Tests blocked in: [300/400/22] test_signal and: # ps -edf | grep python root 7405612 12320954 0 14:52:04 pts/2 0:00 ./python -m -c -l -x test_io root 7929900 34209932 0 14:52:04 pts/2 0:00 ./python -m -c -l -x test_io r

[issue24741] Hangs and errors while testing on Ubuntu/Intel

2015-07-30 Thread REIX Tony
REIX Tony added the comment: Hum I'm now building Python 2.7.10 RPMs on AIX. The .spec file works fine. However, when adding make test in the .spec file, I've got the tests blocked in test_io. The same with 2.7.6 . Going into the directory and trying "make quicktest", it is now blocked afte

[issue16508] include the "object" type in the lists of documented types

2015-07-30 Thread Martin Panter
Martin Panter added the comment: Here is a patch. Perhaps it is what you had in mind. I added quick mentions of the “object” class to The Standard Type Hierarchy and Other Built-in Types. I added documentation of what the object class’s own implementations do where it provides them. I added se

[issue24754] argparse add_argument with action="store_true", type=bool should not crash

2015-07-30 Thread R. David Murray
R. David Murray added the comment: Looking at the source it appears that there are many actions for which it is not legal to also specify type. That is, this looks like a design decision rather than a bug. -- nosy: +r.david.murray ___ Python tracke

[issue24753] function to get completion install location for setup.py?

2015-07-30 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue24752] SystemError when importing from a non-package directory

2015-07-30 Thread R. David Murray
Changes by R. David Murray : -- nosy: +brett.cannon, eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13884] IDLE: Remove tear-off menu feature

2015-07-30 Thread Tal Einat
Tal Einat added the comment: +1 for removal. -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24707] Assertion failed in pymonotonic_new

2015-07-30 Thread Chris Angelico
Chris Angelico added the comment: Where's this issue heading? The buildbots seem to be green now, does that imply that this is fixed? -- ___ Python tracker ___ _

[issue24755] asyncio.wrap_future undocumented

2015-07-30 Thread Marcin Szewczyk
New submission from Marcin Szewczyk: While asyncio.wrap_future is mentioned in PEP 3156 and has its docstring it is undocumented in the reference. run_in_executor is documented but doesn't mention wrap_future either. $ grep -r wrap_future Doc; echo $? 1 -- assignee: docs@python compon

[issue24754] argparse add_argument with action="store_true", type=bool should not crash

2015-07-30 Thread Douglas Bagnall
New submission from Douglas Bagnall: A line like this: parser.add_argument('--hello', action="store_true", type=bool) causes a TypeError in 2.7 and 3.4: File "/usr/lib/python3.4/argparse.py", line 1344, in add_argument action = action_class(**kwargs) TypeError: __init__() got

[issue24753] function to get completion install location for setup.py?

2015-07-30 Thread Kentaro Wada
Kentaro Wada added the comment: Yeah, that's right. I don't think to send patch to distutils but send to that kind of package as you said. I'm looking for that kind of packages to send patch but not found yet. Do you have any idea? -- ___ Python tra

  1   2   >