ANN: A new version (0.2.9) of the Python module which wraps GnuPG has been released.

2012-03-30 Thread Vinay Sajip
A new version of the Python module which wraps GnuPG has been released. What Changed? = This is a minor bug-fix release. See the project website ( http://code.google.com/p/python-gnupg/ ) for more information. Summary: Better support for status messages from GnuPG. A random data file

Re: tabs/spaces

2012-03-30 Thread Ulrich Eckhardt
Am 29.03.2012 17:25, schrieb Terry Reedy: I am using Thunderbird, win64, as news client for gmane. The post looked fine as originally received. The indents only disappeared when I hit reply and the s were added. I can confirm this misbehaviour of Thunderbird (version 11.0 here), it strips the

Re: Python is readable

2012-03-30 Thread Steven D'Aprano
On Fri, 30 Mar 2012 00:38:26 -0400, Nathan Rice wrote: He did no such thing. I challenge you to find me one place where Joel has *ever* claimed that the very notion of abstraction is meaningless or without use. [snip quote] To me, this directly indicates he views higher order abstractions

Pipelining in Python

2012-03-30 Thread Kiuhnm
I decided to withdraw my proposal for streaming programming :) and to fall back to something more conventional. Here's the full story: http://mtomassoli.wordpress.com/2012/03/29/pipelining-in-python/ The new operators are '' which does the pipelining and '-' which links

Re: errors building python 2.7.3

2012-03-30 Thread Alexey Luchko
On 29.03.2012 21:29, David Robinow wrote: Have you included the patch to Include/py_curses.h ? If you don't know what that is, download the cygwin src package for Python-2.6 and look at the patches. Not all of them are still Thanks for the hint. With cygwin's 2.6.5-ncurses-abi6.patch it

Re: tabs/spaces

2012-03-30 Thread Dave Angel
On 03/30/2012 03:05 AM, Ulrich Eckhardt wrote: Am 29.03.2012 17:25, schrieb Terry Reedy: I am using Thunderbird, win64, as news client for gmane. The post looked fine as originally received. The indents only disappeared when I hit reply and the s were added. I can confirm this misbehaviour of

Re: Python is readable

2012-03-30 Thread Nathan Rice
Mathematics is all about abstraction.  There are theories and structures in mathematics that have probably gone over a hundred years before being applied.  As an analogy, just because a spear isn't useful while farming doesn't mean it won't save your life when you venture into the woods and

ANN: A new version (0.2.9) of the Python module which wraps GnuPG has been released.

