[issue18220] In itertools.islice() make prototype like in help()

2013-06-15 Thread py.user
py.user added the comment: same thing with range(): http://docs.python.org/3/library/stdtypes.html?highlight=range#range http://docs.python.org/3//library/functions.html#func-range and with slice(): http://docs.python.org/3/library/functions.html?highlight=slice#slice http://docs.python.org/3//l

[issue18220] In itertools.islice() make prototype like in help()

2013-06-15 Thread R. David Murray
R. David Murray added the comment: The documentation is correct, it is the docstrings that need to be changed. -- nosy: +r.david.murray ___ Python tracker ___ ___

[issue18221] abspath strips trailing spaces on win32

2013-06-15 Thread Jeremy Gray
New submission from Jeremy Gray: The behavior of os.path.abspath differs between Mac OS X and Windows. It seems like a bug that, on Windows, abspath strips trailing whitespace: Windows: >>> from os.path import abspath >>> abspath('start ') + 'END' 'c:\Users\jgray\code\startEND'

[issue18222] os.path.abspath should accept multiple path parts and join them

2013-06-15 Thread Łukasz Balcerzak
New submission from Łukasz Balcerzak: In projects I work on I constantly end up creating something like: abspath = lambda *p: os.path.abspath(os.path.join(*p)) This could be easily avoided by allowing abspath to accept multiple arguments. This would be: 1. Backward compatibile (calls with

[issue17944] Refactor test_zipfile

2013-06-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If there are no objection I'm going to commit this patch soon. -- ___ Python tracker ___ ___ Pytho

[issue15869] IDLE: Include .desktop file and icon

2013-06-15 Thread Rene Hahne
Rene Hahne added the comment: I have the same issue with arch linux and gnome 3.8. Solution was adding "Type=Application" to idle.desktop file -- nosy: +Rene.Hahne ___ Python tracker __

[issue18222] os.path.abspath should accept multiple path parts and join them

2013-06-15 Thread R. David Murray
R. David Murray added the comment: I'm -1 on this. It doesn't make sense to me to conflate two functions like that. If you need that functionality often in your application, just write a small helper function. -- nosy: +r.david.murray ___ Python t

[issue18222] os.path.abspath should accept multiple path parts and join them

2013-06-15 Thread Łukasz Langa
Łukasz Langa added the comment: Would you expect to make the following also accept a sequence of path elements? - normpath, realpath, relpath - dirname - exists, lexists - expanduser, expandvars - isdir, isfile, islink - getsize, etc. I agree with R. David's sentiment. Moreover, relpath takes a

[issue18167] cgi.FieldStorage fails to handle multipart/form-data when \r\n appears at end of 65535 bytes without other newlines

2013-06-15 Thread Chris AtLee
Chris AtLee added the comment: Thanks, your patch is definitely much simpler! I was worried about the case where you have interrupted \r\n that appears in the middle of the content. But that case is handled by the next readline(), which returns a single \n. One question about the tests you've

[issue18223] Refactor test_tarfile

2013-06-15 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: test_tarfile already use parametric classes approach for constructing different tests. The proposed patch extends this approach to generating tests for different compression types. In additional this patch: * Makes test_tarfile discoverable. * Uses more s

[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-06-15 Thread Peter Santoro
New submission from Peter Santoro: I've recently hit an issue with pyvenv in Python 3.3.2 that is causing AttributeErrors in other packages on Windows (see https://groups.google.com/forum/?fromgroups#!topic/pylons-discuss/FpOSMDpdvy4). Here's what I believe is going on: On Windows, the pyven

[issue18113] Memory leak in curses.panel

2013-06-15 Thread A.M. Kuchling
Changes by A.M. Kuchling : -- nosy: +akuchling ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16136] Removal of VMS support

2013-06-15 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Possibly relevant: http://www.theregister.co.uk/2013/06/10/openvms_death_notice/ http://www.openvms.org/stories.php?story=13/06/06/2422149 -- ___ Python tracker

[issue18167] cgi.FieldStorage fails to handle multipart/form-data when \r\n appears at end of 65535 bytes without other newlines

2013-06-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Do triple quoted strings in python always use \n for EOL regardless of the > source code EOL format? Python parser always interprets EOL as \n in string literals. -- ___ Python tracker

[issue18221] abspath strips trailing spaces on win32

2013-06-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +brian.curtin, pitrou, tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue18225] ctypes Structure data size is incorrect

