[issue14457] Unattended Install doesn't populate registry

2012-03-30 Thread Ned Deily
Changes by Ned Deily : -- nosy: +brian.curtin, loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue14455] plistlib unable to read json and binary plist files

2012-03-30 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-30 Thread Ned Deily
Ned Deily added the comment: Niklas, the Python 2 and 3 binaries for Mac OS X provided by the python.org installers are not built with support for gdbm, nor are the Apple-supplied system Pythons; Apple does not ship gdbm with OS X. So you can't open a shelve file created in another Python th

[issue14440] Close background process if IDLE closes abnormally.

2012-03-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: You need to specify os (with version) *nix? There have been issues like this before, for earlier Python version, at least for Windows XP, which have been fixed, at least for Windows. I think last patch (a year ago? before 3.2 I think) switched to using subproc

[issue14433] Python 3 interpreter crash on windows when stdin closed in Python shell

2012-03-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: 64 bit win 7, 3.3.0a1 crashes also. Idle shell just says that fd 0 is not valid, which I expect is correct for the socket replacement for sys.stdout. -- nosy: +terry.reedy ___ Python tracker

[issue14454] argparse metavar list parameter with nargs=k

2012-03-30 Thread Andy Harrington
Andy Harrington added the comment: Withdrawn. My error. I missed the part of the documentation that says a *tuple*, not the list that I tried, does just what I wanted. -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python resolution: -> invalid st

[issue14457] Unattended Install doesn't populate registry

2012-03-30 Thread Paul Klapperich
Changes by Paul Klapperich : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue14457] Unattended Install doesn't populate registry

2012-03-30 Thread Paul Klapperich
New submission from Paul Klapperich : Steps to reproduce: 1. python-2.7.2.msi /qb 2. Check registry for HKLM\SOFTWARE\Python or HKLM\SOFTWARE\Wow6432Node\Python Expected behavior: The key will exist and contain a key for 2.7 providing information such as the installation path. Observed behavi

[issue14456] Relation between threads and signals unclear

2012-03-30 Thread STINNER Victor
STINNER Victor added the comment: > These two passages are in contradiction to each other. By default, a thread signal can receive any signal and the signal handler implemented in C will be called in the context of the thread. CPython ensures that a signal handler implemented in Python and in

[issue14455] plistlib unable to read json and binary plist files

2012-03-30 Thread R. David Murray
R. David Murray added the comment: Hmm. Apparently what I meant was -u instead of -c (unified diff). I just use the 'hg diff' command myself, which does the right thing :) Of course, to do that you need to have a checkout. (We can probably use the context diff.) -- __

[issue14456] Relation between threads and signals unclear

2012-03-30 Thread Sven Marnach
Sven Marnach added the comment: For reference: the functions 'pthread_kill()' etc. were intrduced in issue8407. -- ___ Python tracker ___ ___

[issue8407] expose pthread_sigmask(), pthread_kill(), sigpending() and sigwait() in the signal module

2012-03-30 Thread Sven Marnach
Sven Marnach added the comment: The documentation has been left in a confusing state by this patch -- at least confusing to me. I've created issue14456 with further details. -- nosy: +smarnach ___ Python tracker

[issue14456] Relation between threads and signals unclear

2012-03-30 Thread Sven Marnach
New submission from Sven Marnach : The documentation of the 'signal' module states on the one hand [T]he main thread will be the only one to receive signals (this is enforced by the Python signal module, even if the underlying thread implementation supports sending signals to individ

[issue14417] dict RuntimeError workaround

2012-03-30 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue14455] plistlib unable to read json and binary plist files

2012-03-30 Thread d9pouces
d9pouces added the comment: Here is the new patch. I assumed that you meant to use diff -c instead of the raw diff command. -- keywords: +patch Added file: http://bugs.python.org/file25076/context.diff ___ Python tracker

[issue14455] plistlib unable to read json and binary plist files

2012-03-30 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. Could you upload it as a context diff? -- nosy: +r.david.murray stage: -> patch review versions: +Python 3.3 -Python 2.7 ___ Python tracker __

[issue10423] s/args/options in arpgarse "Upgrading optparse code"

2012-03-30 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue10423] s/args/options in arpgarse "Upgrading optparse code"

