[issue18017] ctypes.PyDLL documentation

2014-06-19 Thread marc
marc added the comment: I think the problem was a combination of two issues. First, the warning in 16.17.2.2 is a bit hidden. Kind of squeezed in between CDLL, etc and PyDLL. In contrast, 16.17.2.4 does a much better job, because it restates the fact that the GIL is released at each and every

[issue2943] Distutils should generate a better error message when the SDK is not installed

2014-06-19 Thread pokeeffe
Changes by pokeeffe : -- nosy: +pokeeffe ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue18872] platform.linux_distribution() doesn't recognize Amazon Linux

2014-06-19 Thread Ned Deily
Changes by Ned Deily : -- nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue21812] turtle.shapetransform doesn't transform the turtle on the first call

2014-06-19 Thread Lita Cho
New submission from Lita Cho: When you call turtle.shapetransform with a transformation matrix, nothing happens. You have to call turtle.shapesize or turtle.shearfactor first before turtle.shapetransform will take affect. Here is an example. turtle.shapetransform(2,0,0,2) turtle.shapesize(1)

[issue21812] turtle.shapetransform doesn't transform the turtle on the first call

2014-06-19 Thread Lita Cho
Changes by Lita Cho : -- nosy: +jesstess ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue21805] Argparse Revert config_file defaults

2014-06-19 Thread d0n
d0n added the comment: Thanks for your reply. It seems you quite good understood my use case =) and I get your point. Also, I just did not mention your (far more easier method) of accomplishing my goal. Indeed, where I use that kind of switching I conditionally change the help text as well. S

[issue21765] Idle: make 3.x HyperParser work with non-ascii identifiers.

2014-06-19 Thread Ezio Melotti
Ezio Melotti added the comment: > I'm not sure what the "Other_ID_Start property" mentioned in [1] and > [2] means, though. Can we get someone with more in-depth knowledge of > unicode to help with this? See http://www.unicode.org/reports/tr31/#Backward_Compatibility. Basically they were consid

[issue19495] Enhancement for timeit: measure time to run blocks of code using 'with'

2014-06-19 Thread Ezio Melotti
Ezio Melotti added the comment: I often write code like: import time start = time.time() ... end = time.time() print(end - start) Usually I don't do this to measure accurately the performance of some piece of code, but rather I do it for tasks that take some time (e.g. downloading a

[issue21719] Returning Windows file attribute information via os.stat()

2014-06-19 Thread Zachary Ware
Zachary Ware added the comment: If you want to make a patch to that effect, I'll commit it. At this point though, the whatsnew doc is just a stub and the whole document will be beaten into better shape closer to release time. -- ___ Python tracker <

[issue11695] Improve argparse usage/help customization

2014-06-19 Thread paul j3
paul j3 added the comment: Here's a function that implements the format string: def custom_help(template): def usage(self): formatter = self._get_formatter() formatter.add_usage(self.usage, self._actions, self._mutually_exclusive_groups, prefix

[issue17888] docs: more information on documentation team

2014-06-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy stage: -> needs patch type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list

[issue12933] Update or remove claims that distutils requires external programs

2014-06-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: needs patch -> patch review type: -> enhancement versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___

[issue13102] xml.dom.minidom does not support default namespaces

2014-06-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue21719] Returning Windows file attribute information via os.stat()

2014-06-19 Thread Ben Hoyt
Ben Hoyt added the comment: BTW, thanks for the mention in "What's New in Python 3.5": https://docs.python.org/3.5/whatsnew/3.5.html#os Can I make one small suggestion for a tweak there? A link to the docs for os.stat() would be good. So maybe instead of mentioning "os.stat_result" -- which i

[issue21261] Teach IDLE to Autocomplete dictionary keys

2014-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: String keys is what Raymond requested and what looks sensible to me. A week ago, I committed test_idle/test_hyperparser.py and an incomplete test_autocomplete.py. So we can now, for this issue, at least partly follow our standard procedure of requiring tests w

[issue20446] ipaddress: hash similarities for ipv4 and ipv6

2014-06-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Unless you can show up a real-world workload where this truely impacts performance, I'd classify this is a rather vague concern. -- nosy: +pitrou ___ Python tracker __

[issue21655] Write Unit Test for Vec2 and TNavigator class in the Turtle Module

