[issue13478] No documentation for timeit.default_timer

2011-11-25 Thread Sandro Tosi
New submission from Sandro Tosi : Hello, timeit documentation doesn't mention default_timer, while the module exposes it publicly and there's code snippets on the web using it. It should be documented then. ps: adding Georg to nosy as per Experts list -- assignee: docs@python compone

[issue11849] glibc allocator doesn't release all free()ed memory

2011-11-25 Thread Charles-François Natali
Charles-François Natali added the comment: > For the record, this seems to make large allocations slower: > > -> with patch: > $ ./python -m timeit "b'x'*20" > 1 loops, best of 3: 27.2 usec per loop > > -> without patch: > $ ./python -m timeit "b'x'*20" > 10 loops, best of 3: 7.4

[issue13432] Encoding alias "unicode"

2011-11-25 Thread kxroberto
kxroberto added the comment: I wonder where is the origin, who is the inventor of the frequent charset=unicode? But: "Sorry, but it's not obviously that Unicode means UTF-8." When I faced the first time on the web, I guessed it is UTF-8 without looking. It even sounds colloquially reasonab

[issue8754] quote bad module name in ImportError-like messages

2011-11-25 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue13475] Add '-p'/'--path0' command line option to override sys.path[0] initialisation

2011-11-25 Thread Eric Snow
Eric Snow added the comment: The current behavior is an implicit "-p .", which causes all sorts of hard-to-figure-out problems, most of which PEP 395 is rightly trying to fix. I'm suggesting that the next step would be to make "--nopath0" the default (rendering the flag unnecessary). Since

[issue13479] pickle to picky on re-defined classes

2011-11-25 Thread kxroberto
New submission from kxroberto : When a class definition was re-executed (reload, exec ..) , pickling of existing instances fails for to picky reason (class object id mismatch). Solved by the one liner patch below. Rational: Python is dynamic. Like with any normal attribute lookup: When its th

[issue13479] pickle too picky on re-defined classes

2011-11-25 Thread kxroberto
Changes by kxroberto : -- title: pickle to picky on re-defined classes -> pickle too picky on re-defined classes ___ Python tracker ___ _

[issue10278] add time.wallclock() method

2011-11-25 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue10278] add time.wallclock() method

2011-11-25 Thread Michael Foord
Changes by Michael Foord : -- nosy: -michael.foord versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mail

[issue13432] Encoding alias "unicode"

2011-11-25 Thread STINNER Victor
STINNER Victor added the comment: > Python is not a language written for the web, it's generic language to program anything! If you have a problem to parse an HTML page, the special case should be added to the HTML parser, not to the language. Do you have the encoding issue with a parser in

[issue11849] glibc allocator doesn't release all free()ed memory

2011-11-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I see you're comparing 3.2 and default: could you run the same > benchmark on default with and without the patch ? Same results: -> default branch: 1000 loops, best of 3: 364 usec per loop -> default branch with patch reverted: 1 loops, best of 3: 185 use

[issue11849] glibc allocator doesn't release all free()ed memory

2011-11-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ah, sorry, false alarm. "b[:] = b" actually makes a temporary copy of the bytearray when assigning to itself (!). However, there's still another strange regression: $ ./python -m timeit \ -s "n=30; f=open('10MB.bin', 'rb', buffering=0); b=bytearray(n)"

[issue12559] gzip.open() needs an optional encoding argument

2011-11-25 Thread Rasmus Ory Nielsen
Changes by Rasmus Ory Nielsen : -- nosy: +rasmusory ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue13480] range exits loop without action when start is higher than end

2011-11-25 Thread Asa Dawson
New submission from Asa Dawson : range has an odd behavior in which it assumes (regardless of start/end) that it should be counting up. Attempting something such as: for i in range(10,0): print i This loop simply runs through without doing anything, because start is larger than end. I'm

[issue13480] range exits loop without action when start is higher than end

2011-11-25 Thread R. David Murray
R. David Murray added the comment: Nope. If you want to count backward, use a negative step. Not doing anything if end is lower than start allows code to take advantage of "don't care" edge cases, just like 'abc'[4:] returning the empty string does. Range is often used in 'for' loops, so h