2013-06-15 Thread Tomer Levi
New submission from Tomer Levi: Whenever you create a ctypes.Structure with mixed ctypes, the size of all components is calculated by the size of largest one. This is especially irritating when trying to use Structure on bytearray. The problem repeated for me in Python2.6 and 2.7 (both 32bit an

[issue18225] ctypes Structure data size is incorrect

2013-06-15 Thread Alex Gaynor
Alex Gaynor added the comment: This is how padding works in the C ABI, not a bug. -- nosy: +alex resolution: -> invalid status: open -> closed ___ Python tracker ___ ___

[issue17177] Deprecate imp

2013-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 30aa032c4bd0 by Brett Cannon in branch 'default': Issue #17177: Stop using imp in distutils http://hg.python.org/cpython/rev/30aa032c4bd0 -- ___ Python tracker ___

[issue18214] Stop purging modules which are garbage collected before shutdown

2013-06-15 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue17177] Deprecate imp

2013-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0b96a16656b7 by Brett Cannon in branch 'default': Issue #17177: Stop using imp in multiprocessing http://hg.python.org/cpython/rev/0b96a16656b7 -- ___ Python tracker _

[issue18214] Stop purging modules which are garbage collected before shutdown

2013-06-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Usually garbage collection will end up clearing the module's dict anyway. This is not true, since global objects might have a __del__ and then hold the whole module dict alive through a reference cycle. Happily though, PEP 442 is going to make that concern o

[issue18112] PEP 442 implementation

2013-06-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- keywords: +patch Added file: http://bugs.python.org/file30602/19fd6ab59bbb.diff ___ Python tracker ___

[issue18112] PEP 442 implementation

2013-06-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file30602/19fd6ab59bbb.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue18112] PEP 442 implementation

2013-06-15 Thread Antoine Pitrou
New submission from Antoine Pitrou: Here is the patch implementing PEP 442. -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Pyt

[issue17177] Deprecate imp

2013-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8fff5554125d by Brett Cannon in branch 'default': Issue #17177: switch from imp.new_module to types.ModuleType for runpy http://hg.python.org/cpython/rev/8fff5554125d -- ___ Python tracker

[issue17177] Deprecate imp

2013-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1e141c2cc0d7 by Brett Cannon in branch 'default': Issue #17177: Stop using imp in sysconfig http://hg.python.org/cpython/rev/1e141c2cc0d7 -- ___ Python tracker ___

[issue18224] pyvenv pydoc.py script causing AttributeErrors on Windows

2013-06-15 Thread Ned Deily
Changes by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue18112] PEP 442 implementation

2013-06-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : Added file: http://bugs.python.org/file30604/1d47c88412ac.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue17177] Deprecate imp

2013-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 91467f342977 by Brett Cannon in branch 'default': Issue #17177: Stop using imp with py_compile http://hg.python.org/cpython/rev/91467f342977 New changeset 81cf3d6e6756 by Brett Cannon in branch 'default': Issue #17177: Stop using imp in pydoc http:/

[issue1253] IDLE - Percolator overhaul

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: kbk -> versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2 ___ Python tracker ___ ___ P

[issue13179] IDLE uses common tkinter variables across all editor windows

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13319] IDLE: Menu accelerator conflict between Format and Options

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13504] Meta-issue for "Invent with Python" IDLE feedback

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue12690] Tix bug 2643483

2013-06-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I do not think there is any pydev interest in separately patching tix, any more than we patch tk itself. -- resolution: rejected -> invalid status: open -> closed ___ Python tracker

[issue18113] Memory leak in curses.panel

2013-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset aff0bdab358e by Andrew Kuchling in branch '2.7': #18113: Objects associated to a curses.panel object with set_userptr() were leaked. http://hg.python.org/cpython/rev/aff0bdab358e -- nosy: +python-dev ___