2014-06-19 Thread Lita Cho
Lita Cho added the comment: Finished testing TNavigator and Vec2 class. -- keywords: +patch title: Write Unit Test for Vec2 class in the Turtle Module -> Write Unit Test for Vec2 and TNavigator class in the Turtle Module Added file: http://bugs.python.org/file35701/vec2_tnav.patch

[issue6133] LOAD_CONST followed by LOAD_ATTR can be optimized to just be a LOAD_CONST

2014-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: later -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue9739] Output of help(...) is wider than 80 characters

2014-06-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Perhaps after the Google Summer of Code project is done (mid-August). -- ___ Python tracker ___ ___ P

[issue21809] Building Python3 on VMS - External repository

2014-06-19 Thread John Malmberg
John Malmberg added the comment: This is an informational ticket. At this point, it is a spare time activity for me. Hopefully there are other interested parties to help. Time will tell. -- ___ Python tracker _

[issue21261] Teach IDLE to Autocomplete dictionary keys

2014-06-19 Thread Eduardo Seabra
Eduardo Seabra added the comment: >From the example, I couldn't know if the patch should also autocomplete int >and other types. So here's a patch that autocompletes string dictionary keys. I'm new contributing so let me know if I made anything wrong and I'll fix as soon as possible. -

[issue18872] platform.linux_distribution() doesn't recognize Amazon Linux

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: The patch adds 'system' to _supported_dists in platform.py. I've no idea whether or not this is acceptable. -- nosy: +BreamoreBoy type: behavior -> enhancement ___ Python tracker

[issue15588] quopri: encodestring and decodestring handle bytes, not strings

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: Can we have a review on this fairly small patch please. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue20915] Add "pip" section to experts list in devguide

2014-06-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti resolution: -> fixed stage: needs patch -> resolved status: open -> closed type: -> enhancement ___ Python tracker ___ _

[issue20915] Add "pip" section to experts list in devguide

2014-06-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset ae349e31b56e by Ezio Melotti in branch 'default': #20915: add pip experts to the expert list. http://hg.python.org/devguide/rev/ae349e31b56e -- nosy: +python-dev ___ Python tracker

[issue21738] Enum docs claim replacing __new__ is not possible

2014-06-19 Thread Ethan Furman
Ethan Furman added the comment: Common, no. And if the docs were silent on the matter that would be okay, but unfortunately the docs declare that it is not possible, which is just plain wrong. Patch also mentions _value_ as that is the supported interface when customizing __new__ methods. -

[issue20062] Remove emacs page from devguide

2014-06-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset a79c7088ed10 by Ezio Melotti in branch 'default': #20062: replace emacs page of the devguide with a link to the PythonEditors wiki page. Initial patch by Albert Looney. http://hg.python.org/devguide/rev/a79c7088ed10 -- nosy: +python-dev _

[issue20062] Remove emacs page from devguide

2014-06-19 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: -> ezio.melotti resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue20915] Add "pip" section to experts list in devguide

2014-06-19 Thread Nick Coghlan
Nick Coghlan added the comment: On 20 Jun 2014 08:51, "Ezio Melotti" wrote: > > > Ezio Melotti added the comment: > > > What about adding a “pip” line in experts.rst in the devguide? > > Should this be under "ensurepip" in the "Modules" section or under "pip" in the "Miscellaneous" section? Bot

[issue17462] argparse FAQ: how it is different from optparse

2014-06-19 Thread Ezio Melotti
Ezio Melotti added the comment: Patch LGTM. -- versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue20446] ipaddress: hash similarities for ipv4 and ipv6

2014-06-19 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ncoghlan, pmoody ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue21811] Anticipate fixes to 3.x and 2.7 for OS X 10.10 Yosemite support

2014-06-19 Thread Ned Deily
Ned Deily added the comment: To clarify, item 1 above should be read as: "1. When running Pythons installed from current 3.4.1 and 2.7.7 binary installers [...]" -- ___ Python tracker

[issue20945] why save the item to be replaced as olditem in PyTuple_SetItem? It's not useful at all.

2014-06-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue17383] Possibly ambiguous phrasing in tutorial/modules#more-on-modules

2014-06-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17006] Add advice on best practices for hashing secrets

2014-06-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: needs patch -> patch review versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Python-bu

