[issue13226] Expose RTLD_* constants in the posix module

2011-10-21 Thread Charles-François Natali
Charles-François Natali added the comment: Note that I'm really +10 on this issue: such constants belong to individual modules rather than to the unmanageable Lib/plat-XXX/. -- nosy: +neologix ___ Python tracker

[issue13237] subprocess docs should emphasise convenience functions

2011-10-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue13238] Add shell command helpers to shutil module

2011-10-21 Thread Chris Rebert
Chris Rebert added the comment: Is format() really the best choice here, considering that {}s already have a meaning in the shell? -- nosy: +cvrebert ___ Python tracker ___ ___

[issue13237] subprocess docs should emphasise convenience functions

2011-10-21 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13239] Remove <> operator from Grammar/Grammar

2011-10-21 Thread Eli Bendersky
New submission from Eli Bendersky : Operator <> was removed in Python 3, but still appears in Grammar/Grammar (and hence in Doc/reference/grammar.rst) Reported by Alexander Ivanyuta on the docs mailing list -- assignee: docs@python components: Documentation, Interpreter Core messages:

[issue13239] Remove <> operator from Grammar/Grammar

2011-10-21 Thread Eli Bendersky
Eli Bendersky added the comment: The relevant code in Parser/parsetok.c is: #ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD if (type == NOTEQUAL) { if (!(ps->p_flags & CO_FUTURE_BARRY_AS_BDFL) && strcmp(str, "!=")) { err_ret->error = E_SY

[issue13239] Remove <> operator from Grammar/Grammar

2011-10-21 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +barry, brett.cannon, fdrake, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue13239] Remove <> operator from Grammar/Grammar

2011-10-21 Thread Florent Xicluna
Florent Xicluna added the comment: This is PEP 401. "[Because] the != inequality operator ... was a horrible, finger pain inducing mistake, the FLUFL reinstates the <> diamond operator as the sole spelling. This change is important enough to be implemented for, and released in Python 3.1. To

[issue13221] No "edit with IDLE" in right click context menu

2011-10-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: > If the installation process adds the "Open with IDLE" entry, it should do it > again when you reinstall Rather than going through reinstallation, go to "Add and Remove Programs", find Python 3.2, and select "Repair installation." Closing the report as inva

[issue13221] No "edit with IDLE" in right click context menu

2011-10-21 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue13226] Expose RTLD_* constants in the posix module

2011-10-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: The patch looks fine to me. However, I don't think it meets Charles-François' requirement of moving the constants into an individual module. Rather than living in the unmanageable plat-XXX, they now live in the unmanageable posixmodule.c... -- nosy:

[issue12753] \N{...} neglects formal aliases and named sequences from Unicode charnames namespace

2011-10-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: LGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue5289] ctypes.util.find_library does not work under Solaris

2011-10-21 Thread Falk Nisius
Falk Nisius added the comment: Under Ubuntu 11.04 is the _findLib_gcc used and not a ldconfig method. Why should I install a gcc only to find a dynamic library ? It seems not a well design. The usage of ldconfig, what is more natural at a server in the net than a c compiler. Perhaps it can be

[issue13238] Add shell command helpers to shutil module

2011-10-21 Thread Nick Coghlan
Nick Coghlan added the comment: Of the 3 available options (mod style, string.Template and str.format), yes, str.format is the best choice. If people want the shell meaning of the braces, they can escape them by doubling them up in the command string. --

[issue12296] Minor clarification in devguide

2011-10-21 Thread Éric Araujo
Éric Araujo added the comment: This is the wording I committed: (This obviously does not apply to new classes or functions; new arguments should be optional and have default values which maintain the existing behavior.) Should I push or should I delete the changeset? -- ___

[issue13181] pysetup install creates .pyc files but pysetup remove doesn't delete them

2011-10-21 Thread Éric Araujo
Éric Araujo added the comment: \o/ -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> distutils doesn't byte-compile .py files to __pycache__ during installation ___ Python tracker

[issue13224] Change str(class) to return only the class name