2012-03-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset dee1597b3ce3 by R David Murray in branch '3.2': #10423: clarify options vs args in argparse discussion of optparse http://hg.python.org/cpython/rev/dee1597b3ce3 New changeset 7ad1728691b2 by R David Murray in branch 'default': Merge #10423: clarify

[issue14455] plistlib unable to read json and binary plist files

2012-03-30 Thread d9pouces
New submission from d9pouces : Hi, Plist files have actually three flavors : XML ones, binary ones, and now (starting from Mac OS X 10.7 Lion) json one. The plistlib.readPlist function can only read XML plist files and thus cannot read binary and json ones. The binary format is open and descr

[issue11310] Document byte[s|array]() and byte[s|array](count) in docstrings

2012-03-30 Thread R. David Murray
R. David Murray added the comment: Duplicate of issue 11231. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> bytes() constructor is not correctly documented ___ Python tracker <

[issue14422] Pack PyASCIIObject fields to reduce memory consumption of pure ASCII strings

2012-03-30 Thread STINNER Victor
STINNER Victor added the comment: > I consider it important that the data block of a string is well-aligned. I suppose that it doesn't matter for latin1, but it can be a problem for UCS-2 and UCS-4. There are more drawbacks than advantages, so I agree to close this issue. And let's focus on e

[issue14386] Expose dictproxy as a public type

2012-03-30 Thread R. David Murray
Changes by R. David Murray : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue14422] Pack PyASCIIObject fields to reduce memory consumption of pure ASCII strings

2012-03-30 Thread R. David Murray
R. David Murray added the comment: Looks like this should be closed rejected? -- nosy: +r.david.murray type: -> enhancement ___ Python tracker ___ _

[issue14446] Remove deprecated tkinter functions

2012-03-30 Thread R. David Murray
Changes by R. David Murray : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue14454] argparse metavar list parameter with nargs=k

2012-03-30 Thread Andy Harrington
New submission from Andy Harrington : I now set the help string for an argparse option with two parameters: parser.add_argument('-s', '--substitute', nargs=2, help='Replace first string with second', metavar='string') which generates a help message -s

[issue14452] SysLogHandler sends invalid messages when using unicode

2012-03-30 Thread Vinay Sajip
Vinay Sajip added the comment: > the RFC specifies that the BOM should prefix only unstructured > message part, but current Python implementation puts it in the > middle of structured part, thus confusing RFC-compliant receivers. How do you work that out? The implementation puts the BOM before

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-30 Thread R. David Murray
R. David Murray added the comment: Well, that's the correct line. So if that is what is in your /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/dbm/__init__.py, then there is a problem. If so, please put the line: print(magic) just before that if statement, and let us kno

[issue14422] Pack PyASCIIObject fields to reduce memory consumption of pure ASCII strings

2012-03-30 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.

[issue14453] profile.Profile.calibrate can produce incorrect numbers in some circumstances

2012-03-30 Thread Adam Tomjack
New submission from Adam Tomjack : profile.Profile.calibrate can only produces a bias for the default timer. If you've specified a different timer, it will not be used when calibrating. Additionally, setting profile.Profile.bias will affect the computed bias. It will produce a bias that must

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-30 Thread Niklas Br
Niklas Br added the comment: Found this: # Check for GNU dbm if magic in (0x13579ace, 0x13579acd, 0x13579acf): return "dbm.gnu" I suppose the .dmg pre-packaged installer was insufficient, so I tried to download the source and compile locally, but that didn't help either. Thanks for takin

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-30 Thread R. David Murray
R. David Murray added the comment: Oh, I meant sticking a print statement into the stdlib code. But I really think your problem is that you aren't running the 3.2.3 stdlib code. Try opening up the file /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/dbm/__init__.py in your f

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-30 Thread Niklas Br
Niklas Br added the comment: accidentally a or two word there :) …please have patience… was what I wanted to say -- ___ Python tracker ___

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-30 Thread Niklas Br
Niklas Br added the comment: I'm new to python so please , how do I print what? This? >>> shelve -- ___ Python tracker ___ ___ Pyt

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-30 Thread R. David Murray
R. David Murray added the comment: Oh, actually...are you sure you are running 3.2.3 against the 3.2.3 stdlib? It looks like you might be running against the Apple default installed library, but I don't know enough about OSX to be sure. -- ___ Pyt

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-30 Thread R. David Murray
R. David Murray added the comment: It is, yes. Can you do some debugging and see why it is failing? It should be simple enough to add a print to see what magic number Python is seeing. -- nosy: +r.david.murray ___ Python tracker

