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

2011-11-26 Thread Nick Coghlan
Changes by Nick Coghlan : Removed file: http://bugs.python.org/file23773/9512712044a6.diff ___ Python tracker ___ ___ Python-bugs-list mailing

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

2011-11-26 Thread Nick Coghlan
Changes by Nick Coghlan : Added file: http://bugs.python.org/file23773/9512712044a6.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

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

2011-11-26 Thread Nick Coghlan
Nick Coghlan added the comment: I have updated my BitBucket repo with the following changes: - the main API is now dis.get_instructions() - the info class is now dis.Instruction - get_instructions() accepts a 'line_offset' argument that is added to any source code line numbers - the printing o

[issue13482] _tkinter.TclError: invalid command name "tixDirSelectBox"

2011-11-26 Thread Martin Unzner
New submission from Martin Unzner : Hi all, while executing the following piece of code: import tkinter import tkinter.tix if __name__=='__main__': root = tkinter.Tk() dirlist = tkinter.tix.DirSelectBox(root) dirlist.pack() root.mainloop() the following error occurred: Traceb

[issue13433] String format documentation contains error regarding %g

2011-11-26 Thread Christian Iversen
Christian Iversen added the comment: Terry, the %g format always trims trailing zeroes, so you'd have to try with a number that doesn't end in zero. I had to make a re-implementation of format for javascript: http://paste.pocoo.org/show/513078/ If you look at the %g case, you can clearly see

[issue13481] Use an accurate clock in timeit

2011-11-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, you only call the clock at the begining and end of a timing run, not at each iteration. -- ___ Python tracker ___ __

[issue13415] del os.environ[key] ignores errors

2011-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 23ed66484ff2 by Charles-François Natali in branch 'default': Issue #13415: Skip test_os.test_unset_error on FreeBSD < 7 and OS X < 10.6 http://hg.python.org/cpython/rev/23ed66484ff2 -- ___ Python tracker

[issue13482] _tkinter.TclError: invalid command name "tixDirSelectBox"

2011-11-26 Thread Martin Unzner
Martin Unzner added the comment: Sorry, I just found the programming example in the documentary. Works now. -- resolution: -> invalid status: open -> closed ___ Python tracker

[issue13477] tarfile module should have a command line

2011-11-26 Thread Lars Gustäbel
Lars Gustäbel added the comment: This is no bad idea. I recommend keeping it as simple as possible. I would definitely not be supportive of a full tar clone. List, extract, create - that should be enough. There are two possible command line choices: do what the zipfile module does or emulate

[issue13481] Use an accurate clock in timeit

2011-11-26 Thread Charles-François Natali
Charles-François Natali added the comment: _clocks = ['CLOCK_PROCESS_CPUTIME_ID', 'CLOCK_MONOTONIC_RAW', 'CLOCK_MONOTONIC', 'CLOCK_REALTIME'] Beware, we're mixing CPU time and wall-clock time: $ ./python -c "from time import *; id = CLOCK_REALTIME; t = clock_gettime(id); sleep(

[issue13481] Use an accurate clock in timeit

2011-11-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: > With CLOCK_PROCESS_CPUTIME_ID: > - depending on the platform, we'll measure either wall-clock time or > CPU time Indeed. I thought CPU time would be more useful (and that's the point of the patch) but perhaps it breaks the spec. > - preemtion, blocking sysca

[issue13481] Use an accurate clock in timeit

2011-11-26 Thread Charles-François Natali
Charles-François Natali added the comment: > Indeed. I thought CPU time would be more useful (and that's the point > of the patch) Ah, OK. Then you should probably rename the issue "make timeit measure CPU time", or something like that, because I really thought this issue was about using a mor

[issue13481] Use an accurate clock in timeit

2011-11-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > But does it include kernel CPU time for the given process? > > Yes. But it won't be reliable, for example, to measure the performance > of a new readinto() implentation, since time spent by the process in > 'S' or 'D' state won't be accounted for. Then I'm

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

2011-11-26 Thread Éric Araujo
Éric Araujo added the comment: Eric: Actually I posted my comments after reading only Nick’s message, not yours, so no worry :) Nick: > the "just do the right thing" aspect is covered by PEP 395. This is great. Thanks for clarifying. > This is an orthogonal proposal that allows power users t

[issue13450] add assertions to implement the intent in ''.format_map test