2011-10-21 Thread Éric Araujo
Éric Araujo added the comment: I would argue that the previous behavior of str(class) was undefined, or an implementation detail; as a new feature, my patch can break some code that relied on the previous behavior, but we may judge think it’s worth the cost. BTW, doctest is inherently fragile

[issue13228] Add "Quick Start" section to the devguide index

2011-10-21 Thread Éric Araujo
Éric Araujo added the comment: + ``hg clone http://hg.python.org/cpython``; I use http://hg.python.org/cpython#default to avoid cloning the 2.x branches, that’s an optimization that can save some time and space. +2. run ``./configure --with-pydebug && make -j2`` Is make -j2 harmless on singl

[issue3902] Packages containing only extension modules have to contain __init__.py

2011-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset f84040b11211 by Éric Araujo in branch 'default': Document that packaging doesn’t create __init__.py files (#3902). http://hg.python.org/cpython/rev/f84040b11211 -- nosy: +python-dev ___ Python tracker <

[issue13205] NameErrors in generated setup.py (codecs, split_multiline)

2011-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 21c33aa2178b by Éric Araujo in branch 'default': Fix missing imports in setup scripts generated by packaging (#13205). http://hg.python.org/cpython/rev/21c33aa2178b -- nosy: +python-dev ___ Python tracke

[issue12659] Add tests for packaging.tests.support

2011-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0aad55c8ff26 by Éric Araujo in branch 'default': Add tests for packaging.tests.support (#12659). http://hg.python.org/cpython/rev/0aad55c8ff26 -- nosy: +python-dev ___ Python tracker

[issue13238] Add shell command helpers to shutil module

2011-10-21 Thread Éric Araujo
Éric Araujo added the comment: Why not keeping these helpers in subprocess? -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-b

[issue13229] Add shutil.filter_walk

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

[issue13205] NameErrors in generated setup.py (codecs, split_multiline)

2011-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5949563b9f1c by Éric Araujo in branch 'default': Fix missing imports in generated setup scripts (#13205). http://hg.python.org/distutils2/rev/5949563b9f1c New changeset eb845a9a00b7 by Éric Araujo in branch 'python3': Merge fix for #13205 and other

[issue13205] NameErrors in generated setup.py (codecs, split_multiline)

2011-10-21 Thread Éric Araujo
Éric Araujo added the comment: As you can see in my commit, I made more changes to the code and simplified the tests. subprocess is definitely the way to test script functionality, it’s much cleaner than monkey-patching sys.argv; we even have higher-level helpers to do that in test.script_he

[issue3902] Packages containing only extension modules have to contain __init__.py

2011-10-21 Thread Éric Araujo
Éric Araujo added the comment: I thought about the wording again and committed a different version. I also decided not to backport to distutils; see the commit message for a rationale. Thanks for the help! -- components: -Distutils, Distutils2 resolution: -> fixed stage: patch rev

[issue12659] Add tests for packaging.tests.support

2011-10-21 Thread Éric Araujo
Éric Araujo added the comment: This first patch is committed! If you have any question about the changes I made to your patch, feel free to ask them. The most important change I did was running setUp and tearDown before and after each test method, as real unittest would do. If you want to

[issue13240] computed gotos not enabled?

2011-10-21 Thread Florent Xicluna
New submission from Florent Xicluna : According to issue 9203 the computed gotos should be enabled by default since 3.2. However, it is not visible from the interpreter. Python 3.2.2 (default, Sep 7 2011, 10:55:43) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin >>> from sysconfig impor

[issue12913] Add a debugging howto

2011-10-21 Thread Éric Araujo
Éric Araujo added the comment: [Terry] > Binary search with print is done manually. If error not obvious from quick > read, in a 20 line > function, add print around line 10. If ok there, look down and add print > later in function. [...] Okay, so it’s what I thought only I didn’t had the name

[issue4733] Add a "decode to declared encoding" version of urlopen to urllib

2011-10-21 Thread Éric Araujo
Éric Araujo added the comment: I’m not sure real HTML (i.e. sent as text/html) should have an XML prolog honored. For XML, there’s http://tools.ietf.org/html/rfc3023 -- ___ Python tracker

[issue12913] Add a debugging howto

2011-10-21 Thread Dave Malcolm
Dave Malcolm added the comment: > >> - running Python in gdb > > This is somewhat orthogonal, but the devguide/gdb page doesn't say how to > > start running Python > > in gdb (it might be obvious to people used to use gdb, but it should still > > be mentioned). > If the devguide is updated, I

[issue13125] test_all_project_files() expected failure

2011-10-21 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Note that I think it's best to fix the underlying failures rather than silence them. ;) -- ___ Python tracker ___ ___

[issue13237] subprocess docs should emphasise convenience functions

2011-10-21 Thread Ezio Melotti
Ezio Melotti added the comment: >From a quick look it seems to me that only - output = Popen(["mycmd", "myarg"], stdout=PIPE).communicate()[0] + output = check_output(["mycmd", "myarg"]) can be changed. Most of the other example access attributes of the Popen objects, such as stdin/stdout

[issue13228] Add "Quick Start" section to the devguide index

2011-10-21 Thread Ezio Melotti
Ezio Melotti added the comment: > + ``hg clone http://hg.python.org/cpython``; > I use http://hg.python.org/cpython#default to avoid cloning the 2.x > branches, that’s an optimization that can save some time and space. I think in the default case it's easier to get'em all. > +2. run ``./con

[issue13240] computed gotos not enabled?

2011-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > According to issue 9203 the computed gotos should be enabled by default since > 3.2. > However, it is not visible from the interpreter. > > Python 3.2.2 (default, Sep 7 2011, 10:55:43) > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin > >>> from sysc

[issue12618] py_compile cannot create files in current directory

2011-10-21 Thread Éric Araujo
Éric Araujo added the comment: Sjoerd, can you paste the code that produces the bug? It would help create a test. -- ___ Python tracker ___ ___

[issue13240] computed gotos not enabled?

2011-10-21 Thread Éric Araujo
Éric Araujo added the comment: Just compiled 3.2 on Debian: >>> sysconfig.get_config_var('USE_COMPUTED_GOTOS') 0 -- nosy: +eric.araujo ___ Python tracker ___ __

[issue13240] sysconfig gives misleading results for USE_COMPUTED_GOTOS

2011-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > This looks like the system Python compiled by Apple. What about a > hand-compiled Python? Forget this. I get the same results here. However, if you add a "#error" at the right place in ceval.c, you'll see that computed gotos are enabled. It seems more of a

[issue13228] Add "Quick Start" section to the devguide index

2011-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: You could replace "python -m test" with "make test", although it only does the right thing in 3.3. Otherwise, "python -m test -j3" would be friendlier to the reader I think :) +1 on the principle, by the way! -- nosy: +pitrou

[issue13228] Add "Quick Start" section to the devguide index

2011-10-21 Thread Ezio Melotti
Ezio Melotti added the comment: New patch that adds a few more instructions for Windows/Mac OS. `make test` is UNIX-specific, so I left `./python -m test`. I also moved the section before the quick links, since it seems to me more interesting that those links (you don't usually want to start

[issue13228] Add "Quick Start" section to the devguide index

2011-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > New patch that adds a few more instructions for Windows/Mac OS. `make > test` is UNIX-specific, so I left `./python -m test`. > I also moved the section before the quick links, since it seems to me > more interesting that those links (you don't usually want t

[issue13198] Remove duplicate definition of write_record_file

2011-10-21 Thread Mike Hoy
Changes by Mike Hoy : -- nosy: +mikehoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue13228] Add "Quick Start" section to the devguide index

2011-10-21 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for the feedback, here's an updated patch. -- nosy: +brian.curtin Added file: http://bugs.python.org/file23488/issue13228-2.diff ___ Python tracker __

[issue13240] sysconfig gives misleading results for USE_COMPUTED_GOTOS

2011-10-21 Thread STINNER Victor
STINNER Victor added the comment: Extract of configure.in: - # Check for --with-computed-gotos AC_MSG_CHECKING(for --with-computed-gotos) AC_ARG_WITH(computed-gotos, AS_HELP_STRING([--with(out)-computed-gotos], [Use compu

[issue13240] sysconfig gives misleading results for USE_COMPUTED_GOTOS

2011-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Extract of my pyconfig.h > - > /* Define if you want to use computed gotos in ceval.c. */ > /* #undef USE_COMPUTED_GOTOS */ > - Ok, now read ceval.c: #ifdef HAVE_COMPUTED_GOTOS #ifnd

[issue13240] sysconfig gives misleading results for USE_COMPUTED_GOTOS

2011-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > With the #error, I can confirm that computed gotos are enabled on OS X. > > About sysconfig, we may change the code to set None if the value is "undef". > I don't know the impact. Actually, I think sysconfig does the right thing when it comes to all the con

[issue13240] sysconfig gives misleading results for USE_COMPUTED_GOTOS

2011-10-21 Thread Florent Xicluna
Florent Xicluna added the comment: With the #error, I can confirm that computed gotos are enabled on OS X. About sysconfig, we may change the code to set None if the value is "undef". I don't know the impact. --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py @@ -404,7 +404,7 @@ else:

[issue13240] sysconfig gives misleading results for USE_COMPUTED_GOTOS

2011-10-21 Thread STINNER Victor
STINNER Victor added the comment: > Computed goto are disabled (in my Python 3.3 on Linux with GCC), > I checked by adding #error to ceval.c. Hum, I don't understand how, but I missed the #error failure. Computed goto *are enabled* by default. -- _

[issue13239] Remove <> operator from Grammar/Grammar

2011-10-21 Thread Brett Cannon
Brett Cannon added the comment: Probably need a comment in the Grammar file so people know why an unused operator is in there. -- ___ Python tracker ___

[issue13239] Remove <> operator from Grammar/Grammar

2011-10-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: Or perhaps we don't need joke backward compatibility? (That's nearly 3 years old.) -- nosy: +benjamin.peterson ___ Python tracker ___ _

[issue12930] reindent.py inserts spaces in multiline literals

2011-10-21 Thread Caio Romão
Caio Romão added the comment: It's been a while since this got any activity. Was the provided testfile not enough or any issue found? Just let me know and I'll make adjustments asap. -- ___ Python tracker ___

[issue13239] Remove <> operator from Grammar/Grammar

2011-10-21 Thread Brett Cannon
Brett Cannon added the comment: On Fri, Oct 21, 2011 at 11:35, Benjamin Peterson wrote: > > Benjamin Peterson added the comment: > > Or perhaps we don't need joke backward compatibility? (That's nearly 3 years > old.) Then you tell the FLUFL that you want to take his precious operator away.

[issue12753] \N{...} neglects formal aliases and named sequences from Unicode charnames namespace

2011-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset a985d733b3a3 by Ezio Melotti in branch 'default': #12753: Add support for Unicode name aliases and named sequences. http://hg.python.org/cpython/rev/a985d733b3a3 -- nosy: +python-dev ___ Python tracker

[issue5788] datetime.timedelta is inconvenient to use...

2011-10-21 Thread Mark Dickinson
Mark Dickinson added the comment: What about def total_minutes(td): return td / datetime.timedelta(minutes=1) ? -- ___ Python tracker ___ __

[issue13239] Remove <> operator from Grammar/Grammar

2011-10-21 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Oct 21, 2011, at 06:35 PM, Benjamin Peterson wrote: >Benjamin Peterson added the comment: > >Or perhaps we don't need joke backward compatibility? (That's nearly 3 years >old.) OTOH, __future__ imports (even jokes) should never be removed. -- __

[issue13239] Remove <> operator from Grammar/Grammar

2011-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > OTOH, __future__ imports (even jokes) should never be removed. But their meaning can be altered? (as part of another joke if you want :) -- nosy: +pitrou ___ Python tracker ___

[issue13239] Remove <> operator from Grammar/Grammar

2011-10-21 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Oct 21, 2011, at 07:33 PM, Antoine Pitrou wrote: >Antoine Pitrou added the comment: > >> OTOH, __future__ imports (even jokes) should never be removed. > >But their meaning can be altered? >(as part of another joke if you want :) Well, you have 6 months t

[issue10332] Multiprocessing maxtasksperchild results in hang

2011-10-21 Thread Charles-François Natali
Charles-François Natali added the comment: Here's an updated patch. I'll open a separate issue for the thread-safety. -- keywords: +needs review nosy: +pitrou stage: -> patch review Added file: http://bugs.python.org/file23489/pool_lifetime_close-1.diff ___

[issue10332] Multiprocessing maxtasksperchild results in hang

2011-10-21 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file21644/pool_lifetime_close.diff ___ Python tracker ___ ___ Python

[issue13241] Assertion failed in _PyUnicode_CheckConsistency during build of default branch on Mac OS X

2011-10-21 Thread Oleg Plakhotnyuk
New submission from Oleg Plakhotnyuk : Trying to build latest development revision: localhost:repo family$ hg summary parent: 73044:a985d733b3a3 tip #12753: Add support for Unicode name aliases and named sequences. branch: default commit: (clean) update: (current) Constantly getting this error

[issue13241] Assertion failed in _PyUnicode_CheckConsistency during build of default branch on Mac OS X

2011-10-21 Thread Oleg Plakhotnyuk
Oleg Plakhotnyuk added the comment: Oh yes. I am building with this command line: ./configure --with-pydebug && make -j2 -- ___ Python tracker ___ __

[issue13241] Assertion failed in _PyUnicode_CheckConsistency during build of default branch on Mac OS X

2011-10-21 Thread STINNER Victor
STINNER Victor added the comment: It is a compiler bug in GCC 4.2.1 with -O3. Try to compile attached unicode.c program with gcc -O3. The correct result is: $ gcc -O3 unicode.c -o unicode && ./unicode is ascii? 0 is compact? 1 is compact ascii? 0 _PyUnicode_COMPACT_DATA: 88 vs 88 PyUnicode_DAT

[issue13241] Assertion failed in _PyUnicode_CheckConsistency during build of default branch on Mac OS X

2011-10-21 Thread STINNER Victor
Changes by STINNER Victor : -- components: +Build versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue13241] Assertion failed in _PyUnicode_CheckConsistency during build of default branch on Mac OS X

