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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
**
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
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
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
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
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
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
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
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
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
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14435
___
___
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
___
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
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
--
___
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
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
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
___
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
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
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
Changes by marko kreen mark...@gmail.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14452
___
___
Python-bugs-list
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
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
___
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14452
___
___
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
___
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:
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
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
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.
--
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
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
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
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
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
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
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
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
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
Changes by R. David Murray rdmur...@bitdance.com:
--
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14446
___
___
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
Changes by R. David Murray rdmur...@bitdance.com:
--
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14386
___
___
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
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
___
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
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
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
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
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
Changes by Gregory P. Smith g...@krypto.org:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14417
___
___
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
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
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
___
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.)
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
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
Changes by Paul Klapperich python@bobpaul.org:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14457
___
___
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:
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
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
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
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
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
86 matches
Mail list logo