2011-11-26 Thread Éric Araujo
Éric Araujo added the comment: When someone puts thought into a report or patch, they deserve to be in Misc/ACKS. Just noticing one typo doesn’t qualify, but pretty much anything above does. :) -- nosy: +eric.araujo versions: -Python 3.4 ___ Pyt

[issue13465] A Jython section in the dev guide would be great

2011-11-26 Thread Éric Araujo
Éric Araujo added the comment: python.org is not specific to CPython, but I agree with Antoine that docs.python.org/devguide is. So I went and found the blog post that Frank alludes to in the OP is here: http://fwierzbicki.blogspot.com/2011/11/contributing-to-jython.html Nick proposed adding

[issue13467] Typo in doc for library/sysconfig

2011-11-26 Thread Éric Araujo
Éric Araujo added the comment: Thanks, I’ll fix this. -- assignee: docs@python -> eric.araujo nosy: +eric.araujo ___ Python tracker ___ _

[issue13474] Mention of "-m" Flag Missing From Doc on Execution Model

2011-11-26 Thread Éric Araujo
Éric Araujo added the comment: I guess you’re suggesting adding a mention of -m in the section near the top that says that a script file and code passed to -c are blocks? Makes sense. The same commit could also improve the markup to link to the description of script, -c and -m in using/cmdl

[issue13483] Use VirtualAlloc to allocate memory arenas

2011-11-26 Thread Antoine Pitrou
New submission from Antoine Pitrou : Similar to issue #11849, this patch proposes to use VirtualAlloc/VirtualFree to allocate the Python allocator's memory arenas (rather than malloc() / free()). It might help release more memory if there is some fragmentation, although I don't know how Micros

[issue13477] tarfile module should have a command line

2011-11-26 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12618] py_compile cannot create files in current directory

