On 8/28/11 10:52 PM, Chris Angelico wrote:
* DNS record changes required a support ticket (this was shared web
hosting, so I didn't have control over the BIND files - that's what
they said, anyway)
Ouch: I never let a webhost near my domain names. I was burned somewhere
around that a long time
John Gordon gor...@panix.com writes:
In 66a3f64c-d35e-40c7-be69-ddf708e37...@glegroupsg2000goo.googlegroups.com
Niklas Rosencrantz nikla...@gmail.com writes:
What's the story of using these parameters that are called self?
self is a reference to the class object, and it allows the method
On Sun, 28 Aug 2011 14:20:11 -0700, Travis Parks wrote:
More importantly, I want to make sure that
predicate is callable, accepting a thing, returning a bool.
The callable part is do-able, the rest isn't.
The predicate may accept an arbitrary set of arguments via the *args
and/or **kwargs
On Sun, 28 Aug 2011 18:15:56 -0700, Russ P. wrote:
Is there a
simple way to ensure that the first Control-C will kill the whole darn
thing, i.e, the top-level script? Thanks.
You might try using subprocess.Popen() or subprocess.call() rather than
os.system().
os.system() calls the platform's
http://123maza.com/65/fun564/
--
http://mail.python.org/mailman/listinfo/python-list
On 2011-08-29 05:08, Russ P. wrote:
Yes, but if I am not mistaken, that will require me to put a line or
two after each os.system call. That's almost like whack-a-mole at the
code level rather than the Control-C level. OK, not a huge deal for
one script, but I was hoping for something simpler.
luvspython wrote:
I have an application that needs to keep a history of the values of
several attributes of each of many instances of many classes. The
history-keeping logic is in a helper class, HistoryKeeper, that's
inherited by classes like Vehicle in the example below.
Pickling an
Hi Ppl,
We created a DLL using cygwin and have written a class based python module
for the same. We have created a sample script for the class based python
module, that creates an object of the class and calls various methods in the
class. This Test script works fine while I run it from IDLE.
class P():
pass
class C(P):
pass
Can I get P from C?
IOW, can I get a reference to the object P from the object C? This should be
obvious one way or the other, but I haven't been able to find the answer.
Regards,
John
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 28 Aug 2011 14:00:24 +1000
John O'Hagan resea...@johnohagan.com wrote:
class P():
pass
class C(P):
pass
Can I get P from C?
Never mind, it's __bases__ (not found in dir(C))
Regards,
John
--
http://mail.python.org/mailman/listinfo/python-list
Personally, I'm a major fan of Webfaction -- from price to plans to what's
supported to actual effectiveness of their tech support.
+1
Malcolm
--
http://mail.python.org/mailman/listinfo/python-list
This is not exactly fresh (it was written back in March), but it's the first
time I saw it and I thought I'd share. Barry Warsaw, one of the lead Python
developers, describes one of his most ... interesting ... debugging
experiences.
I'm writing a Scheme interpreter and I need to be able to create and return
a Python function from a string.
This is a port of another Scheme interpreter I wrote in Scheme. What I'm
trying to do looked like this:
(define (scheme-syntax expr)
(hash-table-set! global-syntax (car expr) (eval
On 2011-08-26, Chris Angelico ros...@gmail.com wrote:
On Sat, Aug 27, 2011 at 1:48 AM, Tobiah tob...@teranews.com
wrote:
While I understand and agree with that basic tenet, I think
that the capitalized 'ONLY' is too strong. ?I do split out
code into function for readability, even when the
On Sun, Aug 28, 2011 at 2:20 PM, Travis Parks jehugalea...@gmail.comwrote:
There are some things I want to make sure of. 1) I want to make sure
that source is iterable. 2) More importantly, I want to make sure that
predicate is callable, accepting a thing, returning a bool.
You can check a
On Aug 29, 9:14 am, Chris Rebert c...@rebertia.com wrote:
On Sun, Aug 28, 2011 at 5:35 PM, Gee Chen cnche...@gmail.com wrote:
--
the Python environment on my mac is:
Python 2.6.4 (r264:75706, Aug 28 2011, 22:29:24)
[GCC 4.2.1 (Apple Inc. build 5664)] on
On Aug 29, 5:02 am, Peter Otten __pete...@web.de wrote:
luvspython wrote:
I have an application that needs to keep a history of the values of
several attributes of each of many instances of many classes. The
history-keeping logic is in a helper class, HistoryKeeper, that's
inherited by
On Aug 29, 2:30 am, Nobody nob...@nowhere.com wrote:
On Sun, 28 Aug 2011 14:20:11 -0700, Travis Parks wrote:
More importantly, I want to make sure that
predicate is callable, accepting a thing, returning a bool.
The callable part is do-able, the rest isn't.
The predicate may accept an
Jack Trades wrote in
news:CAG5udOg=GtFGPmTB=1ojnvnrpdyucxdokn1wjqmomv9gx0+...@mail.gmail.com
in gmane.comp.python.general:
... I wanted to allow the user to manually return the
function from the string, like this:
a = exec(
def double(x):
return x * 2
double
)
However it seems that
On Mon, Aug 29, 2011 at 10:45 AM, Travis Parks jehugalea...@gmail.com wrote:
I wanted to allow for calls like this:
extend(range(0, 1000)).map(lambda x: x * x).where(lambda x: x % 2 ==
0).first(lambda x: x % 7 == 0)
It allows me to compose method calls similarly to LINQ in C#. I think
this
Ven wrote in news:aa1212bb-35e5-4bf9-b8ad-7a3c083749c2
@x2g2000yql.googlegroups.com in gmane.comp.python.general:
So, here is what I did/want:
self.run_button=wx.Button(self.panel,ID_RUN_BUTTON,label='Install')
self.Bind(wx.EVT_BUTTON, self.OnRun,id=ID_RUN_BUTTON)
def OnRun(self,evt):
I'm using django 1.3 and python 2.6.
My logging config is:
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'formatters': {
'verbose': {
'format': '%(asctime)s: %(name)s %(levelname)s %
(funcName)s %(message)s'
}
},
'handlers':
On Aug 29, 1:42 pm, Ian Kelly ian.g.ke...@gmail.com wrote:
On Mon, Aug 29, 2011 at 10:45 AM, Travis Parks jehugalea...@gmail.com wrote:
I wanted to allow for calls like this:
extend(range(0, 1000)).map(lambda x: x * x).where(lambda x: x % 2 ==
0).first(lambda x: x % 7 == 0)
It allows me
On Tue, Aug 30, 2011 at 12:52 AM, Neil Cerutti ne...@norwich.edu wrote:
I would split the function only when both halves (caller and
callee) can be given short and useful names - if you can't
explain what a block of code does in a few words, it's probably
a poor choice for splitting out into a
I haven't done much with Python for a couple years, bouncing around
between other languages and scripts as needs suggest, so I have some
minor difficulty keeping Python functionality Python functionality in my
head, but I can overcome that as the cobwebs clear. Though I do seem to
keep
On Tue, Aug 30, 2011 at 2:22 AM, luvspython srehtva...@gmail.com wrote:
I can figure out most things, though perhaps very slowly and
painfully, if I can trace through code. I use WingIDE (love it), but
the execution
of the C code is of course hidden, which helped stymie on this
problem. Is
On Aug 29, 2011, at 2:21 PM, William Gill wrote:
I haven't done much with Python for a couple years, bouncing around between
other languages and scripts as needs suggest, so I have some minor difficulty
keeping Python functionality Python functionality in my head, but I can
overcome that
On 2011-08-29, Chris Angelico ros...@gmail.com wrote:
In my house, I'm dad. In my chorus, I'm Neil. In town I'm Neil
Cerutti, and in the global scope I have to use a meaningless
unique identifier. Hopefully no Python namespace ever gets that
big.
Chorus? Does that imply that you sing? Neat
On 8/29/2011 2:31 PM, Philip Semanchuk wrote:
If the syntax really is close to XML, would it be all that difficult to convert
it to proper XML? Then you have nice libraries like ElementTree to use for
parsing.
Possibly, but I would still need the same search algorithms to find the
opening
On Tue, Aug 30, 2011 at 4:40 AM, Neil Cerutti ne...@norwich.edu wrote:
Wait... not all Python programmers sing?
I do, and there seems to be more than coincidental overlap between
musos and coders.
The problem with that scenario is that, in real life, there's
more than one Cerutti.Neil, and
Olá, boa tarde!
Eu, estou entrando em contato com vocês, pois eu gostaria de saber quais
instituições brasileiras usam regularmente Python para o desenvolvimento de
suas
atividades. Essas instituições podem ser usuários de sistemas
desenvolvidos usando a linguagem Python, ou podem ser
On Sun, Aug 28, 2011 at 10:41 PM, Russ P. russ.paie...@gmail.com wrote:
You could look at the return value of os.system, which may tell you the
exit status of the process.
Thanks for the suggestion. Yeah, I guess I could do that, but it seems
that there should be a simpler way to just
On 29/08/11 20:21, William Gill wrote:
I haven't done much with Python for a couple years, bouncing around
between other languages and scripts as needs suggest, so I have some
minor difficulty keeping Python functionality Python functionality in my
head, but I can overcome that as the cobwebs
On Aug 28, 8:16 pm, Chris Rebert c...@rebertia.com wrote:
On Sun, Aug 28, 2011 at 8:08 PM, Russ P. russ.paie...@gmail.com wrote:
On Aug 28, 7:51 pm, Chris Angelico ros...@gmail.com wrote:
On Mon, Aug 29, 2011 at 12:41 PM, Russ P. russ.paie...@gmail.com wrote:
On Aug 28, 6:52 pm, MRAB
On Mon, Aug 29, 2011 at 12:30 PM, Rob Williscroft r...@rtw.me.uk wrote:
Jack Trades wrote in
... I wanted to allow the user to manually return the
function from the string, like this:
a = exec(
def double(x):
return x * 2
double
)
However it seems that exec does not return
Neil Cerutti ne...@norwich.edu writes:
On 2011-08-29, Chris Angelico ros...@gmail.com wrote:
Chorus? Does that imply that you sing? Neat :)
Wait... not all Python programmers sing?
All Python programmers sing. Some of them should not.
--
\ “To
2011/8/30 Bruno Andrade brunoandrade...@hotmail.com
Olá, boa tarde!
Eu, estou entrando em contato com vocês, pois eu gostaria de saber quais
instituições brasileiras usam regularmente Python para o desenvolvimento de
suas atividades. Essas instituições podem ser usuários de sistemas
On 29 August 2011 23:14, Jack Trades jacktradespub...@gmail.com wrote:
On Mon, Aug 29, 2011 at 12:30 PM, Rob Williscroft r...@rtw.me.uk wrote:
Jack Trades wrote in
... I wanted to allow the user to manually return the
function from the string, like this:
a = exec(
def double(x):
On 29 August 2011 04:08, Russ P. russ.paie...@gmail.com wrote:
On Aug 28, 7:51 pm, Chris Angelico ros...@gmail.com wrote:
On Mon, Aug 29, 2011 at 12:41 PM, Russ P. russ.paie...@gmail.com wrote:
On Aug 28, 6:52 pm, MRAB pyt...@mrabarnett.plus.com wrote:
You could look at the return value of
Travis Parks wrote:
I wrote a post a few days ago about how I know the syntax and
libraries fairly well, but I don't have the philosophy. I haven't
seen a lot of tricks and I am never sure what is the norm in Python.
I am sure if an experienced Python programmer looked at my code,
they'd
On Mon, Aug 29, 2011 at 5:50 PM, Arnaud Delobelle arno...@gmail.com wrote:
Hi Jack,
Here is a possible solution for your problem (Python 3):
class CapturingDict(dict):
... def __setitem__(self, key, val):
... self.key, self.val = key, val
... dict.__setitem__(self,
On 2011-08-29, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
This is not exactly fresh (it was written back in March), but it's the first
time I saw it and I thought I'd share. Barry Warsaw, one of the lead Python
developers, describes one of his most ... interesting ... debugging
On Tue, 30 Aug 2011 08:53 am Arnaud Delobelle wrote:
[...]
Yes, but if I am not mistaken, that will require me to put a line or
two after each os.system call. That's almost like whack-a-mole at the
code level rather than the Control-C level. OK, not a huge deal for
one script, but I was
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12754
___
___
Lars Gustäbel l...@gustaebel.de added the comment:
Yes, it should be fixed in all affected branches.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12841
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
The patch looks ok. Can you push it Lars?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12841
___
New submission from Armin Rigo ar...@users.sourceforge.net:
Here is (attached) a minimal patch to the core trunk CPython to allow extension
modules to take over control of acquiring and releasing the GIL, as proposed
here:
http://mail.python.org/pipermail/python-dev/2011-August/113248.html
Changes by Nadeem Vawda nadeem.va...@gmail.com:
--
nosy: +nadeem.vawda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12850
___
___
douglas bagnall doug...@paradise.net.nz added the comment:
I am no kind of crypto expert, but from what I read, there are no known attacks
on chacha8 or salsa20/12 better than brute-forcing the key, and distinguishing
the stream from random or deducing state would be considered an attack.
Armin Rigo ar...@users.sourceforge.net added the comment:
NB. I know that my stmmodule.c contains a gcc-ism: it uses a __thread global
variable. I plan to fix this in future versions :-)
--
___
Python tracker rep...@bugs.python.org
New submission from Stefan Krah stefan-use...@bytereef.org:
PyCData_NewGetBuffer() must provide strides information if requested,
e.g. in response to a PyBUF_FULL_RO request.
--
assignee: skrah
components: Extension Modules
messages: 143135
nosy: skrah
priority: normal
severity: normal
Nick Coghlan ncogh...@gmail.com added the comment:
Rather than exposing the function pointers directly to the linker, I'd be
happier with a function based API, with the pointer storage then being made
static inside ceval.c.
/* Each function returns the old func, or NULL on failure */
Armin Rigo ar...@users.sourceforge.net added the comment:
I suppose I'm fine either way, but do you have a reason for not exposing the
variables to the linker? Some Windows-ism were such exposed variables are
slower to access than static ones, maybe? The point is that they are kind of
Adal Chiriliuc adal.chiril...@gmail.com added the comment:
It's an internal web API at the place I work for.
To be able to use it from Python in some form, I did an workaround in which I
just stripped everything outside BMP:
# replace characters outside BMP with 'REPLACEMENT CHARACTER'
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
___
Python-bugs-list mailing
Ezio Melotti ezio.melo...@gmail.com added the comment:
I'm going to reject this. If people need it, they can always implement it
using the codecs module.
--
resolution: - rejected
stage: - committed/rejected
status: open - closed
___
Python
New submission from Remi Pointel pyt...@xiri.fr:
Hi,
During the regress tests on OpenBSD, test_posix.test_fdlistdir() segfault.
Details:
$ ./python ./Tools/scripts/run_tests.py test_posix
/home/remi/dev/cpython_test/python -W default -bb -E -m test -r -w -j 0 -u
Ross Lagerwall rosslagerw...@gmail.com added the comment:
Does it always segfault?
Try:
./python -c 'import os; print(os.fdlistdir(os.open(/tmp, os.O_RDONLY)))'
with various values for /tmp.
From what I can see, the code for fdlistdir is basically the same as
os.listdir().
If possible, try
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12850
___
___
Python-bugs-list mailing
Remi Pointel pyt...@xiri.fr added the comment:
Hi,
thanks for your response.
Yes it always segfault:
$ ./python -c 'import os; print(os.fdlistdir(os.open(/tmp, os.O_RDONLY)))'
zsh: segmentation fault (core dumped) ./python -c 'import os;
print(os.fdlistdir(os.open(/tmp, os.O_RDONLY)))'
$
STINNER Victor victor.stin...@haypocalc.com added the comment:
It looks like a kernel bug !? Are you able to write a C script reproducing the
problem? If not, I can try to write it.
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
Ross Lagerwall rosslagerw...@gmail.com added the comment:
It looks like a kernel bug !?
That's what I thought given that it appears to be working on all the other
platforms.
--
___
Python tracker rep...@bugs.python.org
Jean-Michel Fauth wxjmfa...@gmail.com added the comment:
Œ, œ or even are historically ligatures or ligatured forms.
In the French typography, they are single plain letters and
they belong the group of the 42 letters used in the French
typography.
Typographically speaking, using oe instead of œ
Antoine Pitrou pit...@free.fr added the comment:
Œ, œ or even are historically ligatures or ligatured forms.
In the French typography, they are single plain letters and
they belong the group of the 42 letters used in the French
typography.
Typographically speaking, using oe instead of œ is
Remi Pointel pyt...@xiri.fr added the comment:
Hi,
I tested with this program in C:
#include stdio.h
#include dirent.h
#include fcntl.h
#include stdlib.h
int
main(void)
{
DIR *d;
struct dirent *dp;
int dfd;
if ((d = fdopendir((dfd = open(/tmp, O_RDONLY == NULL) {
Tom Christiansen tchr...@perl.com added the comment:
Antoine Pitrou rep...@bugs.python.org wrote
on Mon, 29 Aug 2011 13:21:06 -:
It's not only typographically speaking, it's really a spelling error,
even in hand-written text :-)
Sure, and so too is omitting an accent mark or
sbt shibt...@gmail.com added the comment:
Buffer objects *are* picklable with protocol 2 (but not with earlier
protocols). Unfortunately, the result is not unpicklable.
This is not a problem with multiprocessing. (buffer seems to inherit
__reduce__ and __reduce_ex__ from object.)
Python
Changes by Éric Araujo mer...@netwok.org:
--
stage: test needed - needs patch
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9253
___
Éric Araujo mer...@netwok.org added the comment:
if you recall there was some discussion that it was acceptable to use
distutils but *only* for python 2.N
There was discussion, yes, but it was not decided to change our decision on the
freeze: msg121097
just as an aside: have all python 3.N
Changes by jan matejek jmate...@suse.cz:
--
nosy: +matejcik
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12801
___
___
Python-bugs-list mailing
Changes by Zooko O'Whielacronx zo...@zooko.com:
--
nosy: -zooko
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3871
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
distribute is not a project of python-dev, please use their bug tracker.
For distutils, I explained why we can’t change it and proposed a doc change;
nobody commented on that.
For distutils2, I’m waiting for a reply from Tarek to this question:
Changes by Éric Araujo mer...@netwok.org:
--
components: +Library (Lib)
title: Regexp 2.7 (modifications to current re 2.2.2) - Adding a new regex
module (compatible with re)
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Well, if we use two different paths based on the libc version, it might not be
a good idea, since behaviour can be different in some cases.
It would be nice to know if some modern platforms have a non-compliant
realpath().
--
Éric Araujo mer...@netwok.org added the comment:
The fix was actually very simple. I have committed it to my 3.2 repo and will
push later.
--
stage: test needed - commit review
Added file: http://bugs.python.org/file23061/fix-bdist-skip-build.diff
sbt shibt...@gmail.com added the comment:
mp_queue_pickle_in_main_thread.patch (against the default branch) fixes the
problem by doing the pickling in Queue.put(). It is version of a patch for
Issue 8037 (although I believe the behaviour complained about in Issue 8037 is
not an actual bug).
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
I can confirm that the same behaviour occur in Python 3.3, and this appears to
be by design. There's a specific line in the cast() function in in
Modules/_ctypes.c:
rc = PyDict_SetItem(result-b_objects, index, src);
This adds the source
Éric Araujo mer...@netwok.org added the comment:
The tests using build_ext now pass \o/ I would love for someone with Windows
and a 3.3 clone to test this patch (and if it does not fix, try with the two
lines mentioned in msg142773 removed).
--
Éric Araujo mer...@netwok.org added the comment:
Still, this behavior is surprising and undesirable. I would suggest
adding a note to the docs for the readline module
+1.
--
assignee: - docs@python
components: +Documentation -IO, Interpreter Core
nosy: +docs@python
stage: test needed
sbt shibt...@gmail.com added the comment:
Modifying an object which is already on a traditional queue can also change
what is received by the other thread (depending on timing). So Queue.Queue's
put() is not atomic either. Therefore I do not believe this behaviour is a
bug.
However the
Ross Lagerwall rosslagerw...@gmail.com added the comment:
I'm not sure what the status of Python and OpenBSD support is but I just tried
the latest stable version of OpenBSD (4.9) in VirtualBox and it won't compile
fully. It segfaults while trying to run setup.py (I think).
I see you're
sbt shibt...@gmail.com added the comment:
I meant Issue 6721 (Locks in python standard library should be sanitized on
fork) not 6271.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8037
Antoine Pitrou pit...@free.fr added the comment:
This shouldn't be a problem in Python 3.3, where the Connection classes are
reimplemented in pure Python.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10886
New submission from Russell Owen reo...@users.sourceforge.net:
When using distutils to upload code to PyPI I get the following message (but
the upload is successful):
{{{
Traceback (most recent call last):
File setup.py, line 60, in module
zip_safe = False, # icons (e.g. as used by
Charles-François Natali neolo...@free.fr added the comment:
Well, if we use two different paths based on the libc version, it might not
be a good idea, since behaviour can be different in some cases.
Indeed.
It would be nice to know if some modern platforms have a non-compliant
Antoine Pitrou pit...@free.fr added the comment:
Alas, it doesn't seem to hold for OpenBSD:
http://old.nabble.com/Make-realpath(3)-conform-to-SUSv4-td32031895.html
A patch supporting NULL was committed two months ago, which means we
probably can't push this forward.
I've been quite
Ross Lagerwall rosslagerw...@gmail.com added the comment:
I've been quite disappointed by POSIX lately...
POSIX the standard, or the implementers??
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12801
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: - tarek
components: +Distutils
nosy: +eric.araujo, tarek
stage: - needs patch
versions: +Python 3.2, Python 3.3 -Python 3.4
___
Python tracker rep...@bugs.python.org
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Tested the latest patch with -M11G. All tests pass.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11564
___
Charles-François Natali neolo...@free.fr added the comment:
POSIX the standard, or the implementers??
Both :-)
For those wondering why we can't use PATH_MAX (ignoring the buffer
overallocation), here's why:
New submission from Albert Zeyer alb...@googlemail.com:
In Parser/tokenizer.c, there is `PyOS_Readline(stdin, stdout, tok-prompt)`.
This ignores any `sys.stdin` / `sys.stdout` overwrites.
The usage should be like in Python/bltinmodule.c in builtin_raw_input.
--
messages: 143168
nosy:
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
This behaviour also occurs in 3.3, where this does appear to be a bug. In
Modules/_ctypes/cfield.c, the setting code does a strlen(), which is in fact
questioned in a comment. In function s_set():
size = strlen(data); /* XXX Why not
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Seems related: #8161
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12769
___
___
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
While the patch might improve over the current situation, doesn't it
potentially mask other errors which might be raised by PyFloat_AsDouble()?
Why not just
x = PyFloat_AsDouble(value);
if (PyErr_Occurred())
return NULL;
which would
Lars Gustäbel l...@gustaebel.de added the comment:
Yes, I can do that as soon as I've managed to wrap my head around using
Mercurial and the new way of developing Python. I have been away from Python
programming for quite some time and haven't adapted my workflow yet.
--
Changes by Nadeem Vawda nadeem.va...@gmail.com:
--
hgrepos: +64
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
___
Python-bugs-list
Changes by Nadeem Vawda nadeem.va...@gmail.com:
Added file: http://bugs.python.org/file23063/f3cf187208ea.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Attached is a patch (f3cf187208ea.diff) containing my work so far on
reimplementing the lzma module. So far I've just done the LZMACompressor
and LZMADecompressor classes, but I'm hoping to implement LZMAFile this
weekend.
--
sbt shibt...@gmail.com added the comment:
multiprocessing.util already has register_after_fork() which it uses for
cleaning up certain things when a new process (launched by multiprocessing) is
starting. This is very similar to the proposed atfork mechanism.
Multiprocessing assumes that it
STINNER Victor victor.stin...@haypocalc.com added the comment:
You can get a lot of information on this guide:
http://docs.python.org/devguide/setup.html#getting-set-up
You can also ask on IRC (#python-dev on Freenode), or by email on the
python-dev mailing list.
It was really hard for me to
1 - 100 of 130 matches
Mail list logo