[issue13630] IDLE: Find(ed) text is not highlighted while dialog box is open

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3, Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue13519] Tkinter rowconfigure and columnconfigure functions crash if minsize, pad, or weight is not None

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13586] IDLE: Replace selected not working/consistent with find

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3, Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue13582] IDLE and pythonw.exe stderr problem

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13659] Add a help() viewer for IDLE's Shell.

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14105] Breakpoints in debug lost if line is inserted; IDLE

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13802] IDLE Prefernces/Fonts: use multiple alphabets in examples

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14440] Close background process if IDLE closes abnormally.

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14111] IDLE Debugger should handle interrupts

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14576] IDLE: resolving home directory for configuration uses HOMEDRIVE, HOMEPATH, and USERPROFILE inconsistently on Windows.

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue9625] argparse: Problem with defaults for variable nargs when using choices

2013-06-15 Thread Cédric Krier
Cédric Krier added the comment: ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue15308] IDLE - add an "Interrupt Execution" to shell menu

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14944] Setup & Usage documentation for pydoc, idle & 2to3

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list

[issue18113] Memory leak in curses.panel

2013-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3d75bd69e5a9 by Andrew Kuchling in branch '3.3': #18113: Objects associated to a curses.panel object with set_userptr() were leaked. http://hg.python.org/cpython/rev/3d75bd69e5a9 -- ___ Python tracker <

[issue15335] IDLE - debugger steps through run.py internals

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15313] IDLE - remove all bare excepts

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15457] consistent treatment of generator terminology

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue15786] IDLE code completion window does not scroll/select with mouse

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue16547] IDLE raises an exception in tkinter after fresh file's text has been rendered

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue16893] Create IDLE help.txt from Doc/library/idle.rst

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: docs@python -> versions: +Python 2.7, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list

[issue16655] IDLE list.append calltips test failures

2013-06-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3, Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17224] can not open idle in python 2.7.3

2013-06-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is probably a duplicate of other issues. But please try with the newest 2.7.5. -- ___ Python tracker ___ _

[issue17238] IDLE: Enhance import statement completion

2013-06-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Making a list of all possible modules is harder than a list of attributes. With relative imports, I am not sure its even possible to sensible make a list of every entry that would work. -- ___ Python tracker

[issue18113] Memory leak in curses.panel

2013-06-15 Thread A.M. Kuchling
Changes by A.M. Kuchling : -- stage: needs patch -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue18113] Memory leak in curses.panel

2013-06-15 Thread A.M. Kuchling
A.M. Kuchling added the comment: Thanks for the bug report! I've committed a fix to the 2.7 and 3.3 branches that retrieves the existing userptr and Py_DECREFs it if it's not null. This seems to fix the leak. -- assignee: -> akuchling resolution: -> fixed status: open -> closed __

[issue18214] Stop purging modules which are garbage collected before shutdown

2013-06-15 Thread Richard Oudkerk
Richard Oudkerk added the comment: On 15/06/2013 7:11pm, Antoine Pitrou wrote: >> Usually garbage collection will end up clearing the module's dict anyway. > > This is not true, since global objects might have a __del__ and then hold > the whole module dict alive through a reference cycle. Happil

[issue18214] Stop purging modules which are garbage collected before shutdown

2013-06-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > As for the interpreter shutdown itself, I have a pending patch (post-PEP > > 442) > > to get rid of the globals cleanup as well. It may be better to merge the > > two approaches. > > So you would just depend on garbage collection? No, I also clean up thos

[issue18223] Refactor test_tarfile

2013-06-15 Thread Zachary Ware
Zachary Ware added the comment: Looks like a winner, barring a few nits picked on Rietveld. This issue supersedes issue17689, would anyone mind marking that for me? -- ___ Python tracker _

[issue17689] Fix test discovery for test_tarfile.py

2013-06-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue17689] Fix test discovery for test_tarfile.py

2013-06-15 Thread Zachary Ware
Zachary Ware added the comment: Superseded by issue18223. -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ _

[issue18221] abspath strips trailing spaces on win32

2013-06-15 Thread Jeremy Gray
Jeremy Gray added the comment: Maybe this a documentation / run-time warning issue, rather than bug. Trailing spaces in filenames are illegal in Win32; nonetheless they can occur, because there are instructions on how to remove such files: http://support.microsoft.com/kb/320081. So os.path.abs