2011-11-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: The tests break on the Windows buildbots: == ERROR: test_relative_path (test.test_py_compile.PyCompileTests) -- Traceback (mo

[issue13457] Use repr(module name) ImportErrors

2011-11-26 Thread Éric Araujo
Éric Araujo added the comment: __import__ and importlib in Python 3.3 already use repr (see c4361bab6914 and 9f9b7b656761): Traceback (most recent call last): File "", line 1, in ImportError: No module named 'string\n' For other stdlib modules, see #8754. -- nosy: +eric.arau

[issue12307] Inconsistent formatting of section titles in PEP 0

2011-11-26 Thread Éric Araujo
Éric Araujo added the comment: I read this report again a few days ago and saw you were right, so I fixed it. Thanks! (The peps repo is not hooked up to close bugs, because we don’t usually use the bug tracker to discuss PEPs (we use mailing lists). The PEPs pages (not docs! :) on python.o

[issue13451] sched.py: speedup cancel() method

2011-11-26 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: New patch in attachment takes care of modifying empty() and queue property according with the new implementation. With this, the API behaves the same as before (this was my main concern). Also, it's smarter when it comes to cleaning up too many pending cance

[issue13451] sched.py: speedup cancel() method

2011-11-26 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : Added file: http://bugs.python.org/file23786/bench.py ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue13400] packaging: build command should have options to control byte-compilation

2011-11-26 Thread Éric Araujo
Éric Araujo added the comment: Okay, I think it’s a valuable use case. (Out of curiosity, why don’t you want byte-compiled files on your system? It speeds up imports, and problems due to the presence of stray pyc files when the py is deleted are gone in 3.2+. Maybe you have custom tools to

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

2011-11-26 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brian.curtin, tim.golden stage: -> patch review versions: +Python 3.3 ___ Python tracker ___ __

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

2011-11-26 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file23778/ref_shlex.py ___ Python tracker ___ ___ Python-bugs-list mailing lis

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

2011-11-26 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file23779/test_shlex.diff ___ Python tracker ___ ___ Python-bugs-list mailing

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

2011-11-26 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the diff and test. (I removed the older versions; there are “edit” links in the list of files leading to pages where it’s possible to remove them, if one has the required permissions.) Your script passes with dash, which is probably the most POSIX-co

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

2011-11-26 Thread Éric Araujo
Éric Araujo added the comment: > if a line ends with ";;", _pop_values() will call interpret() with an empty > string. [...] > it just means interpret() would return False, causing the line to be ignored, > which is probably > fine for that border case Hm, I’d rather call that a bug. _pop_va

[issue13472] devguide doesn’t list all build dependencies

2011-11-26 Thread Éric Araujo
Éric Araujo added the comment: > I have a few arguments in favor of my position: Hm, I said that people wanted a “feature-full library” but I was confused: We’re talking about a Python built for contributing, not to develop your app, so my argument does not apply. So, the devguide should list

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

2011-11-26 Thread Éric Araujo
Éric Araujo added the comment: Latest patch looks good. Looking at the examples with ';;' or even '--', I think that their role is non-obvious. Even though the PEP and docs explained them, there is value in using intuitive (“guessable”) markup. So if the constraints are that a marker delim

[issue8684] improvements to sched.py

2011-11-26 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Looking back at this patch, I think we can extract the thread-synchronization parts and the peek() method, as they're both valuable additions, especially the first one. The very sched doc says: > In multi-threaded environments, the scheduler class has lim

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

2011-11-26 Thread Dan Christian
Dan Christian added the comment: On Sat, Nov 26, 2011 at 7:12 AM, Éric Araujo wrote: > Your script passes with dash, which is probably the most POSIX-compliant > shell we can find.  (bash has extensions, zsh/csh don’t use the POSIX shell > language, so I think the behavior of dash should be o

[issue12618] py_compile cannot create files in current directory

2011-11-26 Thread Meador Inge
Meador Inge added the comment: On Sat, Nov 26, 2011 at 7:17 AM, Antoine Pitrou wrote: > The tests break on the Windows buildbots: I am investigating now. -- ___ Python tracker __

[issue6715] xz compressor support

2011-11-26 Thread Nadeem Vawda
Nadeem Vawda added the comment: Victor: Thanks for the review; I've replied to your comments and updated the patch. Let me know what you think of the changes. -- ___ Python tracker _

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

2011-11-26 Thread Éric Araujo
Éric Araujo added the comment: > I was just looking for a reference where I didn't have to sift through tons > of documentation. Sure :) That’s why I suggest using dash for quick tests and rely on the work of other people who did read the POSIX spec. I’ll have to check it too before committ

[issue13484] mail rejected: tu...@python.org

2011-11-26 Thread David W. Lambert
New submission from David W. Lambert : I sent this question to tu...@python.org as advertised at http://mail.python.org/mailman/listinfo/tutor The message was returned, and we still need an answer to the question. I'll post it as a separate bug. Thank you, Dave. From: David Ward Lambert To

[issue13485] tcl question

2011-11-26 Thread David W. Lambert
New submission from David W. Lambert : I was unable to solve this question. http://forums.devshed.com/python-programming-11/setting-tkinter-checkbox-default-graphical-state-865148.html Summary: Trouble initiating button in "checked" state. If you answer to me, I

[issue13484] mail rejected: tu...@python.org

2011-11-26 Thread Éric Araujo
Éric Araujo added the comment: Please report troubles to the listmasters listed on the bottom of each mailing list’s description page. Thanks. -- components: -None nosy: +eric.araujo resolution: -> invalid stage: -> committed/rejected status: open -> closed ___

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

2011-11-26 Thread Dan Christian
Dan Christian added the comment: > Sure :)  That’s why I suggest using dash for quick tests and rely on the work > of other people who did read the POSIX spec.  I’ll have to check it too > before committing a patch. The point of ref_shlex.py is that all shells act the same for common cases an

[issue12618] py_compile cannot create files in current directory

2011-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset b23453530d5f by Meador Inge in branch '2.7': Issue #12618: fix py_compile unit tests to handle different drives on Windows http://hg.python.org/cpython/rev/b23453530d5f New changeset 7097d52cacee by Meador Inge in branch '3.2': Issue #12618: fix py

[issue12618] py_compile cannot create files in current directory

2011-11-26 Thread Meador Inge
Meador Inge added the comment: The tests are fixed now. A relative path was being computed, but on Windows the current working directory drive and the drive of the relative path we were computing was different (and so this test bug would *not* be seen if running on a Windows box with a singl

[issue13460] urllib methods should demand unicode, instead demand str

2011-11-26 Thread R. David Murray
R. David Murray added the comment: Well, most of the point of Python3 is that the string type *is* unicode, which is what I meant by saying that you probably wanted Python3 in order to solve your concern :) There are still a few bugs to work out in the wire-protocol/unicode interface in Pyth

[issue13485] tcl question

2011-11-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Sorry, the issue tracker is not a place to ask for help. Please use the python-list mailing list or the comp.lang.python channel instead. -- nosy: +amaury.forgeotdarc resolution: -> invalid status: open -> closed

[issue13444] closed stdout causes error on stderr when the interpreter unconditionally flushes on shutdown

2011-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 150e096095e5 by Antoine Pitrou in branch '3.2': Issue #13444: When stdout has been closed explicitly, we should not attempt to flush it at shutdown and print an error. http://hg.python.org/cpython/rev/150e096095e5 New changeset 37300a1df7d7 by Ant

[issue5319] stdout error at interpreter shutdown fails to return OS error status

2011-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 150e096095e5 by Antoine Pitrou in branch '3.2': Issue #13444: When stdout has been closed explicitly, we should not attempt to flush it at shutdown and print an error. http://hg.python.org/cpython/rev/150e096095e5 New changeset 37300a1df7d7 by Ant

[issue13486] msvc9compiler.py doesn't properly generate manifest files.

2011-11-26 Thread Jahangir
New submission from Jahangir : msvc9compiler.py aims to generate a manifestation file but it will always fail as MSVC (cl.exe) needs a second /MANIFEST parameter to do so. This makes the subsequent 'linking' processes fail with the following error: general error c1010070: Failed to load and pa

[issue7111] abort when stderr is closed

2011-11-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: Attached patch allows Python to run even if no standard stream is available. I use dup() to detect whether a fd is valid. -- keywords: +patch nosy: +neologix stage: -> patch review versions: +Python 3.3 -Python 3.1 Added file: http://bugs.python.org/f

[issue13415] del os.environ[key] ignores errors

2011-11-26 Thread STINNER Victor
STINNER Victor added the comment: Oh, thanks Charles François for your two patches. -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue6715] xz compressor support

2011-11-26 Thread STINNER Victor
STINNER Victor added the comment: The last patch (9276fc685c05.diff) looks good to me. Go ahead for the commit! -- ___ Python tracker ___

[issue13415] del os.environ[key] ignores errors

2011-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 919259054621 by Victor Stinner in branch 'default': Issue #13415: Help to locate curses.h when _curses module is linked to ncursesw http://hg.python.org/cpython/rev/919259054621 -- ___ Python tracker

[issue13415] del os.environ[key] ignores errors

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

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

2011-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 919259054621 by Victor Stinner in branch 'default': Issue #13415: Help to locate curses.h when _curses module is linked to ncursesw http://hg.python.org/cpython/rev/919259054621 (Oops, wrong issue number, again) -- __

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

2011-11-26 Thread STINNER Victor
STINNER Victor added the comment: > This broke several Gentoo buildbots. setup.py is unable to locate correctly curses.h. I added a hack to always search in /usr/include/ncursesw/. The hack is needed on Ubuntu 11.10 if you only have libncursesw5-dev but not libncursesw-dev for example. -

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

2011-11-26 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue6135] subprocess seems to use local 8-bit encoding and gives no choice

2011-11-26 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue13466] new timezones