2011-10-21 Thread STINNER Victor
STINNER Victor added the comment: The bug has been fixed in GCC, try a more recent version using ./configure CC=gccX.Y. -- ___ Python tracker ___ __

[issue13241] Assertion failed in _PyUnicode_CheckConsistency during build of default branch on Mac OS X

2011-10-21 Thread Ezio Melotti
Ezio Melotti added the comment: It should also work without --with-pydebug, or with a different compiler. -- nosy: +ezio.melotti ___ Python tracker ___ _

[issue13228] Add "Quick Start" section to the devguide index

2011-10-21 Thread Ned Deily
Ned Deily added the comment: "./python.exe" is not a given on Mac OS X; that's only true if the file system you are building in is case-insensitive, otherwise it is "./python". Suggest rewording to: "(you may need to use :file:`./python.exe` on Mac OS X" ... -- nosy: +ned.deily

[issue1548891] shlex (or perhaps cStringIO) and unicode strings

2011-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Still happens on latest 2.7: >>> from cStringIO import StringIO >>> sio = StringIO(u"abc") >>> sio.getvalue() 'a\x00b\x00c\x00' -- nosy: +pitrou resolution: fixed -> stage: -> needs patch status: closed -> open versions: +Python 2.7 -Python 2.5

[issue13140] ThreadingMixIn.daemon_threads is not honored when parent is daemon