[issue18163] Add a 'key' attribute to KeyError

2013-06-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue18166] 'value' attribute for ValueError

2013-06-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue18170] define built-in exceptions in Python code

2013-06-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue18162] Add index attribute to IndexError

2013-06-15 Thread Ezio Melotti
Ezio Melotti added the comment: Is there a meta-issue for these changes? I remember a similar discussion a couple of years ago, but I don't remember if it was on python-dev/ideas or on the bug tracker. I agree that exceptions could be improved, but I would like to get the big picture of the cha

[issue18165] Add 'unexpected_type' to TypeError

2013-06-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue17177] Deprecate imp

2013-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset bc18b5d4920e by Brett Cannon in branch 'default': Issue #17177: Stop using imp in a bunch of tests http://hg.python.org/cpython/rev/bc18b5d4920e -- ___ Python tracker

[issue18174] Make regrtest with --huntrleaks check for fd leaks

2013-06-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue18176] Builtins documentation refers to old version of UCD.

2013-06-15 Thread Ezio Melotti
Ezio Melotti added the comment: If all the versions are up to date it shouldn't be difficult to grep for '6.2.0' at the next update, and I would expect people to do it when it happens. Maybe adding a comment where unidata_version is defined as a remainder to update the rest will suffice. Tha

[issue18177] Incorect quote marks in code section-headers in PDF version of docs

2013-06-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti type: -> enhancement versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-li

[issue17177] Deprecate imp

2013-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset f96eb1dc335f by Brett Cannon in branch 'default': Issue #17177: Stop using imp in zipfile http://hg.python.org/cpython/rev/f96eb1dc335f New changeset b2b2bdc4cf6f by Brett Cannon in branch 'default': Issue # 17177: Stop using imp in turtledemo http:

[issue17177] Deprecate imp

2013-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4a1161eaed99 by Brett Cannon in branch 'default': Issue # 17177: Stop using imp in setup.py http://hg.python.org/cpython/rev/4a1161eaed99 -- ___ Python tracker ___

[issue18111] Add a default argument to min & max

2013-06-15 Thread R. David Murray
R. David Murray added the comment: I find it interesting that I just came across a case where I want this functionality, involving a generator derived from a possibly-empty sql table. I'm using Stefan's functional expression for now :) -- ___ Pytho

[issue17177] Deprecate imp

2013-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset ca3bdac1f88a by Brett Cannon in branch 'default': Issue #17177: update checkpyc to stop using imp http://hg.python.org/cpython/rev/ca3bdac1f88a -- ___ Python tracker _

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: The format looks good. The content looks skimpy. I am not familiar with Delegator and have not yet looked to see what more is needed. But this is enough to test working with a gui test. This *is* a gui test. See msg190576. So it must be protected by requiring

[issue18226] IDLE Unit test for FormatParagrah.py

2013-06-15 Thread Todd Rovito
Changes by Todd Rovito : -- nosy: +JayKrish ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue18226] IDLE Unit test for FormatParagrah.py

2013-06-15 Thread Todd Rovito
New submission from Todd Rovito: Continuing the IDLE unittest framework initiated in http://bugs.python.org/issue15392. A small unit test for IDLE FormatParagraph.py. This patch introduces a test module named test_format_paragraph.py inside Lib/idlelib/idle_test, considering the guidance in R

[issue17177] Deprecate imp

2013-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5e8b377942f7 by Brett Cannon in branch 'default': Issue #17177: stop using imp in test_importlib http://hg.python.org/cpython/rev/5e8b377942f7 -- ___ Python tracker __

[issue18103] Create a GUI test framework for Idle

2013-06-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: The basic question for this issue is whether to segregate gui tests in a separate directory (idle_test_gui?) and run them with a separate test_idle_gui.py? or to sprinkle gui test cases throughout the test suite, perhaps one to each test_idle/text_xxx.py file?

[issue18162] Add index attribute to IndexError

2013-06-15 Thread Brett Cannon
Brett Cannon added the comment: Nope, no meta-issue. I literally just realized one evening that the handful of exceptions that I filed bugs for could use an attribute for why the exception was raised. -- ___ Python tracker