2011-11-26 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-11-26 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue13457] Use repr(module name) ImportErrors

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

[issue12307] Inconsistent formatting of section titles in PEP 0

2011-11-26 Thread Eric Snow
Eric Snow added the comment: Thanks, Éric. That's what I figured. I asked because the PEPs page doesn't appear to reflect the change: http://www.python.org/dev/peps/ I checked to be sure it fixed it before I submitted the patch. That's why I asked about auto-rebuilding. -- _

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

2011-11-26 Thread Julian Berman
Julian Berman added the comment: Well, if there's opposition I don't know how strongly I feel about this then, but I generally agree with you Ezio, if there's an occasion where 1) applies fixing the docs is certainly reasonable. If I'm checking the source though, it's not necessarily since th

[issue5319] stdout error at interpreter shutdown fails to return OS error status

2011-11-26 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue13444] closed stdout causes error on stderr when the interpreter unconditionally flushes on shutdown

2011-11-26 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2011-11-26 Thread Nick Coghlan
Nick Coghlan added the comment: Zbigniew posted a nice summary of some of the issues sys.path[0] autoinitialisation can cause to python-dev: http://mail.python.org/pipermail/python-dev/2011-November/114668.html -- ___ Python tracker

[issue7111] abort when stderr is closed

2011-11-26 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue12618] py_compile cannot create files in current directory

2011-11-26 Thread Meador Inge
Meador Inge added the comment: > we don’t know what people do with symlinks and relative paths out > there, so I’d prefer adding a safe special case* rather than always > calling abspath. What do you think? Éric, I agree. I didn't know about the strange symlink + relative path behavior wit