[issue20915] Add "pip" section to experts list in devguide

2014-06-19 Thread Ezio Melotti
Ezio Melotti added the comment: > What about adding a “pip” line in experts.rst in the devguide? Should this be under "ensurepip" in the "Modules" section or under "pip" in the "Miscellaneous" section? > can you give Donald and Marcus sufficient rights for bug triage This is done. > what abo

[issue18138] ctx.load_verify_locations(cadata)

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

[issue20446] ipaddress: hash similarities for ipv4 and ipv6

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: Can someone comment on this issue please. -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bug

[issue20091] An index entry for __main__ in "30.5 runpy" is missing

2014-06-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy stage: -> needs patch type: -> enhancement versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___

[issue21811] Anticipate fixes to 3.x and 2.7 for OS X 10.10 Yosemite support

2014-06-19 Thread Ned Deily
Ned Deily added the comment: The attached patches should address the above issues. There is a common patch that applies to the current default, 3.4, and 2.7 branches and branch specific patches (one of r default and 3.4, the other for 2.7) for configure.ac changes. As usual, run autoreconf a

[issue20254] Duplicate bytearray test on test_socket.py

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: Could somebody review the simple patch please. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___

[issue21811] Anticipate fixes to 3.x and 2.7 for OS X 10.10 Yosemite support

2014-06-19 Thread Ned Deily
Changes by Ned Deily : Added file: http://bugs.python.org/file35697/issue_21811_yosemite_support_configure_3x.patch ___ Python tracker ___ __

[issue18410] Idle: test SearchDialog.py

2014-06-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21811] Anticipate fixes to 3.x and 2.7 for OS X 10.10 Yosemite support

2014-06-19 Thread Ned Deily
Changes by Ned Deily : Added file: http://bugs.python.org/file35698/issue_21811_yosemite_support_configure_27.patch ___ Python tracker ___ __

[issue21811] Anticipate fixes to 3.x and 2.7 for OS X 10.10 Yosemite support

2014-06-19 Thread Ned Deily
Changes by Ned Deily : -- keywords: +patch Added file: http://bugs.python.org/file35696/issue_21811_yosemite_support.patch ___ Python tracker ___

[issue21811] Anticipate fixes to 3.x and 2.7 for OS X 10.10 Yosemite support

2014-06-19 Thread Ned Deily
New submission from Ned Deily: Apple recently announced an upcoming public beta and anticipated fall release of the next version of OS X, 10.10 Yosemite. As usual, developer previews of 10.10 have been made under non-disclosure since the exact details of 10.10 may change prior to the final re

[issue1043134] Add preferred extensions for MIME types

2014-06-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: test needed -> patch review versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-

[issue20457] Use partition and enumerate make getopt easier

2014-06-19 Thread Ezio Melotti
Ezio Melotti added the comment: Based on Raymond's comment I'm going to close this. Thanks anyway for the patch. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue21740] doctest doesn't allow duck-typing callables

2014-06-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Ezio Melotti added the comment: > > Would using callable() instead of inspect.isfunction() be ok? I'm not sure, because it would also select classes. I guess we need something a bit smarter. -- ___ Python tracker

[issue21740] doctest doesn't allow duck-typing callables

2014-06-19 Thread Ezio Melotti
Ezio Melotti added the comment: Would using callable() instead of inspect.isfunction() be ok? -- ___ Python tracker ___ ___ Python-bug