[issue13402] Document absoluteness of sys.executable

2011-11-25 Thread Éric Araujo
Éric Araujo added the comment: This is the bug I was thinking about: #7774. Adding some people from that discussion to nosy. -- nosy: +flox, haypo, pitrou, ronaldoussoren, schmir ___ Python tracker _

[issue11365] Integrate Buildroot patches (cross-compilation)

2011-11-25 Thread Éric Araujo
Éric Araujo added the comment: The distutils changes will not happen, we’re under a feature freeze. Cross-compilation support would need to be added to packaging, and we need to port Python’s build process to packaging too for 3.4 or 3.5. Also, it’s very hard to decide to accept one solutio

[issue13400] packaging: build command should accept --compile, --no-compile and --optimize options

2011-11-25 Thread Éric Araujo
Éric Araujo added the comment: Thinking about this, build_py --compile clearly refers to byte-compilation of Python modules, but the same option on the build command is more ambiguous: It could be interpreted to mean “skip C compilation”. -- ___ Py

[issue11365] Integrate Buildroot patches (cross-compilation)

2011-11-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The distutils changes will not happen, we’re under a feature freeze. > Cross-compilation support would need to be added to packaging, and we > need to port Python’s build process to packaging too for 3.4 or 3.5. Why 3.4 or 3.5? -- __

[issue13210] Support Visual Studio 2010

2011-11-25 Thread Sébastien Sablé
Sébastien Sablé added the comment: I don't have commit access on hg.python.org, so I also created a clone on bitbucket at: https://bitbucket.org/sablefr/py27vs2010/overview I work with a patch queue for the moment since everything is not completely settled yet. The patch are against python 2

[issue13210] Support Visual Studio 2010

2011-11-25 Thread Brian Curtin
Brian Curtin added the comment: Just to be sure in case you didn't know, but patches against 2.7 for this issue won't be accepted. -- ___ Python tracker ___ ___

[issue11365] Integrate Buildroot patches (cross-compilation)

2011-11-25 Thread Éric Araujo
Éric Araujo added the comment: Because I don’t think anyone will have the time to try to port Python’s setup.py to packaging, fix the bugs it founds and add the features it needs in time for 3.3. On my own todo lists, there is much work still needed to define the public API, add features we

[issue9708] cElementTree iterparse does not support "parser" argument

2011-11-25 Thread Silvan Jegen
Silvan Jegen added the comment: I changed a few lines in the glue code of the _elementtree.c Module of Python 3.3.0a0 to add support for the "parser" argument. I do have to admit though that I am not familiar with the Python/C-API so this solution may not be ideal (i. e. it may be falling bac

[issue13210] Support Visual Studio 2010

2011-11-25 Thread Sébastien Sablé
Sébastien Sablé added the comment: Yes I know, but this is my primary target as this is the version that I use in my product for the moment. I will test python trunk soon now that Python 2.7 with VS2010 is in a rather good shape. -- ___ Python tra

[issue13210] Support Visual Studio 2010

2011-11-25 Thread Éric Araujo
Éric Araujo added the comment: Just to avoid misunderstandings: The Subversion concept of trunk (or rather py3k trunk) maps to the Mercurial branch named default, which is what you get when you clone hg.python.org/cpython. This is 3.3. -- ___ Pyth

[issue13461] Error on test_issue_1395_5 with Python 2.7 and VS2010

2011-11-25 Thread Sébastien Sablé
Sébastien Sablé added the comment: Thanks Antoine! It solved the issue. I will check soon with Python trunk to see if the same thing applies. -- ___ Python tracker ___

[issue13461] Error on test_issue_1395_5 with Python 2.7 and VS2010

2011-11-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- versions: +Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13461] Error on test_issue_1395_5 with Python 2.7 and VS2010

2011-11-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- priority: normal -> high type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue13461] Error on test_issue_1395_5 with Python 2.7 and VS2010

2011-11-25 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I've identified a few other cases where a '#' format is passed a numeric literal: Python/codecs.c:514: return Py_BuildValue("(u#n)", &end, 0, end); Modules/_io/textio.c:2323: DECODER_DECODE(input, 1, n); -- nosy: +amaury.forgeotdarc ___