[issue13007] gdbm 1.9 has new magic that whichdb does not recognize

2012-03-30 Thread Niklas Br
Niklas Br added the comment: This fix should be included in RC2, right? Because I can't get it to work. Amarok:roller niklas$ ls data.db roller.py Amarok:roller niklas$ python3-32 Python 3.2.3rc2 (v3.2.3rc2:428f05cb7277, Mar 18 2012, 00:08:43) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3

[issue14451] sum, min, max only works with iterable

2012-03-30 Thread R. David Murray
R. David Murray added the comment: The current behavior is how we want the functions to work. If you want to debate the design, the best forum would probably be python-ideas. -- nosy: +r.david.murray resolution: -> rejected stage: -> committed/rejected status: open -> closed __

[issue14452] SysLogHandler sends invalid messages when using unicode

2012-03-30 Thread R. David Murray
Changes by R. David Murray : -- versions: -Python 2.6, Python 3.1, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue14452] SysLogHandler sends invalid messages when using unicode

2012-03-30 Thread R. David Murray
Changes by R. David Murray : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue14065] Element should support cyclic GC

2012-03-30 Thread Eli Bendersky
Changes by Eli Bendersky : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue14065] Element should support cyclic GC

2012-03-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0ca32013d77e by Eli Bendersky in branch 'default': Issue #14065: Added cyclic GC support to ET.Element http://hg.python.org/cpython/rev/0ca32013d77e -- nosy: +python-dev ___ Python tracker

[issue14452] SysLogHandler sends invalid messages when using unicode

2012-03-30 Thread marko kreen
Changes by marko kreen : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14452] SysLogHandler sends invalid messages when using unicode

2012-03-30 Thread marko kreen
New submission from marko kreen : SysLogHandler converts message to utf8 and adds BOM, supposedly to conform with RFC5424, but the implementation is broken: the RFC specifies that the BOM should prefix only unstructured message part, but current Python implementation puts it in the middle of stru

[issue14438] _cursesmodule build fails on cygwin

2012-03-30 Thread Alexey Luchko
Alexey Luchko added the comment: It's cygwin's issue. Cygwin's python 2.6 has a patch for it. Just in case: --- origsrc/Python-2.6.5/Include/py_curses.h2009-09-06 16:23:05.0 -0500 +++ src/Python-2.6.5/Include/py_curses.h2010-04-14 15:21:23.008971400 -0500 @@ -17,6 +17,13

[issue14451] sum, min, max only works with iterable

2012-03-30 Thread Fade78
New submission from Fade78 : The built-in functions working with iterable should also work with single object that is relevent. For example: max([1,6,5]) -> 6 max(6) -> TypeError because not an iterable (actual behavior) max(6) -> 6 (wanted pythonic behavior) So if I write a generic function l

[issue14435] Remove special block allocation from floatobject.c

2012-03-30 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: All done. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python

[issue14435] Remove special block allocation from floatobject.c

2012-03-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 37ebe64d39d2 by Kristján Valur Jónsson in branch 'default': Issue #14435: Remove special block allocation code from floatobject.c http://hg.python.org/cpython/rev/37ebe64d39d2 -- nosy: +python-dev ___ Py

[issue14249] unicodeobject.c: aliasing warnings

2012-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm sorry. Here is the corrected patch for big-endian plathform. -- Added file: http://bugs.python.org/file25072/utf16_decoder_shift_3.patch ___ Python tracker _

[issue14006] Improve the documentation of xml.etree.ElementTree

2012-03-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 78038b6e0a85 by Eli Bendersky in branch 'default': Issue #14006: improve the documentation of xml.etree.ElementTree http://hg.python.org/cpython/rev/78038b6e0a85 -- ___ Python tracker

[issue14435] Remove special block allocation from floatobject.c

2012-03-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Here is a new patch, with the suggested changes. The variable names > and macros are similarly named as those for other objects such as > lists. Looks good to me. -- ___ Python tracker

[issue14450] Log rotate cant execute in Windows. (logging module)

2012-03-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Maybe some Antivirus program (or Tortoise) is still scanning the file and python cannot rename it. Can you try to deactivate the antivirus and try again? -- nosy: +amaury.forgeotdarc ___ Python tracker