[issue18103] Create a GUI test framework for Idle

2013-06-15 Thread Ned Deily
Ned Deily added the comment: Individual test cases are only seen if you run regrtest (-m test) in verbose mode (-v). There are many test cases that are akipped in the standard library, depending on platform and -u options, and you normally don't see them (without -v). So mixing gui-dependent

[issue17177] Deprecate imp

2013-06-15 Thread Brett Cannon
Brett Cannon added the comment: At this point I have updated all the code that does not directly exposes imp somehow or in Tools. At this point the only thing I need to decide is whether I want to continue to expose the lock stuff from imp or leave it private. After that the pending deprecati

[issue18203] Replace direct calls to malloc() with PyMem_Malloc() or PyMem_RawMalloc()

2013-06-15 Thread STINNER Victor
Changes by STINNER Victor : -- title: Replace calls to malloc() with PyMem_Malloc() or PyMem_RawMalloc() -> Replace direct calls to malloc() with PyMem_Malloc() or PyMem_RawMalloc() ___ Python tracker

[issue18227] Use Python memory allocators in external libraries like zlib or OpenSSL

2013-06-15 Thread STINNER Victor
New submission from STINNER Victor: With the PEP 445 and the issue #3329, Python will get an API to setup custom memory allocators. To be able to configure how memory is handled in external libraries, some libraries allow to setup a custom allocator too. New functions PyMem_RawMalloc(), PyMem_

[issue18227] Use Python memory allocators in external libraries like zlib or OpenSSL

2013-06-15 Thread STINNER Victor
STINNER Victor added the comment: See also the issue #18203: "Replace calls to malloc() with PyMem_Malloc() or PyMem_RawMalloc()". -- ___ Python tracker ___

[issue18203] Replace calls to malloc() with PyMem_Malloc() or PyMem_RawMalloc()

2013-06-15 Thread STINNER Victor
Changes by STINNER Victor : -- title: Replace calls to malloc() with PyMem_Malloc() -> Replace calls to malloc() with PyMem_Malloc() or PyMem_RawMalloc() ___ Python tracker ___

[issue18227] Use Python memory allocators in external libraries like zlib or OpenSSL

2013-06-15 Thread STINNER Victor
STINNER Victor added the comment: Uncomplete(?) list of external libraries used by Python: - libffi (_ctypes): has its own memory allocator (dlmalloc), is it used? see also issue #18178 - libmpdec (_decimal): already configured to reuse the PyMem_Malloc() family (see Modules/_decimal/_decimal.

[issue13797] Allow objects implemented in pure Python to export PEP 3118 buffers

2013-06-15 Thread Jacob Holm
Changes by Jacob Holm : -- nosy: +Jacob.Holm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue17547] "checking whether gcc supports ParseTuple __format__... " erroneously returns yes with gcc 4.8

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

[issue17547] "checking whether gcc supports ParseTuple __format__... " erroneously returns yes with gcc 4.8

2013-06-15 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: This is affecting 3.2.5. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13483] Use VirtualAlloc to allocate memory arenas

2013-06-15 Thread STINNER Victor
STINNER Victor added the comment: Martin von Loewis: "If we take the route proposed by this patch, I recommend also dropping all other CRT malloc() calls in Python, and make allocations from the process heap instead (that's a separate issue, though)." => see issue #18203 -- _

[issue13483] Use VirtualAlloc to allocate memory arenas

2013-06-15 Thread STINNER Victor
STINNER Victor added the comment: haypo> I tested VirtualAlloc/VirtualFree versus malloc/free haypo> on Windows 7 SP1 64-bit. On my small test, ... I realized that I was no precise: I tried attached va.diff patch. I didn't try to replace completly malloc(). --

[issue14903] dictobject infinite loop

2013-06-15 Thread Daniel Farina
Daniel Farina added the comment: In addition to being re-verified on 2.7, this occurred on a 64 bit system, so I've changed the title accordingly. -- title: dictobject infinite loop on 2.6.5 on 32-bit x86 -> dictobject infinite loop ___ Python track

  1   2   >