[issue12618] py_compile cannot create files in current directory

2011-11-25 Thread Meador Inge
Meador Inge added the comment: Éric, sure, I will commit the tests sometime today. Then I will respond to the 'os.path.abspath' question as well. -- ___ Python tracker ___ ___

[issue10752] build_ssl.py is relying on unreliable behaviour of os.popen

2011-11-25 Thread Sébastien Sablé
Sébastien Sablé added the comment: I had the same issue while compiling Python 2.7 with ActivePerl on windows, and I can confirm that the proposed patch solves the issue. -- nosy: +sable versions: +Python 2.7 ___ Python tracker

[issue13210] Support Visual Studio 2010

2011-11-25 Thread Brian Curtin
Brian Curtin added the comment: Before we both go down the same paths and duplicate effort, http://hg.python.org/sandbox/vs2010port/ has already completed the transition in terms of running the conversion, saving off the VS9 files, making some minimal code changes (errno module specifically),

[issue12876] Make Test Error : ImportError: No module named _sha256

2011-11-25 Thread Éric Araujo
Éric Araujo added the comment: Sorry to be of little help. I also have a problem with hashlib, but it’s with Python 2.4 on Debian multiarch with linux3, so probably different from your problem. You could try asking on the python-dev mailing list. --

[issue13400] packaging: build command should accept --compile, --no-compile and --optimize options

2011-11-25 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Maybe --byte-compile and --no-byte-compile could be used. -- ___ Python tracker ___ __

[issue13472] devguide doesn’t list all build dependencies

2011-11-25 Thread Éric Araujo
Éric Araujo added the comment: > Moreover these dependencies are optional, so there's no need to install them > unless they are > specifically needed I think about it in the reverse: You want a featurefull library, and disable some things (zlib, ssl, threads) only if you specifically don’t wan

[issue9957] SpooledTemporayFile.truncate should take size parameter

2011-11-25 Thread Éric Araujo
Éric Araujo added the comment: Okay, then stable branches need a doc/docstring patch to remove the statement that SpooledTemporaryFile “operates exactly as TemporaryFile does”. Ryan, would you like to do that patch too? Antoine, will you commit? -- _

[issue13475] Add '-p'/'--path0' command line option to override sys.path[0] initialisation

2011-11-25 Thread Éric Araujo
Éric Araujo added the comment: I don’t understand all the issues and it’s too late for me to read all the thread, but I hope these comments are helpful: - If our goal is to help naïve users, then one or two new options wouldn’t help (people want to run “python path/to/thing.py” and want it to

[issue13479] pickle too picky on re-defined classes

2011-11-25 Thread Guido van Rossum
Guido van Rossum added the comment: Hm, this change allows many other *undesirable* objects pass the test as well. I'd prefer to stick to the rule, "when in doubt, raise an error". Maybe using == instead of 'is' as the test would be acceptable? -- nosy: +gvanrossum ___

[issue1521950] shlex.split() does not tokenize like the shell

2011-11-25 Thread Éric Araujo
Éric Araujo added the comment: > Of course, that's how it's used. That's all it can do right now. :) What I meant is that it is *meant* to be used in this way. > I was was splitting and combining commands (using ;, &&, and ||) and then > running the resulting > (mega) one liners over ssh. It

[issue9957] SpooledTemporayFile.truncate should take size parameter

2011-11-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed, thank you. By the way, Ryan, we now use Mercurial for developing, the Subversion repository is obsolete (see the devguide for more info). -- ___ Python tracker

[issue9957] SpooledTemporayFile.truncate should take size parameter

2011-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a6911930bad by Antoine Pitrou in branch 'default': Issue #9957: SpooledTemporaryFile.truncate() now accepts an optional size parameter, as other file-like objects. http://hg.python.org/cpython/rev/5a6911930bad -- nosy: +python-dev __

[issue13400] packaging: build command should accept --compile, --no-compile and --optimize options

2011-11-25 Thread Éric Araujo
Éric Araujo added the comment: Juste a note: currently, when a command sets one option from the value given to another command, they have the same name, with two kinds of exceptions: - build --build-lib becomes build_lib --build-dir (etc.) - install --install-lib becomes install_lib --install-d

[issue12307] Inconsistent formatting of section titles in PEP 0

2011-11-25 Thread Eric Snow
Eric Snow added the comment: Éric has addressed this in http://hg.python.org/peps/rev/6c7415a4f0f3 (thanks Éric). Do the docs for python.org have to be manually rebuilt or is that on a cron? -- ___ Python tracker

[issue13400] packaging: build command should accept --compile, --no-compile and --optimize options

2011-11-25 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Byte-compilation should be disabled during building of packages in Gentoo. PYTHONDONTWRITEBYTECODE="1" is set by default in environment. This variable affects distutils and until recently it affected packaging. --no-byte-compile will have

[issue13448] PEP 3155 implementation

2011-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset e1dbc72bd97f by Antoine Pitrou in branch 'default': PEP 3155 / issue #13448: Qualified name for classes and functions. http://hg.python.org/cpython/rev/e1dbc72bd97f -- nosy: +python-dev ___ Python tracke

[issue13472] devguide doesn’t list all build dependencies

2011-11-25 Thread Ezio Melotti
Ezio Melotti added the comment: > I think about it in the reverse: You want a featurefull library, and > disable some things (zlib, ssl, threads) only if you specifically > don’t want them (if you’re a Twisted fan for example ). I have a few arguments in favor of my position: 1) Python and it

