[issue15590] --libs is inconsistent for python-config --libs and pkgconfig python --libs

2014-06-02 Thread Michael Haubenwallner
Michael Haubenwallner added the comment: Well, they should not be identical, as they are for different use cases. "pkg-config python" is to build an application containing a python interpreter (like python$EXE): + Link against libpython.so. Additionally, + re-export symbols from libpython.so

[issue21640] References to other Python version in sidebar of documentation index is not up to date

2014-06-02 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed the follwing changesets. 2.7 b8655be522d4 3.4 e6dce5611dae 3.5 50c9df76bb77 -- resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue21646] Add tests for turtle.ScrolledCanvas

2014-06-02 Thread Jessica McKellar
Changes by Jessica McKellar : -- assignee: -> jesstess ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue21647] Idle unittests: make gui, mock switching easier.

2014-06-02 Thread Terry J. Reedy
New submission from Terry J. Reedy: Idle unittests that use tkinter.Text are developed using the gui widget and then switched, to the current extent possible, to mock_tk.Text. I have done this previously by commenting out gui lines and adding new lines, so it would be possible to switch back i

[issue21642] "_ if 1else _" does not compile

2014-06-02 Thread Martin v . Löwis
Martin v. Löwis added the comment: For those who want to skip reading the entire SO question: "1else" tokenizes as "1e" "lse", i.e. 1e is considered the beginning of floating point literal. By the description in the docs, that should not happen, since it is not a valid literal on its own, so n

[issue18292] Idle: test AutoExpand.py

2014-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Great start. The initial coveraqe is 90%, only missing the 5 lines in getwords in the bodies of if dict.get(w): continue ,,, for w in wafter: if dict.get(w): continue words.append(w)

[issue21646] Add tests for turtle.ScrolledCanvas

2014-06-02 Thread ingrid
Changes by ingrid : -- components: Tests nosy: ingrid, jesstess priority: normal severity: normal status: open title: Add tests for turtle.ScrolledCanvas versions: Python 3.5 ___ Python tracker

[issue10984] argparse add_mutually_exclusive_group should accept existing arguments to register conflicts

2014-06-02 Thread paul j3
paul j3 added the comment: Another way to add an existing Action to a group is to modify the 'add_argument' method for the Group subclass. For example we could add this to the _MutuallyExclusiveGroup class: def add_argument(self, *args, **kwargs): # allow adding a prexisting Actio

[issue21640] References to other Python version in sidebar of documentation index is not up to date

2014-06-02 Thread Senthil Kumaran
Senthil Kumaran added the comment: I see that all the patches are correct. My only worry is since 3.1,3.2 and 3.3 are in security fix only mode, we may not apply it to those. 2.7, 3.4 and 3.5 ones are okay. -- nosy: +orsenthil ___ Python tracker

[issue16428] turtle with compound shape doesn't get clicks

2014-06-02 Thread ingrid
ingrid added the comment: Looks like the issue is that when you are registering mouse events through turtle, it uses Shape._item. For polygon shapes, that's the actual shape item, but for compound shapes, it is an array of shape items. I have attached a patch that makes it so when there is a c

[issue17277] incorrect line numbers in backtrace after removing a trace function

2014-06-02 Thread Nikolaus Rath
Changes by Nikolaus Rath : -- nosy: +nikratio ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue20752] Difflib should provide the option of overriding the SequenceMatcher

2014-06-02 Thread Chris Rose
Chris Rose added the comment: As suggested: SYN -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue1191964] asynchronous Subprocess

2014-06-02 Thread akira
akira added the comment: > First, with the use of Overlapped IO on Windows, BlockingIOError should never > come up, and we don't even handle that exception. Is it correct that the way to distinguish between "would block" and EOF is Popen.poll()? Is it possible to detect it in _nonblocking() me

[issue21576] Overwritten (custom) uuid inside dictionary

2014-06-02 Thread R. David Murray
R. David Murray added the comment: In python, everything is references to objects. So yes, this is expected Python behavior. Issue 20135 is about improving the FAQ entries on this subject, so I'm closing this as a duplicate of that issue. -- nosy: +r.david.murray stage: -> resolved