[issue21739] Add hint about expression in list comprehensions (https://docs.python.org/2/tutorial/datastructures.html#list-comprehensions)

2014-06-19 Thread Ezio Melotti
Ezio Melotti added the comment: If we don't want to go into the details of why it's not equivalent, using "roughly equivalent" might be enough. -- keywords: +easy nosy: +ezio.melotti stage: -> needs patch type: -> enhancement ___ Python tracker

[issue21738] Enum docs claim replacing __new__ is not possible

2014-06-19 Thread Ezio Melotti
Ezio Melotti added the comment: Is this common enough that it deserves to be documented? -- components: +Documentation nosy: +ezio.melotti type: -> enhancement ___ Python tracker __

[issue17062] An os.walk inspired replacement for pkgutil.walk_packages

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: Could somebody review the attached patch please. -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Pyt

[issue21690] re documentation: re.compile links to re.search / re.match instead of regex.search / regex.match

2014-06-19 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: docs@python -> ezio.melotti nosy: +ezio.melotti stage: -> resolved status: open -> closed type: -> enhancement ___ Python tracker ___

[issue13223] pydoc removes 'self' in HTML for method docstrings with example code

2014-06-19 Thread Berker Peksag
Berker Peksag added the comment: > I guess the tests --without-doc-strings are broken: > http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%203.x/builds/6900/steps/test/logs/stdio Attached patch fixes these failures. -- nosy: +berker.peksag versions: +Python 3.5 -Python 3.2,

[issue21690] re documentation: re.compile links to re.search / re.match instead of regex.search / regex.match

2014-06-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 88a1f3cf4ed9 by Ezio Melotti in branch '2.7': #21690: fix a couple of links in the docs of the re module. Noticed by Julian Gilbey. http://hg.python.org/cpython/rev/88a1f3cf4ed9 New changeset 9090348a920d by Ezio Melotti in branch '3.4': #21690: f

[issue19415] test_gdb fails when using --without-doc-strings on Fedora 19

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: @Nick/Dave, any comment on this problem? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs

[issue9148] os.execve puts process to background on windows

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: I've changed the nosy list according to the experts index for the os module and Windows, sorry if I've named anyone I shouldn't have. -- nosy: +BreamoreBoy, loewis, steve.dower, tim.golden, zach.ware ___ Python tracke

[issue21810] SIGSEGV in PyObject_Malloc when ARENAS_USE_MMAP

2014-06-19 Thread Charles-François Natali
Charles-François Natali added the comment: Thanks for the report. The patch introducing mmap() to limit memory fragmentation was applied initially only to the Python 3 branch (3.2 at that time IIRC). This problem was spotted a couple days later, and fixed: http://hg.python.org/cpython/rev/ba8

[issue21810] SIGSEGV in PyObject_Malloc when ARENAS_USE_MMAP

2014-06-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 012b5c9c062d by Charles-François Natali in branch '2.7': Issue #21810: Backport mmap-based arena allocation failure check. http://hg.python.org/cpython/rev/012b5c9c062d -- nosy: +python-dev ___ Python tra

[issue10978] Add optional argument to Semaphore.release for releasing multiple threads

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: Seems good to proceed as there are no dissenters. -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Py

[issue21720] "TypeError: Item in ``from list'' not a string" message

2014-06-19 Thread Ezio Melotti
Ezio Melotti added the comment: Do you want to propose a patch? I think the standard message in these cases is along the lines of "TypeError: fromlist argument X must be str, not unicode" -- keywords: +easy nosy: +ezio.melotti stage: -> needs patch

[issue13102] xml.dom.minidom does not support default namespaces

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: >From the statement in msg144927 this can be closed as "not a bug". -- nosy: +BreamoreBoy ___ Python tracker ___

[issue20957] test_smptnet Fail instead of Skip if SSL-port is unavailable

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: Can somebody review the attached patch please. -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Pytho

[issue18017] ctypes.PyDLL documentation

2014-06-19 Thread eryksun
eryksun added the comment: 16.17.2.2 already has a warning after it introduces CDLL, OleDLL, and WinDLL: The Python global interpreter lock is released before calling any function exported by these libraries, and reacquired afterwards. It links to the glossary entry: https://

[issue8502] support plurals in pygettext

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: Patch has been applied so this can be closed. -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-

[issue6133] LOAD_CONST followed by LOAD_ATTR can be optimized to just be a LOAD_CONST

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: Given the last two comments can this be closed as won't fix? -- nosy: +BreamoreBoy ___ Python tracker ___

[issue21810] SIGSEGV in PyObject_Malloc when ARENAS_USE_MMAP

2014-06-19 Thread Ned Deily
Changes by Ned Deily : -- nosy: +benjamin.peterson, neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue9972] PyGILState_XXX missing in Python builds without threads

2014-06-19 Thread Ned Deily
Ned Deily added the comment: 75503c26a17f for Python 3.3 added WITH_THREADS protection to the PyGILState_{Ensure|Release} definitions in Include/pystate.h. -- nosy: +ned.deily resolution: -> out of date stage: -> resolved status: open -> closed versions: +Python 3.3 -Python 2.7, Pytho