[issue13448] PEP 3155 implementation

2011-11-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Now committed together with docs and a what's new entry. Thanks for the reviews! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset a20fae95618c by Victor Stinner in branch 'default': Close #13093: PyUnicode_EncodeDecimal() doesn't support error handlers http://hg.python.org/cpython/rev/a20fae95618c -- stage: patch review -> committed/rejected _

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-25 Thread STINNER Victor
Changes by STINNER Victor : -- Removed message: http://bugs.python.org/msg148348 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue13452] PyUnicode_EncodeDecimal: reject error handlers different than strict

2011-11-25 Thread STINNER Victor
STINNER Victor added the comment: Hum, I only changed PyUnicode_EncodeDecimal in Python 3.3, I prefer to not touch stable releases (2.7, 3.2). New changeset a20fae95618c by Victor Stinner in branch 'default': Close #13093: PyUnicode_EncodeDecimal() doesn't support error handlers http://hg.pyth

[issue13475] Add '-p'/'--path0' command line option to override sys.path[0] initialisation

2011-11-25 Thread Eric Snow
Eric Snow added the comment: First of all, I don't want Nick's proposal in this issue (the -p and --nopath0 flags) to be misunderstood because of me. His is a great idea that will make a really useful shortcut available and will _not_ change any current behavior. My (overly) long message is

[issue12424] distutils2: extension section uses bad environment marker separator

2011-11-25 Thread Eli Collins
Eli Collins added the comment: The second patchset (9170231ebf14.diff) should implement all the changes you suggested in your second review (dated 2011-09-05). --- The only non-addressed item in your second review was a request for clarification on a potential error I noticed (and described

[issue1521950] shlex.split() does not tokenize like the shell

2011-11-25 Thread Dan Christian
Dan Christian added the comment: I've attached a diff to test_shlex.py and a script that I used to verify what the shells actually do. Both are relative to Python-3.2.2/Lib/test I'm completely ignoring the quotes issue for now. That should probably be an enhancement. I don't think it really m

[issue13432] Encoding alias "unicode"

2011-11-25 Thread Georg Brandl
Georg Brandl added the comment: The mapping "unicode" -> "utf-8" is simply not defined unambiguously, in addition to being factually wrong. For example, when Microsoft talks about Unicode they mean UTF-16. -- ___ Python tracker

[issue13432] Encoding alias "unicode"

2011-11-25 Thread STINNER Victor
STINNER Victor added the comment: > For example, when Microsoft talks about Unicode they mean UTF-16. Sorry, but UTF-16 is ambiguously: do you mean UTF-16-LE or UTF-16-BE? ;-) -- ___ Python tracker __

[issue13402] Document absoluteness of sys.executable

2011-11-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: LGTM too. You could also add a test to test_sys ensuring that sys.executable is always executable. -- ___ Python tracker ___ _