2012-03-30 Thread Vinay Sajip
A new version of the Python module which wraps GnuPG has been released. What Changed? = This is a minor bug-fix release. See the project website ( http://code.google.com/p/python-gnupg/ ) for more information. Summary: Better support for status messages from GnuPG. A random data file

Re: Python is readable

2012-03-30 Thread Chris Angelico
On Sat, Mar 31, 2012 at 12:46 AM, Nathan Rice nathan.alexander.r...@gmail.com wrote: I believe in the idea of things should be as simple as possible, but not simpler.  Programming as it currently exists is absolutely convoluted.  I am called on to help people learn to program from time to

RE: Python is readable

2012-03-30 Thread Prasad, Ramit
My aunt makes the best damn lasagna you've ever tasted without any overarching abstract theory of human taste. And if you think that quantum mechanics is more difficult than understanding human perceptions of taste, you are badly mistaken. Taste is subjective, and your aunt probably

Re: convert string to bytes without changing data (encoding)

2012-03-30 Thread Michael Ströder
Steven D'Aprano wrote: On Thu, 29 Mar 2012 17:36:34 +, Prasad, Ramit wrote: Technically, ASCII goes up to 256 but they are not A-z letters. Technically, ASCII is 7-bit, so it goes up to 127. No, ASCII only defines 0-127. Values =128 are not ASCII. From

Re: Python is readable

2012-03-30 Thread Nathan Rice
On Fri, Mar 30, 2012 at 12:20 PM, Chris Angelico ros...@gmail.com wrote: On Sat, Mar 31, 2012 at 12:46 AM, Nathan Rice nathan.alexander.r...@gmail.com wrote: I believe in the idea of things should be as simple as possible, but not simpler.  Programming as it currently exists is absolutely

Re: Python is readable

2012-03-30 Thread Chris Angelico
On Sat, Mar 31, 2012 at 5:15 AM, Nathan Rice nathan.alexander.r...@gmail.com wrote: It is true that program complexity is correlated with problem complexity, language and environment complexity is undeniable.  If you want to prove this to yourself, find someone who is intelligent and has some

Re: unittest: assertRaises() with an instance instead of a type

2012-03-30 Thread Ethan Furman
Steven D'Aprano wrote: To the degree that the decision of how finely to slice tests is a matter of personal judgement and/or taste, I was wrong to say that is not the right way. I should have said that is not how I would do that test. I believe that a single test is too coarse, and three or

Re: convert string to bytes without changing data (encoding)

2012-03-30 Thread Serhiy Storchaka
28.03.12 21:13, Heiko Wundram написав(ла): Reading from stdin/a file gets you bytes, and not a string, because Python cannot automagically guess what format the input is in. In Python3 reading from stdin gets you string. Use sys.stdin.buffer.raw for access to byte stream. And reading from

Re: convert string to bytes without changing data (encoding)

2012-03-30 Thread Chris Angelico
On Sat, Mar 31, 2012 at 6:06 AM, Serhiy Storchaka storch...@gmail.com wrote: 28.03.12 21:13, Heiko Wundram написав(ла): Reading from stdin/a file gets you bytes, and not a string, because Python cannot automagically guess what format the input is in. In Python3 reading from stdin gets you

Re: Python is readable

2012-03-30 Thread Nathan Rice
This is more a matter of being unable to express themselves appropriately. If I allowed them to write an exact process of steps to do what's required, those steps would either be grossly insufficient for the task, or would BE pseudo-code. There are plenty of people who cannot write those

Re: Python is readable

2012-03-30 Thread Chris Angelico
On Sat, Mar 31, 2012 at 6:55 AM, Nathan Rice nathan.alexander.r...@gmail.com wrote: I think you'd find that these non coders would do very well if given the ability to provide instructions in a natural, interactive way. They are not failing us, we are failing them. The nearest thing to

Re: Python is readable

2012-03-30 Thread Neil Cerutti
On 2012-03-30, Nathan Rice nathan.alexander.r...@gmail.com wrote: Restricted natural languages are an active area of current research, and they clearly demonstrate that you can have an expressive formal language that is also valid English. See, for example, Inform 7, which translates a subset

Re: Python is readable

2012-03-30 Thread Dan Sommers
On Sat, 31 Mar 2012 07:20:39 +1100 Chris Angelico ros...@gmail.com wrote: ... That's why we're all still programming in assembly language and doing our own memory management, because we would lose a lot of personal value if programming stopped being so difficult. If it weren't for all these

Re: Python is readable

2012-03-30 Thread Nathan Rice
On Fri, Mar 30, 2012 at 4:20 PM, Chris Angelico ros...@gmail.com wrote: On Sat, Mar 31, 2012 at 6:55 AM, Nathan Rice nathan.alexander.r...@gmail.com wrote: I think you'd find that these non coders would do very well if given the ability to provide instructions in a natural, interactive way.

Will MySQL ever be supported for Python 3.x?

2012-03-30 Thread John Nagle
The MySQLdb entry on SourceForge (http://sourceforge.net/projects/mysql-python/) web site still says the last supported version of Python is 2.6. PyPi says the last supported version is Python 2.5. The last download is from 2007. I realize there are unsupported fourth-party versions

Re: Will MySQL ever be supported for Python 3.x?

2012-03-30 Thread Irmen de Jong
On 30-3-2012 23:20, John Nagle wrote: The MySQLdb entry on SourceForge (http://sourceforge.net/projects/mysql-python/) web site still says the last supported version of Python is 2.6. PyPi says the last supported version is Python 2.5. The last download is from 2007. I realize

Re: Python is readable

2012-03-30 Thread Chris Angelico
On Sat, Mar 31, 2012 at 7:58 AM, Nathan Rice nathan.alexander.r...@gmail.com wrote: Programming language designers purposefully try to make their language C-like, because not being C-like disqualifies a language from consideration for a HUGE portion of programmers, who cower at the naked

Re: Will MySQL ever be supported for Python 3.x?

2012-03-30 Thread John Nagle
On 3/30/2012 2:32 PM, Irmen de Jong wrote: Try Oursql instead http://packages.python.org/oursql/ oursql is a new set of MySQL bindings for python 2.4+, including python 3.x Not even close to being compatible with existing code. Every SQL statement has to be rewritten, with the parameters

Re: Advise of programming one of my first programs

2012-03-30 Thread Anatoli Hristov
** Absolutely! Too bad your version would be considered the more “complicated” version ;) I`m sure about that, but I`am also sure that every beginner passed true that way. ** ** With the main navigation menu I will only have the option to select a nickname and when a nickname is

Re: Will MySQL ever be supported for Python 3.x?

2012-03-30 Thread Irmen de Jong
On 30-3-2012 23:46, John Nagle wrote: On 3/30/2012 2:32 PM, Irmen de Jong wrote: Try Oursql instead http://packages.python.org/oursql/ oursql is a new set of MySQL bindings for python 2.4+, including python 3.x Not even close to being compatible with existing code. Every SQL statement

Re: Python is readable

2012-03-30 Thread Nathan Rice
On Fri, Mar 30, 2012 at 5:45 PM, Chris Angelico ros...@gmail.com wrote: On Sat, Mar 31, 2012 at 7:58 AM, Nathan Rice nathan.alexander.r...@gmail.com wrote: Programming language designers purposefully try to make their language C-like, because not being C-like disqualifies a language from

Threads on google groups not on gmane?

2012-03-30 Thread Mark Lawrence
I went onto google groups to do a search and saw three threads (there may be more) that I've never seen on gmane, which I read via thunderbird on windows. The titles are Is programming art or science, breezypythongui: A New Toolkit for Easy GUIs in Python and weird behaviour: pygame plays in

Re: CFG for python

2012-03-30 Thread Mark Lawrence
On 29/03/2012 06:44, J. Mwebaze wrote: Anyone knows how to create control-flow-graph for python.. After searching around, i found this article, http://www.python.org/dev/peps/pep-0339/#ast-to-cfg-to-bytecode and also a reference to http://doc.pypy.org/en/latest/objspace.html#the-flow-model

Re: help needed to understand an error message.

2012-03-30 Thread J. Cliff Dyer
So the problem is that python doesn't know what you're trying to do. It doesn't know that you meant to say print. When the parser is looking at the word Print, it assumes you are referencing an object named Print, which is completely legal. It's only once you've created the next token, a string

Re: Python is readable

2012-03-30 Thread Terry Reedy
On 3/30/2012 6:47 AM, Steven D'Aprano wrote: Spolsky has written at least three times about Architecture Astronauts, and made it abundantly clear that the problem with them is that they don't solve problems, they invent overarching abstractions that don't do anything useful or important, and

Re: Tools for refactoring/obfuscation

2012-03-30 Thread Lie Ryan
On 03/29/2012 03:04 AM, Javier wrote: Yes, in general I follow clear guidelines for writing code. I just use modules with functions in the same directory and clear use of name spaces. I almost never use classes. I wonder if you use some tool for refactoring. I am mainly intersted in scripting

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

2012-03-30 Thread shinta.nakayama
New submission from shinta.nakayama shinta.nakay...@gmail.com: I found a bug in logging module in Windows. I wrote that at here. https://gist.github.com/2247692 my OS is Windows7 32bit. C:\Python27python Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win 32 Type

[issue14435] Remove special block allocation from floatobject.c

2012-03-30 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14435 ___ ___

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

2012-03-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com 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 ___

[issue14435] Remove special block allocation from floatobject.c

2012-03-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

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

2012-03-30 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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 -- ___

[issue14249] unicodeobject.c: aliasing warnings

2012-03-30 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com 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 rep...@bugs.python.org

[issue14435] Remove special block allocation from floatobject.c

2012-03-30 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue14435] Remove special block allocation from floatobject.c

2012-03-30 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: All done. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14435 ___

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

2012-03-30 Thread Fade78
New submission from Fade78 f...@wanadoo.fr: 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

[issue14438] _cursesmodule build fails on cygwin

2012-03-30 Thread Alexey Luchko
Alexey Luchko l...@ank-sia.com 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

[issue14452] SysLogHandler sends invalid messages when using unicode

2012-03-30 Thread marko kreen
New submission from marko kreen mark...@gmail.com: 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

[issue14452] SysLogHandler sends invalid messages when using unicode

2012-03-30 Thread marko kreen
Changes by marko kreen mark...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14452 ___ ___ Python-bugs-list

[issue14065] Element should support cyclic GC

2012-03-30 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue14065] Element should support cyclic GC