2011-10-21 Thread Charles-François Natali
Charles-François Natali added the comment: """ """Start a new thread to process the request.""" t = threading.Thread(target = self.process_request_thread, args = (request, client_address)) if self.daemon_threads: t.daemon = True ""

[issue3244] multipart/form-data encoding

2011-10-21 Thread Ugra Dániel
Changes by Ugra Dániel : -- nosy: +daniel.ugra ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue1548891] shlex (or perhaps cStringIO) and unicode strings

2011-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: And unsurprisingly so, since the fix was reverted in r56830 by Georg. -- ___ Python tracker ___ _

[issue12753] \N{...} neglects formal aliases and named sequences from Unicode charnames namespace

2011-10-21 Thread Ezio Melotti
Ezio Melotti added the comment: I committed the patch and the buildbots seem happy. Thanks for the report and the feedback! Tom, about the problems you mentioned in msg144836, can you report it in a new issue or, if there are already issues about them, add a message there? -- resolu

[issue1730114] cStringIO no longer accepts array.array objects

2011-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset c91661e0d714 by Antoine Pitrou in branch '2.7': Add test for fix of issue #1730114. http://hg.python.org/cpython/rev/c91661e0d714 -- nosy: +python-dev ___ Python tracker

[issue5788] datetime.timedelta is inconvenient to use...

2011-10-21 Thread Brian Quinlan
Brian Quinlan added the comment: You'll probably get more traction if you file a new bug. -- ___ Python tracker ___ ___ Python-bugs-li

[issue1548891] shlex (or perhaps cStringIO) and unicode strings

2011-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Georg, is this patch ok to you? -- assignee: georg.brandl -> keywords: +patch Added file: http://bugs.python.org/file23492/cio.patch ___ Python tracker

[issue13242] Crash in test_pydoc

2011-10-21 Thread Antoine Pitrou
New submission from Antoine Pitrou : On 2.7, I get the following crashes in test_pydoc: == FAIL: test_apropos_with_bad_package (test.test_pydoc.PydocImportTest) ---

[issue13242] Crash in test_pydoc

2011-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hmm, it seems it's due to a 3rd party C extension: $ ./python -c "import sqlalchemy.cprocessors" python: Objects/object.c:65: _Py_AddToAllObjects: Assertion `(op->_ob_prev == ((void *)0)) == (op->_ob_next == ((void *)0))' failed. Closing as not a Python bug.

[issue13242] Crash in test_pydoc

2011-10-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue12753] \N{...} neglects formal aliases and named sequences from Unicode charnames namespace

2011-10-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 329b96fe4472 by Ezio Melotti in branch 'default': #12753: fix compilation on Windows. http://hg.python.org/cpython/rev/329b96fe4472 -- ___ Python tracker

[issue13241] Assertion failed in _PyUnicode_CheckConsistency during build of default branch on Mac OS X

2011-10-21 Thread Ned Deily
Ned Deily added the comment: I believe this was a bug specific to the llvm-gcc compiler shipped with Xcode 4.1 and possibly Xcode 4.0. I do not have Xcode 4 on OS X 10.6 but haypo's test does fail with the llvm-gcc 4.2.1 that comes with Xcode 4.1 on 10.7. Can you confirm exactly which compi

[issue13241] Assertion failed in _PyUnicode_CheckConsistency during build of default branch on Mac OS X

2011-10-21 Thread Ezio Melotti
Ezio Melotti added the comment: See also http://mail.python.org/pipermail/python-dev/2011-September/113731.html -- ___ Python tracker ___ ___

[issue12296] Minor clarification in devguide

2011-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ezio's comment got me to reread the entire paragraph. I do not like it. 'Having you think' is wrong; 'Basically just' is unneeded; 'guaranteed' is hyperbole; and the paragraph is otherwise repetitive, vague, and pretty useless. For most issues "the core devel

[issue13239] Remove <> operator from Grammar/Grammar

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

[issue415492] Compiler generates relative filenames

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

[issue13184] Multi-layered symlinks to python cause runtime error. sys.path is malformed.

2011-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: For the tracker, 'crash' == seqfault or equivalent, with no traceback. Unwanted traceback is bad behavior. Please test with 3.2 also if you can. -- nosy: +brett.cannon, ncoghlan, terry.reedy type: crash -> behavior _

[issue13197] subprocess: move shell arguments to a separate keyword param

2011-10-21 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- type: -> feature request versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12296] Minor clarification in devguide

2011-10-21 Thread Ezio Melotti
Ezio Melotti added the comment: That's a bit heavy in my opinion. I don't think it's necessary to define in detail what "backward-compatibile" means, it's probably enough to say that whatever code might be running before the patch should keep running fine even after. Bug fixes can change th

[issue13220] print function unable while multiprocessing.Process is being run

2011-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Try running without IDLE (double click, right-click run, Command Prompt window, or paste into interpreter window). IDLE runs code in a subprocess with stdout directed back to the IDLE process, so it occasionally affects otherwise legal and correct Python code

[issue13212] json library is decoding/encoding when it should not

2011-10-21 Thread Éric Araujo
Éric Araujo added the comment: > HTMLParser got a strict argument and it's causing more problems than it > solves. Funny, I used the strict mode to solve a parsing bug in a personal project. -- nosy: +eric.araujo ___ Python tracker

[issue11751] Increase distutils.filelist / packaging.manifest test coverage

2011-10-21 Thread Justin Love
Justin Love added the comment: Still can't reproduce (though I got one failure and three other errors) $ patch -p 1 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue13203] Doc: say id() is only useful for existing objects

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

[issue13212] json library is decoding/encoding when it should not

2011-10-21 Thread Ezio Melotti
Ezio Melotti added the comment: >> HTMLParser got a strict argument and it's causing more problems than it >> solves. > Funny, I used the strict mode to solve a parsing bug in a personal project. See http://bugs.python.org/issue7311#msg133075 and following messages.r -- __

[issue13234] os.listdir breaks with literal paths

2011-10-21 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue9968] Let cgi.FieldStorage have named uploaded file

2011-10-21 Thread Éric Araujo
Éric Araujo added the comment: I read somewhere that the fact that TemporaryFile does not expose its name is a security feature :/ > On this topic, I was wondering if the changes I propose have any chance of > landing some day in 2.7 land - dunno Python workflow precisely enough. Only bug fix

[issue13132] distutils sends non-RFC compliant HTTP request

2011-10-21 Thread Éric Araujo
Éric Araujo added the comment: Will close if no further input. -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list

[issue13212] json library is decoding/encoding when it should not

2011-10-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: Assigning back to me (the current maintainer of the module). -- assignee: -> rhettinger ___ Python tracker ___

[issue13238] Add shell command helpers to shutil module

2011-10-21 Thread Nick Coghlan
Nick Coghlan added the comment: Initially, because I was suggesting the names shadow the subprocess convenience functions so they *had* to live in a different namespace. However, even after changing the names to explicitly include "shell", I'd like to keep them away from the general subproces

[issue13237] subprocess docs should emphasise convenience functions

2011-10-21 Thread Nick Coghlan
Nick Coghlan added the comment: You couldn't just move them - you'd need to change the wording of how they cross-link to each other, since the explanations of the convenience function currently assume you understand how Popen works. I'd like us to get to the point where you only need to under

[issue13238] Add shell command helpers to shutil module

2011-10-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hum, in: return_code = shellcmd.shell_call('ls -l {}', dirname) listing = shellcmd.check_shell_output('ls -l {}', dirname) ...how do you know that dirname doesn't need some kind of escaping? This is not only a security issue, but a bug. Even if security doesn'

[issue13237] subprocess docs should emphasise convenience functions

2011-10-21 Thread Ezio Melotti
Ezio Melotti added the comment: Yep, what I was suggesting was an easier approach, but if someone is willing to reorganize the document, I agree that is better to start with an example that shows the most common use cases with the convenience functions and then gradually explain the convenien

[issue13212] json library is decoding/encoding when it should not

2011-10-21 Thread Ezio Melotti
Changes by Ezio Melotti : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

  1   2   >