[issue21638] Seeking to EOF is too inefficient!

2014-06-02 Thread Linlin Yan
Linlin Yan added the comment: I agree that Python 2 should use fopen / fread rather than directly read(). But you may misunderstand this. The 'strace' tool reports Linux system calls, including read() rather than fread(), and I guess that read() should be finally called in fread() implementation.

[issue21533] built-in types dict docs - construct dict from iterable, not iterator

2014-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for catching this, and for the patch. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue21533] built-in types dict docs - construct dict from iterable, not iterator

2014-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 78da27d6f28f by Terry Jan Reedy in branch '2.7': Issue 21533: Dicts take iterables, not iterators. Patch by Wolfgang Maier. http://hg.python.org/cpython/rev/78da27d6f28f New changeset 28665dc3a696 by Terry Jan Reedy in branch '3.4': Issue 21533: Dic

[issue21627] Concurrently closing files and iterating over the open files directory is not well specified

2014-06-02 Thread Steven Stewart-Gallus
Steven Stewart-Gallus added the comment: It occurred to me that the current patch I have is wrong and that using _Py_set_inheritable is wrong because EBADF can occur in the brute force version which in the case of _Py_set_inheritable raises an error which I am not sure is asynch signal safe. I

[issue21639] tracemalloc crashes with floating point exception when using StringIO

2014-06-02 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue21645] test_read_all_from_pipe_reader() of test_asyncio hangs on FreeBSD 9

2014-06-02 Thread Guido van Rossum
Guido van Rossum added the comment: Maybe see Tulip issue 168? That test was added to support that. Maybe the fix doesn't work for this platform? -- ___ Python tracker ___ _

[issue18492] Allow all resources if not running under regrtest.py

2014-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Just in time, as I will be reviewing and committing new Idle unittest module starting this week (new GSOC student). -- ___ Python tracker ___ _

[issue21633] Argparse does not propagate HelpFormatter class to subparsers

2014-06-02 Thread paul j3
paul j3 added the comment: You can specify the 'formatter_class' when creating each subparser: sp1=sp.add_parser('cmd1', formatter_class = argparse.RawDescriptionHelpFormatter) The 'add_parser' command is the one that passes a variety of **kwargs to 'ArgumentParser' (or what ever parser c

[issue21645] test_read_all_from_pipe_reader() of test_asyncio hangs on FreeBSD 9

2014-06-02 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%203.4/builds/191/steps/test/logs/stdio [ 8/389] test_asyncio Timeout (1:00:00)! Thread 0x000801407400 (most recent call first): File "/usr/home/buildbot/buildarea/3.4.krah-freebsd/build/Lib/s

[issue21616] argparse explodes with nargs='*' and a tuple metavar

2014-06-02 Thread paul j3
paul j3 added the comment: I think is issue was already raised in http://bugs.python.org/issue14074 argparse allows nargs>1 for positional arguments but doesn't allow metavar to be a tuple -- nosy: +paul.j3 ___ Python tracker

[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2014-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: A Spinbox is not a Listbox. The common feature of the activate methods you listed is that the parameter is called 'index'. But I think this is a moot point. To the best of my knowledge, casually changing parameter names for no functional benefit is against p

[issue21561] help() on enum34 enumeration class creates only a dummy documentation

2014-06-02 Thread Ned Deily
Changes by Ned Deily : -- nosy: -ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue6639] turtle: _tkinter.TclError: invalid command name ".10170160"

2014-06-02 Thread Lita Cho
Lita Cho added the comment: Oops, pressed submit too soon. Now the programs raise a Terminator exception rather than a TclError, which I think is correct because the programs are calling Turtle methods when the TurtleScreen had been destroyed. I wasn't sure if it was better to return None ra

[issue15590] --libs is inconsistent for python-config --libs and pkgconfig python --libs

2014-06-02 Thread Ned Deily
Changes by Ned Deily : -- versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue6639] turtle: _tkinter.TclError: invalid command name ".10170160"