2012-03-30 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14065 ___

[issue14452] SysLogHandler sends invalid messages when using unicode

2012-03-30 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14452 ___ ___

[issue14452] SysLogHandler sends invalid messages when using unicode

2012-03-30 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- versions: -Python 2.6, Python 3.1, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14452 ___

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

2012-03-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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:

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

2012-03-30 Thread Niklas Br
Niklas Br n.brunb...@gmail.com 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

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

2012-03-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2012-03-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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. --

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

2012-03-30 Thread Niklas Br
Niklas Br n.brunb...@gmail.com added the comment: I'm new to python so please , how do I print what? This? shelve module 'shelve' from '/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/shelve.py' -- ___ Python tracker

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

2012-03-30 Thread Niklas Br
Niklas Br n.brunb...@gmail.com added the comment: accidentally a or two word there :) …please have patience… was what I wanted to say -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13007

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

2012-03-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2012-03-30 Thread Niklas Br
Niklas Br n.brunb...@gmail.com 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

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

2012-03-30 Thread Adam Tomjack
New submission from Adam Tomjack adam.tomj...@zuerchertech.com: 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

[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 j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14422 ___ ___ Python-bugs-list mailing list

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

2012-03-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue14452] SysLogHandler sends invalid messages when using unicode

2012-03-30 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk 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

