=== Leipzig Python User Group ===
We will meet on Tuesday, April 10 at 8:00 p.m. at the training
center of Python Academy in Leipzig, Germany
( http://www.python-academy.com/center/find.html ).
Everybody who uses Python, plans to do so or is interested in
learning more about the language is
I'm pleased to announce that GMPY2 2.0.0b1 is available.
GMPY2 is a Python extension that supports fast multiple-precision
integer, rational, real, and complex arithmetic. GMPY2 provides an
interface to the GMP (or MPIR), MPFR, and MPC multiple-precision
libraries. There are significant new
On Mon, Apr 9, 2012 at 3:45 PM, Xah Lee xah...@gmail.com wrote:
because, slash is one of the useful char, far more so than backslash.
Users should be able to use that for file names.
Users should be able to use EVERY character for their file names. So
here's a solution. Your path separator is
Ok no problem. My sloppiness. After all, my implementation wasn't
portable. So, let's fix it. After a while, discovered there's the
os.sep. Ok, replace / to os.sep, done. Then, bang, all hell
went lose. Because, the backslash is used as escape in string, so any
regex that manipulate path got
On 4/9/2012 1:52 AM, Chris Angelico wrote:
I think this will be a real winner, and you
should team up with Ranting Rick to produce a new operating system and
Python with this new specification and RULE THE WORLD!
But only after going back to the cage to plan for tomorrow night.
--
CPython
罗勇刚(Yonggang Luo) , 09.04.2012 04:28:
static PyObject *
Repository_get_index(Repository *self, void *closure)
{
int err;
git_index *index;
Index *py_index;
assert(self-repo);
if (self-index == NULL) {
err = git_repository_index(index, self-repo);
On Mon, Apr 9, 2012 at 3:29 AM, Dave Angel d...@davea.name wrote:
I don't know about pygame, but almost everywhere in the standard
library, ranges are closed at the begin and open at the end. For
example, if you have range(30, 50), there are 20 items, numbered 30
through 49. I expect the
Hello!
I have this problem with my script exiting randomly with Linux OS
status code -9 (most often) or -15 (also sometimes, but much more
rarely). As far as I understand -9 corresponds to Bad file descriptor
and -15 Block device required.
1) Is there a way how I could find out what exactly
On 4/9/2012 5:01 AM, Janis wrote:
I have this problem with my script exiting randomly with Linux OS
status code -9 (most often) or -15 (also sometimes, but much more
rarely). As far as I understand -9 corresponds to Bad file descriptor
and -15 Block device required.
1) Is there a way how I
Janis janis.vik...@gmail.com writes:
I have this problem with my script exiting randomly with Linux OS
status code -9 (most often) or -15 (also sometimes, but much more
rarely). As far as I understand -9 corresponds to Bad file descriptor
and -15 Block device required.
How do you get -9 and
I means remove the circular references without hurt the code, that is,
these two object will be destroyed at the same time. Even there
creation time is differ
2012/4/9, Stefan Behnel stefan...@behnel.de:
罗勇刚(Yonggang Luo) , 09.04.2012 04:28:
static PyObject *
Repository_get_index(Repository
On 2012-04-07, Jon Clements jon...@googlemail.com wrote:
Any reason you can't derive from int instead of object? You may
also want to check out functions.total_ordering on 2.7+
functools.total_ordering
I was temporarily tripped up by the aforementioned documentation,
myself.
--
Neil Cerutti
Is it a known fact that ast.parse doesn't handle line continuations and
some multi-line expressions?
For instance, he doesn't like
for (x,
y) in each([1,
2]):
print(1)
at all.
Is there a workaround besides repairing the code on the fly?
Kiuhnm
--
On Mon, Apr 9, 2012 at 4:53 AM, Kiuhnm
kiuhnm03.4t.yahoo...@mail.python.org wrote:
Is it a known fact that ast.parse doesn't handle line continuations and some
multi-line expressions?
For instance, he doesn't like
for (x,
y) in each([1,
2]):
print(1)
On Sun, 2012-04-08 at 20:09 +0200, Franck Ditter wrote:
How may I get a fresh Python shell with Idle 3.2 ?
I have to run the same modules several times with all
variables cleared.
Why don't you write your module as a script and pass the variables via
command line like most human beings?
--
On 2012-04-08, John Nagle na...@animats.com wrote:
6. Multiple inheritance is a mess. Especially super.
Python allows you to get dirty. Super solves a messy problem.
10. Python 3 isn't upward compatible with Python 2.
Even minor versions of Python are usually not forward compatible.
In the
In 20120408114313...@kylheku.com, on 04/08/2012
at 07:14 PM, Kaz Kylheku k...@kylheku.com said:
Null-terminated strings are infinitely better than the ridiculous
encapsulation of length + data.
ROTF,LMAO!
For one thing, if s is a non-empty null terminated string then,
cdr(s) is also a string
On 9-4-2012 13:53, Kiuhnm wrote:
Is it a known fact that ast.parse doesn't handle line continuations and some
multi-line
expressions?
For instance, he doesn't like
for (x,
y) in each([1,
2]):
print(1)
at all.
Is there a workaround besides
In article 4f82d3e2$1$fuzhry+tra$mr2...@news.patriot.net,
Shmuel (Seymour J.) Metz spamt...@library.lspace.org.invalid wrote:
Null terminated strings have simplified all kids of text
manipulation, lexical scanning, and data storage/communication
code resulting in immeasurable savings over
On 4/9/2012 3:47 AM Alain Ketterlin said...
Janisjanis.vik...@gmail.com writes:
I have this problem with my script exiting randomly with Linux OS
status code -9 (most often) or -15 (also sometimes, but much more
rarely).
snip
My guess is that your script hits a limit, e.g., number of open
On Apr 9, 6:47 am, Alain Ketterlin al...@dpt-info.u-strasbg.fr
wrote:
Janis janis.vik...@gmail.com writes:
I have this problem with my script exiting randomly with Linux OS
status code -9 (most often) or -15 (also sometimes, but much more
rarely). As far as I understand -9 corresponds to
On Apr 9, 6:01 am, Janis janis.vik...@gmail.com wrote:
Hello!
I have this problem with my script exiting randomly with Linux OS
status code -9 (most often) or -15 (also sometimes, but much more
rarely). As far as I understand -9 corresponds to Bad file descriptor
and -15 Block device
On 4/9/2012 14:43, Irmen de Jong wrote:
On 9-4-2012 13:53, Kiuhnm wrote:
Is it a known fact that ast.parse doesn't handle line continuations and some
multi-line
expressions?
For instance, he doesn't like
for (x,
y) in each([1,
2]):
print(1)
at all.
How may I get a fresh Python shell with Idle 3.2 ?
Open the configuration panel (Options - Configure IDLE). Look in the Keys
tab for the shortcut to restart-shell
HTH
--
Miki Tebeka miki.teb...@gmail.com
http://pythonwise.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 8, 8:09 pm, Adam Skutt ask...@gmail.com wrote:
On Apr 8, 5:52 pm, superhac...@gmail.com wrote:
On Sunday, April 8, 2012 3:55:41 PM UTC-5, Adam Skutt wrote:
On Apr 8, 2:45 pm, superhac...@gmail.com superhac...@gmail.com
wrote:
I am using the python module
On Sun, 8 Apr 2012 16:58:01 -0700 (PDT), Scott Siegler wrote:
[snip]
I set rect.left to 30, rect.top to 30 and rect.width = 20
This works fine. However, when looking at rect.right() it
shows that it is equal to 50. I suppose this is equal to
30+20. However, since the first pixel is on
On Monday, 9 April 2012 12:33:25 UTC+1, Neil Cerutti wrote:
On 2012-04-07, Jon Clements jon...@googlemail.com wrote:
Any reason you can't derive from int instead of object? You may
also want to check out functions.total_ordering on 2.7+
functools.total_ordering
I was temporarily
On 2012-04-09, Shmuel Metz spamt...@library.lspace.org.invalid wrote:
In 20120408114313...@kylheku.com, on 04/08/2012
at 07:14 PM, Kaz Kylheku k...@kylheku.com said:
Null-terminated strings are infinitely better than the ridiculous
encapsulation of length + data.
ROTF,LMAO!
For one thing,
On 2012-04-09, Roy Smith r...@panix.com wrote:
In article 4f82d3e2$1$fuzhry+tra$mr2...@news.patriot.net,
Shmuel (Seymour J.) Metz spamt...@library.lspace.org.invalid wrote:
Null terminated strings have simplified all kids of text
manipulation, lexical scanning, and data storage/communication
Thank you all for the help! I will need to think a bit about the other
suggestions.
But, Alan, as to this:
How do you get -9 and -15? Exit status is supposed to be between 0 and
127.
I have the following code that has caught these:
p = subprocess.Popen([Config.PYTHON_EXE,'Load.py',%s %
On 4/9/2012 8:09 AM, Albert W. Hopkins wrote:
On Sun, 2012-04-08 at 20:09 +0200, Franck Ditter wrote:
How may I get a fresh Python shell with Idle 3.2 ?
I have to run the same modules several times with all
variables cleared.
If you have the module in an idle edit window, F5-run restarts
THE QUR'AN AND MODERN SCIENCE
Extracted from the Book
The Bible, The Qur'an and Science
Maurice Bucaille
ASTRONOMY IN THE QUR'AN
The Qur'an is full of reflections on the heavens. In the preceding
chapter on the Creation, we saw how the plurality of the heavens and
I'm trying out the pygame tutorial at
http://www.pygame.org/docs/tut/intro/intro.html
If I try out the code I'm facing an error:
./game.py: line 4: syntax error at unexpected symbol 'size'
./game.py: line 4: `size = width, height = 320, 240'
can anyone here tell me what's going wrong?
thanks
Shmuel (Seymour J.) Metz spamt...@library.lspace.org.invalid writes:
[...]
For one thing, if s is a non-empty null terminated string then,
cdr(s) is also a string representing the rest of that string
without the first character,
Are you really too clueless to differentiate between C and LISP?
On 4/9/2012 2:57 PM, Kiuhnm wrote:
Do you have some real or realistic (but easy and self-contained)
examples when you had to define a (multi-statement) function and pass it
to another function?
This is so common in Python that it is hardly worth sneezing about.
map(f, iterable)
filter(f,
On 09/04/2012 21:20, aapeetnootjes wrote:
I'm trying out the pygame tutorial at
http://www.pygame.org/docs/tut/intro/intro.html
If I try out the code I'm facing an error:
./game.py: line 4: syntax error at unexpected symbol 'size'
./game.py: line 4: `size = width, height = 320, 240'
can
Rainer Weikusat rweiku...@mssgmbh.com writes:
Shmuel (Seymour J.) Metz spamt...@library.lspace.org.invalid writes:
[...]
For one thing, if s is a non-empty null terminated string then,
cdr(s) is also a string representing the rest of that string
without the first character,
Are you really
Hi Miki,
On 2012-04-05 00:34, Miki Tebeka wrote:
I'm going to give a Python Gotcha's talk at work.
If you have an interesting/common Gotcha (warts/dark corners ...) please
share.
(Note that I want over http://wiki.python.org/moin/PythonWarts already).
I gave a somewhat similar talk a
In article
1a558398-3984-4b20-8d67-a0807871b...@v1g2000yqm.googlegroups.com,
aapeetnootjes ilyacool...@gmail.com wrote:
I'm trying out the pygame tutorial at
http://www.pygame.org/docs/tut/intro/intro.html
If I try out the code I'm facing an error:
./game.py: line 4: syntax error at
On 4/9/2012 11:57 AM Kiuhnm said...
Do you have some real or realistic
... yes
(but easy and self-contained)
aah, no.
examples when you had to define a (multi-statement) function and pass it
to another function?
This weekend I added functionality to a subsystem that allows users
On 09/04/2012 11:01, Janis wrote:
cut weird exit codes
My experience is that these kind of behaviors are observed when (from
most to least likeliness):
- Your kernel barfs on a limit, e.g. space/inodes/processes/memory/etc.
- You have a linked library mismatch
- You have bit rot on your system
You might try running your Python process with:
strace -f -s 1024 -o /tmp/script.strace python /path/to/script.py
Then you (perhaps with a C programmer) can likely track down what happened
right before the crash by examining the system call tracer near the end of
the file.
On 09Apr2012 12:02, Janis janis.vik...@gmail.com wrote:
| Thank you all for the help! I will need to think a bit about the other
| suggestions.
|
| But, Alan, as to this:
| How do you get -9 and -15? Exit status is supposed to be between 0 and
| 127.
|
| I have the following code that has
On Monday, April 9, 2012 9:39:54 AM UTC-5, super...@gmail.com wrote:
On Apr 8, 8:09 pm, Adam Skutt ask...@gmail.com wrote:
On Apr 8, 5:52 pm, superhac...@gmail.com wrote:
On Sunday, April 8, 2012 3:55:41 PM UTC-5, Adam Skutt wrote:
On Apr 8, 2:45 pm,
Shot in the dark here: has any who reads this group been successful
with getting Python to programmatically post an image to Facebook?
I've tried using fbconsole[1] and facepy[2], both of which apparently
work fine for their authors and others and although I have an
authorization code, publish
I've tried using fbconsole[1] and facepy[2], both of which apparently
Forgot the refs:
[1]https://github.com/facebook/fbconsole;
http://blog.carduner.net/2011/09/06/easy-facebook-scripting-in-python/
[2]https://github.com/jgorset/facepy
--
http://mail.python.org/mailman/listinfo/python-list
Josh Triplett j...@joshtriplett.org added the comment:
I currently use Python 2.7, and I'd like to make use of memoryview.
Specifically, I work on BITS (http://biosbits.org/), which runs Python in ring
0 as part of GRUB, and I'd like to use memoryview to give Python access to data
in
Josh Triplett j...@joshtriplett.org added the comment:
I currently use Python 2.7, and I'd like to make use of memoryview.
Specifically, I work on BITS (http://biosbits.org/), which runs Python in
ring 0 as part of GRUB, and I'd like to use memoryview to give Python access
to data in
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
possibly, multiprocessing.Connection uses handles, which can be socket handles
on windows, and that code also uses DuplicateHandle. I think a generic
solution must be found for multiprocessing, so I'll create a separate issue.
sbt shibt...@gmail.com added the comment:
I only looked quickly at the web pages, so I may have misunderstood.
But it sounds like this applies when the attacker gets multiple chances to
guess the digest for a *fixed* message (which was presumably chosen by the
attacker).
That is not the case
sbt shibt...@gmail.com added the comment:
There is an undocumented function multiprocessing.allow_connection_pickling()
whose docstring claims it allows connection and socket objects to be pickled.
The attached patch fixes the multiprocessing.reduction module so that it works
correctly. This
sbt shibt...@gmail.com added the comment:
I think a generic solution must be found for multiprocessing, so I'll
create a separate issue.
I have submitted a patch for Issue 4892 which makes connection and socket
objects picklable. It uses socket.share() and socket.fromshare() on Windows.
Antoine Pitrou pit...@free.fr added the comment:
Unless there's a technical barrier, I still think it would be better to use
ForkingPickler in multiprocessing.connection, rather than modify global state
(copyreg). The pickling support is multiprocessing-specific and wouldn't make
sense for
Antoine Pitrou pit...@free.fr added the comment:
This looks rather good on the principle. I think PyExcState needn't be public,
it should be _PyExcState.
I haven't checked the detailed mechanics of the patch, I hope someone else can.
--
nosy: +pitrou
New submission from R. David Murray rdmur...@bitdance.com:
A common pattern in testing is to have a base test class that implements test
methods, and subclasses that provide various data that drives the tests to be
run in different ways. It is convenient for the base class to inherit from
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset eff551437abd by R David Murray in branch 'default':
#14533: if a test has no test_main, use loadTestsFromModule.
http://hg.python.org/cpython/rev/eff551437abd
--
nosy: +python-dev
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14533
___
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Here is a new patch.
1) I´ve simplified and relaxed test_notify() for Condition objects. Condition
variables don't guarantee that there won't be any spurious wakeups so the test
must maintain internal bookkeeping so that it
Changes by Kristján Valur Jónsson krist...@ccpgames.com:
--
nosy: +kristjan.jonsson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4892
___
___
New submission from Ramchandra Apte maniandra...@gmail.com:
Three code examples in
http://docs.python.org/py3k/library/multiprocessing.html#examples are not
syntax highlighted.
--
assignee: docs@python
components: Documentation
messages: 157845
nosy: docs@python, ramchandra.apte
Serhiy Storchaka storch...@gmail.com added the comment:
I checked one example on a 32-bit system (you have a 64-bit?)), because I was
afraid pessimization because of a lack of registers. str.find() is faster than
str.rfind(), but the patch makes it even faster.
But I would like to see the
Antoine Pitrou pit...@free.fr added the comment:
Condition variables don't guarantee that there won't be any spurious
wakeups
What do you mean? The implementation doesn't seem prone to spurious wakeups,
and the docs don't say so either.
I've added two generic tests of Condition objects in
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 704630a9c5d5 by Antoine Pitrou in branch 'default':
Issue #13165: stringbench is now available in the Tools/stringbench folder.
http://hg.python.org/cpython/rev/704630a9c5d5
--
nosy: +python-dev
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13165
___
Antoine Pitrou pit...@free.fr added the comment:
But I would like to see the script and the results of benchmarking of
the 1/2/3/20-character ascii/ucs1/ucs2/ucs4-substring in ascii/ucs1
/ucs2/ucs4-string, in all possible combinations. May be, such benchmark
scripts already exist?
Stefan Behnel sco...@users.sourceforge.net added the comment:
FWIW, Cython keeps the exception state in the generator struct and that works
nicely.
Note that Amaury is right in that extensions use tstate-exc_value and friends.
Cython does so quite extensively, for example. I don't see any use
New submission from Serhiy Storchaka storch...@gmail.com:
Links Subversion instructions and Developer FAQ on http://svn.python.org/
are invalid.
--
components: Devguide
messages: 157851
nosy: ezio.melotti, storchaka
priority: normal
severity: normal
status: open
title: Invalid links in
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
I just want to point out that each time socket.share() is called, the resulting
data can only be used once by socket.fromshare(). I'm mentioning this because
I know there is some caching mechanism in reduction.py and that this
Serhiy Storchaka storch...@gmail.com added the comment:
stringbench (the tool which produced those results) now exists in
Tools/stringbench/stringbench.py.
Thank you, yesterday they were not.
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Note that Amaury is right in that extensions use tstate-exc_value and
friends. Cython does so quite extensively, for example.
I understand for Cython, but why would pedestrian extension code look up
tstate-exc_value?
--
Antoine Pitrou pit...@free.fr added the comment:
Stefan's latest patch looks fine to me.
--
nosy: +pitrou
stage: - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14098
___
Mark Shannon m...@hotpy.org added the comment:
3rd party code should not be accessing fields in the threadstate object,
but without the accessors proposed in issue 14098 there may be no alternative.
Once the patch for issue 14098 has been applied it, would it then be acceptable
to remove the
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14520
___
___
Mark Dickinson dicki...@gmail.com added the comment:
In the C version of decimal, do distinct Decimal objects ever share
coefficients? (This would be an obvious optimization for methods like
Decimal.copy_negate; I don't know whether the C version applies such
optimizations.) If there's
Rik Poggi poggi.ri...@gmail.com added the comment:
Moving on, I've understood what the bug is about. I've made a couple of tests
for this issue. I'm waiting for a review before adding others (if necessary).
The fix is not going to be easy, because I'm not sure about the Metadata design.
I
Mark Dickinson dicki...@gmail.com added the comment:
Thanks for the updated patch! (BTW, you can attach patches as files to the
issue rather than writing them inline.)
Yes, this patch is more along the lines that I was thinking of. There are some
issues, though: (1) we need to deal with
Martin v. Löwis mar...@v.loewis.de added the comment:
In the C version of decimal, do distinct Decimal objects ever share
coefficients? (This would be an obvious optimization for methods
like Decimal.copy_negate; I don't know whether the C version
applies such optimizations.) If
Stefan Krah stefan-use...@bytereef.org added the comment:
Mark Dickinson rep...@bugs.python.org wrote:
In the C version of decimal, do distinct Decimal objects ever share
coefficients?
The coefficients are members of the mpd_t struct (libmpdec data type),
and they are not exposed as Python
Mark Dickinson dicki...@gmail.com added the comment:
Here's an example based on the dtoa.c code. It only changes the return value
of float('nan'), and doesn't affect any other existing uses of the Py_NAN
macro. It needs tests.
--
keywords: +patch
Added file:
Stefan Behnel sco...@users.sourceforge.net added the comment:
I can't speak for much outside of Cython, and Cython generated modules would
best be regenerated with a newer Cython version anyway in order to work with
Py3.3. I'm not sure that's currently required, though.
As long as there is a
Mark Dickinson dicki...@gmail.com added the comment:
and they are not exposed as Python objects or shared.
Okay, thanks. Sounds like this isn't an issue at the moment then.
+1 for having getsizeof report the total size used.
--
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
As long as there is a way to access these fields directly from the
struct (with the usual preprocessor conditional), I don't think Cython
will actually start to use the PyErr_[GS]etExcInfo() functions in
CPython - simply for performance
Antoine Pitrou pit...@free.fr added the comment:
Thanks for pointing it - I've fixed the instructions.
--
nosy: +pitrou
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
A decorator would be provided that sets the attribute to False, since
that would make it visually obvious which TestCases are base classes
and not to be loaded.
What's the point? Just derive from TestCase in the derived classes, not the
base
Daniel Stutzbach stutzb...@google.com added the comment:
Wouldn't the subclass inherit the False value? Then the user would need to
remember to override the value again in the subclass, which is error prone.
Antoine: I've used the pattern you describe on a couple of occasions, and it
R. David Murray rdmur...@bitdance.com added the comment:
Antoine: I don't have any problem with that personally, but Michael did, and
he's the maintainer :)
But there is a small advantage: it means you don't have to keep repeating the
'unittest.TestCase' boilerplate in each subclass
Antoine Pitrou pit...@free.fr added the comment:
Antoine: I've used the pattern you describe on a couple of occasions,
and it routinely confuses my code reviewers.
Really? What is confusing about it?
Perhaps we should simply document it.
--
___
Serhiy Storchaka storch...@gmail.com added the comment:
I think that would be a useful tool for comparing two stringbench results. I
propose an example of a script. Can use them separately or included in the
stringbench.py, it's only an idea.
--
nosy: +storchaka
Added file:
Serhiy Storchaka storch...@gmail.com added the comment:
I used stringbench and self-writen script (see issue13165) for comparison and
saw no convincing difference. The difference to str.find does not exceed
accidental deviations for other functions which are not affected by the patch.
Serhiy Storchaka storch...@gmail.com added the comment:
May be it would be more reasonable if math.copysign(1., float('nan')) return a
float('nan')?
--
nosy: +storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14521
Mark Dickinson dicki...@gmail.com added the comment:
May be it would be more reasonable if math.copysign(1., float('nan'))
return a float('nan')?
-1. That would go against all the existing standards.
--
___
Python tracker rep...@bugs.python.org
mattip matti.pi...@gmail.com added the comment:
Your patch is much more reasonable than mine.
Should I add a test that fails pre-patch and passes with the patch, or one that
is skipped pre-patch and passes post-patch? I'm not sure what is accepted in
the cpython development cycle
--
New submission from Aaron Meurer asmeu...@gmail.com:
Recently, after a small seemingly unrelated refactoring, the SymPy test suite
in Python 3 started dying with Fatal Python error: Cannot recover from stack
overflow.
Here's how to reproduce the error
git clone
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Re. logging, logging._acquireLock and logging._releaseLock are not part of the
public API and are undocumented at present. The case when _releaseLock does not
raise an error is when threading couldn't be imported, so the _lock variable is
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +haypo
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14537
___
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b5f0ce4ddf0c by Éric Araujo in branch '2.7':
Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884).
http://hg.python.org/cpython/rev/b5f0ce4ddf0c
--
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b5f0ce4ddf0c by Éric Araujo in branch '2.7':
Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884).
http://hg.python.org/cpython/rev/b5f0ce4ddf0c
--
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset a11a2bbd8241 by Benjamin Peterson in branch '2.7':
fix build without Py_DEBUG and DNDEBUG (closes #14509)
http://hg.python.org/cpython/rev/a11a2bbd8241
New changeset 64bb1d258322 by Benjamin Peterson in branch
Jim Jewett jimjjew...@gmail.com added the comment:
Vinay,
The current question is what contract locks should follow, and whether
all locks should follow it. Would it be acceptable for
logging._releaseLock to raise a RuntimeError if the lock hadn't
previously been acquired? In other words,
Antoine Pitrou pit...@free.fr added the comment:
The current question is what contract locks should follow, and whether
all locks should follow it. Would it be acceptable for
logging._releaseLock to raise a RuntimeError if the lock hadn't
previously been acquired?
I don't see the point of
1 - 100 of 155 matches
Mail list logo