2014-06-02 Thread Lita Cho
Lita Cho added the comment: So it looks like the bug fix was really simple. I just needed to set TurtleScreen._RUNNING to True when the screen object tries to get destroyed. -- Added file: http://bugs.python.org/file35462/turtle_crash.patch ___ Pytho

[issue21640] References to other Python version in sidebar of documentation index is not up to date

2014-06-02 Thread Ned Deily
Changes by Ned Deily : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue21462] PEP 466: upgrade OpenSSL in the Python 2.7 Windows builds

2014-06-02 Thread Zachary Ware
Changes by Zachary Ware : -- stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21601] Cancel method for Asyncio Task is not documented

2014-06-02 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the patch. By the way, the CancelledError from conccurent.futures is not documented and asyncio still has its own asyncio.CancelledError alias which is not documented neither. -- nosy: +giampaolo.rodola, gvanrossum, pitrou, yselivanov resol

[issue21601] Cancel method for Asyncio Task is not documented

2014-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset c2384ca7fc3b by Victor Stinner in branch '3.4': Issue #21601: Document asyncio.Task.cancel(). Initial patch written by Vajrasky http://hg.python.org/cpython/rev/c2384ca7fc3b New changeset 0ee47d3d2664 by Victor Stinner in branch 'default': (Merge 3.

[issue18492] Allow all resources if not running under regrtest.py

2014-06-02 Thread Zachary Ware
Zachary Ware added the comment: You convinced me too, Serhiy :). Committed, without the regrtest_run flag. Thanks for review. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue18492] Allow all resources if not running under regrtest.py

2014-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset eabff2a97b5b by Zachary Ware in branch '2.7': Issue #18492: Allow all resources when tests are not run by regrtest.py. http://hg.python.org/cpython/rev/eabff2a97b5b New changeset 8519576b0dc5 by Zachary Ware in branch '3.4': Issue #18492: Allow all

[issue21642] "_ if 1else _" does not compile

2014-06-02 Thread wim glenn
Changes by wim glenn : -- nosy: +wim.glenn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2014-06-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Indices have special meaning in Tk. INDICES Many of the widget commands for listboxes take one or more indices as arguments. An index specifies a particular element of the listbox, in any of the following ways: number Specifi

[issue21638] Seeking to EOF is too inefficient!

2014-06-02 Thread STINNER Victor
STINNER Victor added the comment: I don't think that Python calls directly read(). Python 2 uses fopen / fread. Python 3 doesn't use buffered files, but call open / read directly. -- nosy: +haypo, neologix ___ Python tracker

[issue21642] "_ if 1else _" does not compile

2014-06-02 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue21644] Optimize bytearray(int) constructor to use calloc()

2014-06-02 Thread STINNER Victor
STINNER Victor added the comment: Stefan wrote: "3) Somewhat similarly, I wonder if it was necessary to refactor PyBytes_FromStringAndSize(). I find the new version more difficult to understand." Do you mean that the optimization is useless or that the implementation should be changed? -

[issue21233] Add *Calloc functions to CPython memory allocation API

2014-06-02 Thread STINNER Victor
STINNER Victor added the comment: I reread the issue. I hope that I now addressed all issues. The remaining issue, bytearray(int) is now tracked by the new issue #21644. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue21233] Add *Calloc functions to CPython memory allocation API

2014-06-02 Thread STINNER Victor
STINNER Victor added the comment: "2) I'm not happy with the refactoring in bytearray_init(). (...) 3) Somewhat similarly, I wonder if it was necessary to refactor PyBytes_FromStringAndSize(). (...)" Ok, I reverted the change on bytearray(int) and opened the issue #21644 to discuss these tw

[issue21644] Optimize bytearray(int) constructor to use calloc()

2014-06-02 Thread STINNER Victor
STINNER Victor added the comment: Stefan also wrote: "3) Somewhat similarly, I wonder if it was necessary to refactor PyBytes_FromStringAndSize(). I find the new version more difficult to understand." This issue can also be addressed here. --

[issue21644] Optimize bytearray(int) constructor to use calloc()