[issue14454] argparse metavar list parameter with nargs=k

2012-03-30 Thread Andy Harrington
New submission from Andy Harrington ahar...@luc.edu: 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

[issue14446] Remove deprecated tkinter functions

2012-03-30 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14446 ___ ___

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

2012-03-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Looks like this should be closed rejected? -- nosy: +r.david.murray type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14422

[issue14386] Expose dictproxy as a public type

2012-03-30 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14386 ___ ___

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

2012-03-30 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com 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

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

2012-03-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 ___

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

2012-03-30 Thread d9pouces
New submission from d9pouces pyt...@19pouces.net: 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

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

2012-03-30 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2012-03-30 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10423

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

2012-03-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org

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

2012-03-30 Thread d9pouces
d9pouces pyt...@19pouces.net 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

[issue14417] dict RuntimeError workaround

2012-03-30 Thread Gregory P. Smith
Changes by Gregory P. Smith g...@krypto.org: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14417 ___ ___

[issue14456] Relation between threads and signals unclear

2012-03-30 Thread Sven Marnach
New submission from Sven Marnach s...@marnach.net: 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

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

2012-03-30 Thread Sven Marnach
Sven Marnach s...@marnach.net 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
Sven Marnach s...@marnach.net added the comment: For reference: the functions 'pthread_kill()' etc. were intrduced in issue8407. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14456 ___

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

2012-03-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 STINNER Victor
STINNER Victor victor.stin...@gmail.com 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

[issue14457] Unattended Install doesn't populate registry

2012-03-30 Thread Paul Klapperich
New submission from Paul Klapperich python@bobpaul.org: 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

[issue14457] Unattended Install doesn't populate registry

2012-03-30 Thread Paul Klapperich
Changes by Paul Klapperich python@bobpaul.org: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14457 ___ ___

[issue14454] argparse metavar list parameter with nargs=k

2012-03-30 Thread Andy Harrington
Andy Harrington ahar...@luc.edu 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:

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

2012-03-30 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

[issue14440] Close background process if IDLE closes abnormally.

2012-03-30 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

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

2012-03-30 Thread Ned Deily
Ned Deily n...@acm.org 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

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

2012-03-30 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14455 ___ ___ Python-bugs-list mailing list

[issue14457] Unattended Install doesn't populate registry

2012-03-30 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +brian.curtin, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14457 ___ ___ Python-bugs-list