[issue16272] C-API documentation clarification for tp_dictoffset

2014-06-19 Thread eryksun
eryksun added the comment: It could also mention the generic getter and setter functions for the PyGetSetDef that were added in 3.3: PyType_GenericGetDict and PyType_GenericSetDict. https://docs.python.org/3/c-api/object.html#c.PyType_GenericGetDict -- nosy: +eryksun

[issue14534] Add method to mark unittest.TestCases as "do not run".

2014-06-19 Thread Ezio Melotti
Ezio Melotti added the comment: +1 on the idea. While the mixin method works and it's not overly complex, it might not be immediately obvious to those unfamiliar with it and to those reviewing the code (i.e. there's no clear hint about the reason why the base class doesn't inherit from TestCa

[issue21741] Convert most of the test suite to using unittest.main()

2014-06-19 Thread Zachary Ware
Zachary Ware added the comment: Raymond Hettinger added the comment: >>I think there's enough support here to skip python-dev :). > > Not really. There is support here for using unittest.main() > whereever it fits and cleans-up the code. That is not the same as > saying we can eliminate support

[issue18588] timeit examples should be consistent

2014-06-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I did find it somewhat confusing when trying to interpret > the timeit documentation. Perhaps that is a good thing. Making good, repeatable, meaningful timings where you have a clear interpretation of the results is non-trivial, learned skill. Cross-

[issue3425] posixmodule.c always using res = utime(path, NULL)

2014-06-19 Thread R. David Murray
R. David Murray added the comment: This is no longer an issue in Python3; there utimes is used if it is available (if utimensat is not). Since this doesn't affect the platforms actually supported by python2.7, I'm closing this as out of date. -- nosy: +r.david.murray resolution: -> o

[issue21741] Convert most of the test suite to using unittest.main()

2014-06-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: > My ultimate goal along those lines is to eradicate > support.run_unittest, and this is a step in that direction. > >I think there's enough support here to skip python-dev :). Not really. There is support here for using unittest.main() whereever it fits a

[issue20068] collections.Counter documentation leaves out interesting usecase

2014-06-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: The introductory example already shows both ways of using a Counter: 1) How to tally one at a time: cnt = Counter() for word in ['red', 'blue', 'red', 'green', 'blue', 'blue']: cnt[word] += 1 2) How to count directly from a list: words = r

[issue21810] SIGSEGV in PyObject_Malloc when ARENAS_USE_MMAP

2014-06-19 Thread John-Mark Bell
New submission from John-Mark Bell: In low-memory scenarios, the Python 2.7 interpreter may crash as a result of failing to correctly check the return value from mmap in new_arena(). This changeset appears to be the point at which this issue was introduced: http://hg.python.org/cpython/rev/4e4

[issue9972] PyGILState_XXX missing in Python builds without threads

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: Can somebody check to see if this is still a problem, I've only got a Windows PC. -- nosy: +BreamoreBoy type: -> behavior versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker

[issue14903] dictobject infinite loop in module set-up

2014-06-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: Can you provide specific details of exactly which python package from which distro is installed on the machines? Are the machines hardware or VMs? if they are VMs, what version of what VM system and what hardware are the VMs running on? I'm asking because

[issue21163] asyncio doesn't warn if a task is destroyed during its execution

2014-06-19 Thread Richard Kiss
Richard Kiss added the comment: The more I use asyncio, the more I am convinced that the correct fix is to keep a strong reference to a pending task (perhaps in a set in the eventloop) until it starts. Without realizing it, I implicitly made this assumption when I began working on my asyncio

[issue20068] collections.Counter documentation leaves out interesting usecase

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: I'm -0 on this as it seems to be six of one, half a dozen of the other, but I don't get the final say :) -- nosy: +BreamoreBoy ___ Python tracker _

[issue9770] curses.isblank function doesn't match ctype.h

2014-06-19 Thread akira
akira added the comment: I've fixed isblank to accept tab instead of backspace and added tests for character classification functions from curses.ascii module that have corresponding analogs in ctype.h. They've uncovered issues in isblank, iscntrl, and ispunct functions. Open questions: - is

[issue18612] More elaborate documentation on how list comprehensions and generator expressions relate to each other