2014-06-02 Thread STINNER Victor
New submission from STINNER Victor: Python 3.5 has a new PyObject_Calloc() function which can be used for fast memory allocation of memory block initialized with zeros. I already implemented an optimization, but Stefan Krah found issues in my change: http://bugs.python.org/issue21233#msg217826

[issue21233] Add *Calloc functions to CPython memory allocation API

2014-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset dff6b4b61cac by Victor Stinner in branch 'default': Issue #21233: Revert bytearray(int) optimization using calloc() http://hg.python.org/cpython/rev/dff6b4b61cac -- ___ Python tracker

[issue21233] Add *Calloc functions to CPython memory allocation API

2014-06-02 Thread STINNER Victor
STINNER Victor added the comment: "Okay, then let's please call it: _PyObject_Calloc(void *ctx, size_t nobjs, size_t objsize) _PyObject_Alloc(int use_calloc, void *ctx, size_t nobjs, size_t objsize)" "void * PyMem_RawCalloc(size_t nelem, size_t elsize);" prototype comes from the POSIX standad:

[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2014-06-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch with added tests. -- Added file: http://bugs.python.org/file35461/tkinter_Scrollbar_fixes_3.diff ___ Python tracker ___ ___

[issue21233] Add *Calloc functions to CPython memory allocation API

2014-06-02 Thread STINNER Victor
STINNER Victor added the comment: > I'm not sure: The usual case with ABI changes is that extensions may segfault > if they are *not* recompiled [1]. Ok, I renamed the structure PyMemAllocator to PyMemAllocatorEx, so the compilation fails because PyMemAllocator name is not defined. Modules com

[issue21233] Add *Calloc functions to CPython memory allocation API

2014-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6374c2d957a9 by Victor Stinner in branch 'default': Issue #21233: Rename the C structure "PyMemAllocator" to "PyMemAllocatorEx" to http://hg.python.org/cpython/rev/6374c2d957a9 -- ___ Python tracker

[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2014-06-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is no the common interface for the "set" and "activate" methods. Listbox.activate(index) - mandatory argument is an index (an integer, "active", "anchor", "end", or @x,y form). Menu.activate(index) - mandatory argument is an index. Scrollbar.activate(el

[issue21594] asyncio.create_subprocess_exec raises OSError

2014-06-02 Thread STINNER Victor
STINNER Victor added the comment: "I agree that blocking is not ideal, however there are already some other methods that can eventually block forever, and for such cases a timeout is provided." Functions like read() can "block" during several minutes, but it's something expect from network fu

[issue21639] tracemalloc crashes with floating point exception when using StringIO

2014-06-02 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the report, it should now be fixed. The crash is a regression introduced by the issue #21233. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue21639] tracemalloc crashes with floating point exception when using StringIO

2014-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset d87ede8da3c8 by Victor Stinner in branch '3.4': Issue #21639: Fix name of _testcapi test functions http://hg.python.org/cpython/rev/d87ede8da3c8 New changeset 7083634065c9 by Victor Stinner in branch 'default': (Merge 3.4) Issue #21639: Fix name of

[issue6181] Tkinter.Listbox several minor issues

2014-06-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I divided the patch to three parts. First, obvious errors in docstrings. Second, minor behavior bugs. Added tests for affected methods. And I didn't commit third part, style changes to docstrings, because I want to update docstrings in separate issue. -

[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2014-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: 1. In activate, change parameter 'index' to 'element'. I agree with Jim about rejecting this. A (specific). 'index' is routinely used to point to an item in a sequence; "arrow1", "slider", and "arrow2" are visually sequenced. The doc string is clear on the po

[issue21643] "File exists" error during venv --upgrade

2014-06-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue18373] implement sys.get/setbyteswarningflag()

2014-06-02 Thread Daniel Holth
Daniel Holth added the comment: As an aside, why wouldn't I run my program with -bb? One reason is that the following code won't work on Linux: #!/usr/bin/env python -bb Instead of passing -bb to Python, it will look for an executable called "python -bb", and it's not likely to find it. The

[issue6181] Tkinter.Listbox several minor issues

2014-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8cd7eb00894e by Serhiy Storchaka in branch '2.7': Issue #6181: Fixed minor bugs in tkinter.Listbox methods: http://hg.python.org/cpython/rev/8cd7eb00894e New changeset 54a2ceacac05 by Serhiy Storchaka in branch '3.4': Issue #6181: Fixed minor bugs i

[issue21533] built-in types dict docs - construct dict from iterable, not iterator

2014-06-02 Thread Zachary Ware
Zachary Ware added the comment: LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue21643] "File exists" error during venv --upgrade

2014-06-02 Thread Virgil Dupras
New submission from Virgil Dupras: There seems to have been a regression in Python 3.4.1 with "pyvenv --upgrade", and this regression seems to be caused by #21197. It now seems impossible to use the "--upgrade" flag without getting a "File exists" error. Steps to reproduce: $ pyvenv env $ pyv

[issue21559] OverflowError should not happen for integer operations

2014-06-02 Thread R. David Murray
R. David Murray added the comment: "Integers are outside a required range" makes me wonder why it isn't a ValueError. An OverflowError should be the result of a *computation*, IMO, not a bounds check. So, maybe add your sentence with the additional phrase "for historical reasons"? :) --

[issue1191964] asynchronous Subprocess

2014-06-02 Thread Josiah Carlson
Josiah Carlson added the comment: First, with the use of Overlapped IO on Windows, BlockingIOError should never come up, and we don't even handle that exception. As for BrokenPipeError vs. EOF; while we do treat them more or less the same, we aren't killing the process or reporting that the pr

[issue21642] "_ if 1else _" does not compile

2014-06-02 Thread Joshua Landau
New submission from Joshua Landau: By the docs, Except at the beginning of a logical line or in string literals, the whitespace characters space, tab and formfeed can be used interchangeably to separate tokens. Whitespace is needed between two tokens only if their concatenati

[issue21547] '!s' formatting documentation bug

2014-06-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue9196] Improve docs for string interpolation "%s" re Unicode strings

2014-06-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue21533] built-in types dict docs - construct dict from iterable, not iterator