[issue13402] Document absoluteness of sys.executable

2011-11-25 Thread STINNER Victor
STINNER Victor added the comment: > You could also add a test to test_sys ensuring that sys.executable > is always executable. And that sys.executable is absolute? sys.executable is an empty string if sys.argv[0] has been changed and Python is unable to retrieve the real path to the Python ex

[issue13402] Document absoluteness of sys.executable

2011-11-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > You could also add a test to test_sys ensuring that sys.executable > > is always executable. > > And that sys.executable is absolute? Er, yes, that's what I meant. Sorry. -- ___ Python tracker

[issue12856] tempfile PRNG reuse between parent and child process

2011-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3c9ddd93c983 by Antoine Pitrou in branch '3.2': Issue #12856: Ensure child processes do not inherit the parent's random seed for filename generation in the tempfile module. http://hg.python.org/cpython/rev/3c9ddd93c983 New changeset 588087429809 b

[issue12856] tempfile PRNG reuse between parent and child process

2011-11-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch committed, thank you! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue1521950] shlex.split() does not tokenize like the shell

2011-11-25 Thread Dan Christian
Dan Christian added the comment: I just realized that I left out a major case. The shell will also split (). I think this is now complete. If you do "man bash" and skip down to DEFINITONS it lists all the control characters. I've attached updated versions of ref_shlex.py and test_shlex.diff.

[issue12567] curses implementation of Unicode is wrong in Python 3

2011-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset c3581ca21a57 by Victor Stinner in branch 'default': Issue #12567: The curses module uses Unicode functions for Unicode arguments http://hg.python.org/cpython/rev/c3581ca21a57 -- ___ Python tracker

[issue13432] Encoding alias "unicode"

2011-11-25 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Reverse question: what would be the minus of having this alias? Please accept that this issue is closed. -- ___ Python tracker ___

[issue11849] glibc allocator doesn't release all free()ed memory

2011-11-25 Thread Charles-François Natali
Charles-François Natali added the comment: > However, there's still another strange regression: > > $ ./python -m timeit \ > -s "n=30; f=open('10MB.bin', 'rb', buffering=0); b=bytearray(n)" \ > "f.seek(0);f.readinto(b)" > > -> default branch: > 1 loops, best of 3: 43 usec per loop >

[issue11849] glibc allocator doesn't release all free()ed memory

2011-11-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > On my box: > default: > $ ./python -m timeit -s "n=30; f=open('/tmp/10MB.bin', 'rb'); > b=bytearray(n)" "f.seek(0);f.readinto(b)" > 1000 loops, best of 3: 640 usec per loop > > default without patch ("$ hg revert -r 68258 Objects/obmalloc.c && make"): > $

[issue12567] curses implementation of Unicode is wrong in Python 3

2011-11-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: This broke several Gentoo buildbots. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list m

[issue11849] glibc allocator doesn't release all free()ed memory

2011-11-25 Thread Charles-François Natali
Charles-François Natali added the comment: > Hmm, quite slow indeed, are you sure you're not running in debug mode? > Well, yes, but it's no faster with a non-debug build: my laptop is really crawling :-) > If the performance regression is limited to read(), I don't think it's > really an issu

[issue2286] Stack overflow exception caused by test_marshal on Windows x64

2011-11-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 'official' PSF build for 2.7 (and 3.x) is done with VS2008, so this may not be the last problem you have. I am pretty sure this will never change for 2.7, but that is not to say we cannot make a simple change to accommodate VS2010. I am sure we will event

[issue13448] PEP 3155 implementation

2011-11-25 Thread sbt
sbt added the comment: There are some callables which are missing __qualname__: method_descriptor wrapper_descriptor builtin_function_or_method For the descriptors, at least, obj.__qualname__ should be equivalent to obj.__objclass__.__qualname__ + '.' + obj.__name__ Were these overlo

[issue13481] Use an accurate clock in timeit

2011-11-25 Thread Antoine Pitrou
New submission from Antoine Pitrou : This patch uses an accurate POSIX clock if possible in the timeit module. -- components: Library (Lib) files: timeit_clock.patch keywords: patch messages: 148369 nosy: georg.brandl, pitrou priority: normal severity: normal stage: patch review status:

[issue13433] String format documentation contains error regarding %g

2011-11-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: I find the doc for g/G less than clear. 1. (main entry) "Uses lowercase exponential format if exponent is less than -4 or not less than precision, decimal format otherwise." 'not less' means 'equal or greater', which to me is clearer. Even better and clearer

[issue13436] compile() doesn't work on ImportFrom with level=None

2011-11-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does this apply to 2.7 as well? I believe msg148146 is due to a commit message typo. -- nosy: +haypo, terry.reedy versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker

[issue13437] Provide links to the source code for every module in the documentation

2011-11-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue13448] PEP 3155 implementation

2011-11-25 Thread sbt
sbt added the comment: For builtin_function_or_method it seems obj.__qualname__ should be obj.__self__.__qualname__ + '.' + obj.__name__ -- ___ Python tracker ___ ___

[issue13440] Explain the "status quo wins a stalemate" principle in the devguide

2011-11-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Or expand 'Reporting Bugs' to 'Reporting Bugs and Requesting Features', perhaps renamed to 'Suggesting Improvements'. My point is that aspiring developers are not the only one that need to read the guideline, not withstanding the fact the some new developers

[issue11849] glibc allocator doesn't release all free()ed memory

2011-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset e7aa72e6aad4 by Antoine Pitrou in branch 'default': Better resolution for issue #11849: Ensure that free()d memory arenas are really released http://hg.python.org/cpython/rev/e7aa72e6aad4 -- ___ Python

[issue13443] wrong links and examples in the functional HOWTO

2011-11-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue13448] PEP 3155 implementation

2011-11-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > There are some callables which are missing __qualname__: > > method_descriptor > wrapper_descriptor > builtin_function_or_method > > For the descriptors, at least, obj.__qualname__ should be equivalent to > > obj.__objclass__.__qualname__ + '.' + ob

[issue12822] NewGIL should use CLOCK_MONOTONIC if possible.

2011-11-25 Thread Matt Joiner
Changes by Matt Joiner : -- nosy: +anacrolix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue13380] ctypes: add an internal function for reseting the ctypes caches

2011-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6783aa5c15ae by Meador Inge in branch '2.7': Issue #13380: add an internal function for resetting the ctypes caches http://hg.python.org/cpython/rev/6783aa5c15ae New changeset fa59b3758b14 by Meador Inge in branch '3.2': Issue #13380: add an intern

[issue13380] ctypes: add an internal function for reseting the ctypes caches

2011-11-25 Thread Meador Inge
Meador Inge added the comment: Committed. Thanks for the review Antoine. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue13475] Add '-p'/'--path0' command line option to override sys.path[0] initialisation

2011-11-25 Thread Nick Coghlan
Nick Coghlan added the comment: Yeah, sorry Eric (Snow), you're trying to bite off *way* more than is reasonable by proposing to removing sys.path[0] auto-initialisation. While it has its problems, it's also far too entrenched in people's expections of Python's behaviour to consider removing

[issue13475] Add '-p'/'--path0' command line option to override sys.path[0] initialisation

2011-11-25 Thread Eric Snow
Eric Snow added the comment: Yeah, the more I think about it, the more I agree it's Python 4 fodder. -- ___ Python tracker ___ ___ Py

[issue12618] py_compile cannot create files in current directory

2011-11-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset bcc7bf3963cc by Meador Inge in branch '2.7': Issue #12618: create unit tests for the py_compile module http://hg.python.org/cpython/rev/bcc7bf3963cc New changeset 2be3a2e63683 by Meador Inge in branch '3.2': Issue #12618: create unit tests for the

[issue13481] Use an accurate clock in timeit

2011-11-25 Thread Georg Brandl
Georg Brandl added the comment: So does the accuracy outweigh using a Python function to call the actual clock function? (and usuable -> usable) -- ___ Python tracker ___ _

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-11-25 Thread Nick Coghlan
Nick Coghlan added the comment: Somewhat inevitably, the detailed disassembler tests broke when Antoine updated the code generation for function definitions (as part of PEP 3155). (At least, the tests broke, and PEP 3155 seems the most likely culprit). I subsequently realised there's a potent