2014-06-19 Thread uglemat
uglemat added the comment: Yeah, I guess it's pretty obvious that generator expressions are not list comprehensions from the glossary. I'll close the bug. -- status: open -> closed ___ Python tracker _

[issue12849] Cannot override 'connection: close' in urllib2 headers

2014-06-19 Thread Demian Brecht
Demian Brecht added the comment: The problem here as far as I can tell is that the underlying file object (addinfourl) blocks while waiting for a full response from the server. As detailed in section 8.1 of RFC 2616, requests and responses can be pipelined, meaning requests can be sent while w

[issue21680] asyncio: document event loops

2014-06-19 Thread STINNER Victor
STINNER Victor added the comment: On Windows, the default event loop is _WindowsSelectorEventLoop which calls select.select(). On Windows, select() only accepts socket handles: http://msdn.microsoft.com/en-us/library/windows/desktop/ms740141%28v=vs.85%29.aspx Only file descriptors of sockets ar

[issue18703] To change the doc of html/faq/gui.html

2014-06-19 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python

[issue16399] argparse: append action with default list adds to list instead of overriding

2014-06-19 Thread paul j3
paul j3 added the comment: It should be easy to write a subclass of Action, or append Action, that does what you want. It just needs a different `__call__` method. You just need a way of identifying an default that needs to be overwritten as opposed to appended to. def __call__(self, p

[issue21741] Convert most of the test suite to using unittest.main()

2014-06-19 Thread Zachary Ware
Zachary Ware added the comment: @Terry: This is part of the ongoing effort of issues #16748 and #10967 (and possibly others). My ultimate goal along those lines is to eradicate support.run_unittest, and this is a step in that direction. I think there's enough support here to skip python-dev :

[issue6673] Uncaught comprehension SyntaxError eats up all memory

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: Assuming that documentation changes are needed, who's best placed to do them? -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue18703] To change the doc of html/faq/gui.html

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: It looks as if there's nothing to be done here, is that correct? -- nosy: +BreamoreBoy versions: -Python 3.1, Python 3.2, Python 3.3 ___ Python tracker

[issue18588] timeit examples should be consistent

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: @Steven you're into timeit, do you have anything to add here? -- nosy: +BreamoreBoy, steven.daprano ___ Python tracker ___ __

[issue21447] Intermittent asyncio.open_connection / futures.InvalidStateError

2014-06-19 Thread STINNER Victor
STINNER Victor added the comment: I'm unable to reproduce the issue with Python 3.5 (development version). -- ___ Python tracker ___ _

[issue18669] curses.chgat() moves cursor, documentation says it shouldn't

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: Can we have a comment on this please. -- nosy: +BreamoreBoy versions: -Python 2.6, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker ___ ___

[issue18612] More elaborate documentation on how list comprehensions and generator expressions relate to each other

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: Both list comprehension and generator expression are defined in the glossary https://docs.python.org/3/glossary.html, so what else can be done? -- nosy: +BreamoreBoy ___ Python tracker

[issue20493] select module: loop if the timeout is too large (OverflowError "timeout is too large")

2014-06-19 Thread STINNER Victor
Changes by STINNER Victor : -- title: asyncio: OverflowError('timeout is too large') -> select module: loop if the timeout is too large (OverflowError "timeout is too large") ___ Python tracker ___

[issue21599] Argument transport in attach and detach method in Server class in base_events file is not used

2014-06-19 Thread STINNER Victor
STINNER Victor added the comment: The Server class is hardcoded in create_server() and create_unix_server(), it's not possible to pass an arbitrary class. Only the AbstractServer class is documented, and only close() and wait_for_close() methods: https://docs.python.org/dev/library/asyncio-even

[issue16272] C-API documentation clarification for tp_dictoffset

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: @Chris can you prepare a patch for this? -- nosy: +BreamoreBoy versions: -Python 2.6, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker ___

[issue18017] ctypes.PyDLL documentation

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: @Marc can you prepare a patch for this issue? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python

[issue21758] Not so correct documentation about asyncio.subprocess_shell method

2014-06-19 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue21807] SysLogHandler closes TCP connection after first message

2014-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: Some information appears to be missing from your snippet: the default logger level is WARNING, so no INFO messages would be expected. Have you set logging.raiseExceptions to a False value? Are you sure that no network error is occurring? How can you be sure the o

  1   2   >