2014-06-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, zach.ware type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing

[issue21623] build ssl failed use vs2010 express

2014-06-02 Thread Zachary Ware
Zachary Ware added the comment: I will note that VC++ 2010 Express is what I use on one of my usual machines, and don't recall ever having this issue. -- ___ Python tracker ___

[issue21623] build ssl failed use vs2010 express

2014-06-02 Thread Steve Dower
Steve Dower added the comment: Has the first log been abbreviated at all? It looks like it's trying to build the tests before building the library... (Nosied Martin, since he's managed to build this version of OpenSSL with VC10 and may have encountered this. I've only dealt with VC9 so far.)

[issue21559] OverflowError should not happen for integer operations

2014-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was tempted to close this, but I think there is an issue that 'theme' has implied but not stated clearly enough. The OverflowError entry might be re-written as "Raised when the result of an arithmetic operation involving at least one non-int is too large to

[issue21573] Clean up turtle.py code formatting

2014-06-02 Thread R. David Murray
R. David Murray added the comment: A side note about tests: once a couple or three years ago I made it so that you could run 'make doctest' against the turtle documentation and it would work (displaying stuff on the screen). There's no checking of the output, but it proved the examples at lea

[issue15988] Inconsistency in overflow error messages of integer argument

2014-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I reconsidered this in the light of #21559. getargs_b requires an integer of type int in range(256). A non-int properly raises TypeError. >>> from _testcapi import getargs_b as gb >>> gb(1.0) Traceback (most recent call last): File "", line 1, in gb(1.0)

[issue21623] build ssl failed use vs2010 express

2014-06-02 Thread Zachary Ware
Zachary Ware added the comment: The cause of the second error should be fixed now. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue21567] cannot create multipart alternative message with us-ascii charset

2014-06-02 Thread R. David Murray
R. David Murray added the comment: I suspect this is either related to or is a duplicate of issue 1823. -- ___ Python tracker ___ ___

[issue21631] List/Dict Combination Bug