[issue13405] Add DTrace probes

2011-11-26 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- hgrepos: +92 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue2771] Test issue

2011-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset fc1e01fe7f30 by Antoine Pitrou in branch 'default': test hook with issue #2771. http://hg.python.org/test/rev/fc1e01fe7f30 -- ___ Python tracker __

[issue13400] packaging: build command should have options to control byte-compilation

2011-11-26 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: I suggest to not use "pyc" and "pyo" in options, because ".pyc" and ".pyo" filename extensions are specific to a subset of Python implementations. Jython uses "$py.class" filename extension (module$py.class for module.py). You could use -

[issue13473] Add tests for files byte-compiled by distutils[2]

2011-11-26 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: What exactly do you consider to backport to distutils? -- nosy: +Arfrever ___ Python tracker ___ _

[issue13487] inspect.getmodule fails when module imports change sys.modules

2011-11-26 Thread Erik Tollerud
New submission from Erik Tollerud : The inspect.getmodule function crashes if packages are installed that futz with sys.modules while they are being tested for module status or the like. I'm not actually sure which packages are doing this, but the symptom is the for loop over sys.modules rais

[issue13120] Default nosigint option to pdb.Pdb() prevents use in non-main thread

2011-11-26 Thread Ilya Sandler
Ilya Sandler added the comment: I confirm the bug. But I don't think disabling Ctrl-C (SIGINT) handling by default is a good idea. Proper Ctrl-C support seems like a fundamental feature for a command line debugger. However, I think the bug is easily fixable w/o changing SIGINT handling. Bas

[issue13487] inspect.getmodule fails when module imports change sys.modules

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

[issue13488] Some old preprocessors have problem with "#define" not in the first colum

2011-11-26 Thread Jesús Cea Avión
New submission from Jesús Cea Avión : While working in dtrace probes, I have discovered that some old C preprocessors don't recognize "#define" if not in the first column. File "Include/dynamic_annotations.h" has quite a few indented "#define". This is neither necessary neither regular practic

[issue13488] Some old preprocessors have problem with "#define" not in the first column

2011-11-26 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- title: Some old preprocessors have problem with "#define" not in the first colum -> Some old preprocessors have problem with "#define" not in the first column ___ Python tracker __

[issue13488] Some old preprocessors have problem with "#define" not in the first column

2011-11-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 05979ae431fb by Jesus Cea in branch '3.2': Closes issue #13488: Some old preprocessors have problem with #define not in the first column http://hg.python.org/cpython/rev/05979ae431fb New changeset 3a44640682c3 by Jesus Cea in branch 'default': MER

[issue13488] Some old preprocessors have problem with "#define" not in the first column

2011-11-26 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue13405] Add DTrace probes

2011-11-26 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : Added file: http://bugs.python.org/file23792/d7c58422eada.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13405] Add DTrace probes

2011-11-26 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Preview of the 3.3 patch. Includes work from issue #13488. Work to do: - "line" probe. - "jstack()" helper. - Instance names work, but using internal undocumented API. Change that. Probably keeping an "encoded" version of the name for each type. Memory use

[issue13489] collections.Counter doc does not list added version

2011-11-26 Thread Shawn Ligocki
New submission from Shawn Ligocki : collections.Counter doc does not list added version: http://docs.python.org/library/collections.html It appears to only have been added in 2.7 (while the rest of the doc says it is valid since 2.4) -- assignee: docs@python components: Documentation

[issue13489] collections.Counter doc does not list added version

2011-11-26 Thread Ezio Melotti
Ezio Melotti added the comment: I see the note just after the sausage example and in the table at the top of the page, from the link you provided. -- nosy: +ezio.melotti resolution: -> invalid stage: -> committed/rejected status: open -> closed versions: -Python 2.6 ___

[issue13489] collections.Counter doc does not list added version

2011-11-26 Thread Shawn Ligocki
Shawn Ligocki added the comment: Ah, I see, it seems like that would be better suited directly after the section title, don't you? -- ___ Python tracker ___ ___

[issue13489] collections.Counter doc does not list added version

2011-11-26 Thread Ezio Melotti
Ezio Melotti added the comment: The convention is to put the note at the end of the section. For this specific case the section about Counter is immediately followed by the documentation of its methods, so it's indeed hard to notice. Maybe a different CSS would make this more evident.