2014-06-02 Thread R. David Murray
R. David Murray added the comment: I get an exception. I think you need to be more careful with your testing. Please take this to python-list for further help. -- ___ Python tracker _

[issue21623] build ssl failed use vs2010 express

2014-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1d36bd258ee8 by Zachary Ware in branch '3.4': Issue #21623: open pyproject.props with an explicit encoding http://hg.python.org/cpython/rev/1d36bd258ee8 -- nosy: +python-dev ___ Python tracker

[issue21623] build ssl failed use vs2010 express

2014-06-02 Thread Zachary Ware
Zachary Ware added the comment: The first error makes no sense to me. What version of OpenSSL are you building? How did you invoke the Python build (command line, or through the VS GUI)? As for the second error, all of the VS-generated files in PCbuild have a UTF-8 BOM, which is what the 'g

[issue21631] List/Dict Combination Bug

2014-06-02 Thread Robert w
Robert w added the comment: i cutted it down = class EnumSectionContentType(object): DATABYTE = 2 DATADOUBLEWORD = 3 DATAWORD = 4 #LABEL = 0 def _getStringOfElements(elements): objectFileString = "" elements = [{'type': 2, 'data': {'elements': ['83H', '0FAH', '9AH', '27

[issue10652] test___all_ + test_tcl fails (Windows installed binary)

2014-06-02 Thread Zachary Ware
Zachary Ware added the comment: As for what's actually wrong here, Hirokazu Yamamoto's diagnosis in msg123615 (adjusted for 2.7) is correct. Either of the last two patches I posted should work to fix this issue, but they're both just band-aids rather than a real, once-and-for-all fix. #20035

[issue21594] asyncio.create_subprocess_exec raises OSError

2014-06-02 Thread Guido van Rossum
Guido van Rossum added the comment: I'm not sure. Running out of file descriptors is really not something a library can handle on its own -- this needs to be kicked back to the app to handle. E.g. by pacing itself, or closing some connections, or changing the system limit... The library really ca

[issue21631] List/Dict Combination Bug

2014-06-02 Thread R. David Murray
R. David Murray added the comment: You may not be a noob, but on the other hand we can't see the bug. So your best bet would be to post your code to the python-list mailing list and ask for help refining your bug report into something we can take action on. -- ___

[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2014-06-02 Thread Jim Jewett
Jim Jewett added the comment: I'm still not seeing why these changes are sufficiently desirable to justify the code churn. Nor am I seeing test or doc changes that would explain the advantages of the new way, and prevent future regressions. I agree that the changes would make the signatures b

[issue21561] help() on enum34 enumeration class creates only a dummy documentation

2014-06-02 Thread Ethan Furman
Ethan Furman added the comment: I think something like the following, taken from http://bugs.python.org/issue19030#msg199920, shoud do the trick for something to test against: class Meta(type): def __getattr__(self, name): if name == 'ham': return 'spam'

[issue21631] List/Dict Combination Bug

2014-06-02 Thread Robert w
Changes by Robert w : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21631] List/Dict Combination Bug

2014-06-02 Thread Robert w
Robert w added the comment: banner C:\Users\r0b3\files\backuped\own_dropbox\programmierung\raymarcher0>C:\Python33\python Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:06:53) [MSC v.1600 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. C:\Use

[issue21625] help()'s more-mode is frustrating

2014-06-02 Thread R. David Murray
R. David Murray added the comment: There is also an option to make less quit if enter is pressed on the last line (-e/--quit-at-eof). These more beginner friendly options could be provided by pydoc if there is no existing PAGER or LESS environment variable. -- nosy: +r.david.murray _

[issue21625] help()'s more-mode is frustrating

2014-06-02 Thread eryksun
eryksun added the comment: You can use '-P?e(END) .(q to quit)' to add (END) just on the last line. Or show the line count instead: os.environ['LESS'] = '-Pline %lB?L/%L. (press h for help or q to quit)' -- ___ Python tracker

[issue14150] AIX, crash loading shared module into another process than python like operator.so results in 0509-130

2014-06-02 Thread Michael Haubenwallner
Michael Haubenwallner added the comment: Doing it this way strictly requires runtime-linking to be enabled, to have "the main executable" and the module use the same runtime instance of the libpython${VERSION}.so symbols. Instead, "the main executable" better should re-export the python symbol

[issue13493] Import error with embedded python on AIX 6.1

2014-06-02 Thread Michael Haubenwallner
Changes by Michael Haubenwallner : -- nosy: +haubi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue16189] ld_so_aix not found

2014-06-02 Thread Michael Haubenwallner
Changes by Michael Haubenwallner : -- nosy: +haubi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21641] smtplib leaves open sockets around if SMTPResponseException is raised in __init__

2014-06-02 Thread Claudiu.Popa
New submission from Claudiu.Popa: Hello! I noticed that test_smtplib raises a ResourceWarning, tracking this to this piece of code: self.assertRaises(smtplib.SMTPResponseException, smtplib.SMTP, HOST, self.port, 'localhost', 3) What happens is that `SMTP.getreply` is c

[issue10656] "Out of tree" build fails on AIX 5.3

2014-06-02 Thread Michael Haubenwallner
Changes by Michael Haubenwallner : -- nosy: +haubi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21641] smtplib leaves open sockets around if SMTPResponseException is raised in __init__

2014-06-02 Thread Claudiu.Popa
Claudiu.Popa added the comment: An alternative to this approach would be to catch the error in __init__ and close the socket there. -- ___ Python tracker ___ ___

[issue20800] Cannot run gui tests twice.

2014-06-02 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: >From Ned Deily's message. >>haven't tried it recently on a Linux system Output from a linux syste: ./python -m test -ugui test_ttk_guionly test_ttk_guionly test_idle test_idle [1/4] test_ttk_guionly [2/4] test_ttk_guionly [3/4] test_idle [4/4] test_idle A

[issue21594] asyncio.create_subprocess_exec raises OSError

2014-06-02 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +giampaolo.rodola, gvanrossum, pitrou, yselivanov ___ Python tracker ___ ___ Python-bugs-list mai

[issue21559] OverflowError should not happen for integer operations

2014-06-02 Thread R. David Murray
R. David Murray added the comment: Your second bullet item would seem to me to be the obvious interpretation of the docs. This is, after all, Python, so 'integer' would refer to Python integers and their operations. So I agree with Stefan that the docs are correct as they stand. As he also

[issue18292] Idle: test AutoExpand.py

2014-06-02 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : Added file: http://bugs.python.org/file35458/test-autoexpand1.diff ___ Python tracker ___ ___ Python-bugs-list

[issue21640] References to other Python version in sidebar of documentation index is not up to date

2014-06-02 Thread Auke Willem Oosterhoff
New submission from Auke Willem Oosterhoff: Most version of the documentation are labeling Python 3.4 as 'in development' and missing reference to Python 3.5. -- Added file: http://bugs.python.org/file35457/python_3.5.patch ___ Python tracker

[issue21640] References to other Python version in sidebar of documentation index is not up to date

2014-06-02 Thread Auke Willem Oosterhoff
Changes by Auke Willem Oosterhoff : Added file: http://bugs.python.org/file35453/python_3.2.patch ___ Python tracker ___ ___ Python-bugs-list

[issue21640] References to other Python version in sidebar of documentation index is not up to date

2014-06-02 Thread Auke Willem Oosterhoff
Changes by Auke Willem Oosterhoff : -- assignee: docs@python components: Documentation files: python_2.7.patch keywords: patch nosy: OrangeTux, docs@python priority: normal severity: normal status: open title: References to other Python version in sidebar of documentation index is not u

[issue6181] Tkinter.Listbox several minor issues

2014-06-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5ab8ec8b5b5b by Serhiy Storchaka in branch '2.7': Issue #6181: Fixed errors in tkinter.Listbox docstrings. http://hg.python.org/cpython/rev/5ab8ec8b5b5b New changeset 932532360578 by Serhiy Storchaka in branch '3.4': Issue #6181: Fixed errors in tki

  1   2   >