On 16/01/2012 23:21, Vinay Sajip wrote:
Why is this? There must be some rationale for this rather than what, for me and
others I've talked to, would seem more natural, ie: a filter on the root
logger would get messages both logged to it and any messages propagated to it
from child loggers
From: Chris Withers ch...@simplistix.co.uk
How breaking code? Configuration, maybe, but I can't see anyone being upset
that filtering would begin working the same as everything else.
This just feels like a bug...
Well, it means that filters that don't get called now would get called - and
On Mon, Jan 16, 2012 at 4:01 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Mon, 16 Jan 2012 09:03:54 +0300, _ wrote:
# THAT WHAT NEED EXPECT FROM OPERATORS OF PYTHON: Worddr = 56 # CREATE
A STRING: 56 Word = [12] # CREATE A LIST WITH ONE SIGNED: 12 Word
= Word.append(34)
Hi all.
Like others before me, I'd like to show you my first python attempt, in the
hope in can get advices on how to improve my coding.
I started learning python and pyGTK last november. I had had a short
experience of GTK with C, but had given up as I lacked time and I found it
more difficult
On Jan 17, 8:16 am, Jérôme jer...@jolimont.fr wrote:
Any comment is welcome, be it about code optimization, coding style,
pythonification, good practices, or simply program features and usability.
Step one would be to show a screen shot in both English AND French
language. Besides, not
Tue, 17 Jan 2012 08:48:13 -0800 (PST)
Rick Johnson a écrit:
On Jan 17, 8:16 am, Jérôme jer...@jolimont.fr wrote:
Any comment is welcome, be it about code optimization, coding style,
pythonification, good practices, or simply program features and usability.
Step one would be to show a
You would get more responses if you used one of those sites that displayed
the code right in the browser.
On Tue, Jan 17, 2012 at 12:26 PM, Jérôme jer...@jolimont.fr wrote:
Tue, 17 Jan 2012 08:48:13 -0800 (PST)
Rick Johnson a écrit:
On Jan 17, 8:16 am, Jérôme jer...@jolimont.fr wrote:
Tue, 17 Jan 2012 12:28:11 -0500
Rodrick Brown a écrit:
You would get more responses if you used one of those sites that displayed
the code right in the browser.
Thanks for the tip.
I thought people would rather open it in their own editor. (And I tend to
avoid third-party hosting.)
Here's an
Hello,
I'm looking for a way to find the occurrences of x is y comparisons in
an existing code base. Except for a few special cases (e.g. x is [not]
None) they're a usually mistakes, the correct test being x == y.
However they happen to work most of the time on CPython (e.g. when y
is a small
On 17 jan, 15:16, Jérôme jer...@jolimont.fr wrote:
Hi all.
hi,
just my 2 cents:
you have quite lot of such test:
if self._index is 0:
I think it's better to compare with equality against 0 (or other
needed value) ; that is:
if self._index == 0:
otherwise your code looks very nice to me,
On 17/01/2012 17:10, Alex Willmer wrote:
Hello,
I'm looking for a way to find the occurrences of x is y comparisons in
an existing code base. Except for a few special cases (e.g. x is [not]
None) they're a usually mistakes, the correct test being x == y.
However they happen to work most of the
Am 17.01.2012 18:10, schrieb Alex Willmer:
Hello,
I'm looking for a way to find the occurrences of x is y comparisons in
an existing code base. Except for a few special cases (e.g. x is [not]
None) they're a usually mistakes, the correct test being x == y.
However they happen to work most of
Tue, 17 Jan 2012 10:16:02 -0800 (PST)
gst a écrit:
you have quite lot of such test:
if self._index is 0:
I think it's better to compare with equality against 0 (or other
needed value) ; that is:
if self._index == 0:
Yes, I just saw that thanks to Alex Willmer's e-mail.
I used to
Jérôme jer...@jolimont.fr writes:
Anyway, I was trying to bring people's attention to the python program
itself
Welcome!
You have some replies now, that's good.
Rick Johnson a écrit:
Besides, not everyone in this community is a card carrying
pacifist.
?
You have attracted the
Jérôme wrote:
Hi all.
Like others before me, I'd like to show you my first python attempt, in the
hope in can get advices on how to improve my coding.
I started learning python and pyGTK last november. I had had a short
experience of GTK with C, but had given up as I lacked time and I found it
On Jan 17, 1:38 pm, Ben Finney ben+pyt...@benfinney.id.au wrote:
Jérôme jer...@jolimont.fr writes:
Rick Johnson a écrit:
Besides, not everyone in this community is a card carrying
pacifist.
?
You have attracted the attention of a troll.
What is worse: A wolf, or a wolf in sheep's
On Wed, Jan 18, 2012 at 7:38 AM, Rick Johnson
rantingrickjohn...@gmail.com wrote:
On Jan 17, 1:38 pm, Ben Finney ben+pyt...@benfinney.id.au wrote:
You have attracted the attention of a troll.
What is worse: A wolf, or a wolf in sheep's clothing?
There is no trolling in my reply. A nice quip,
I'm trying to write a self-maintaining test tool that can be used from
the command line against a server via CORBA (omniORB). To start, I'd
be happy with a tool that could describe the interface(s) that the
server implements (e.g., essentially regenerating the IDL that defined
the interfaces to
On Jan 16, 12:03 am, _ pan...@yandex.ru wrote:
# THAT WHAT NEED EXPECT FROM OPERATORS OF PYTHON:
Worddr = 56 # CREATE A STRING: 56
Word = [12] # CREATE A LIST WITH ONE SIGNED: 12
Word = Word.append(34) # APPEND TO LIST ONE MORE SIGNED: 34
Word = Word + 34 # MUST APPEND TO LIST ONE MORE
Can any idea help me figure out why the following output is sequential? I'm
running this example on a 4 core system.
I would expect the output to look random.
import _thread as thread
import time
class thread_counter(object):
def __init__(self, thr_cnt, sleep_int):
self.thr_cnt =
On 18/01/2012 4:22 PM, Rodrick Brown wrote:
import _thread as thread
import time
class thread_counter(object):
def __init__(self, thr_cnt, sleep_int):
self.thr_cnt = thr_cnt
self.sleep_int = sleep_int
def counter(myId, count):
for i in range(count):
In Unix the operating system pass argument as a list of C strings. But
C strings does corresponds to the bytes notions of Python3. Is it
possible to have sys.argv as a list of bytes ? What happens if I pass
to a program an argumpent containing funny character, for example
(with a bash shell)?
Garrett Cooper yaneg...@gmail.com added the comment:
Here's a unittest patch for the py3k branch.
{{{
1 items passed all tests:
32 tests in test.test_cmd.samplecmdclass
32 tests in 19 items.
32 passed and 0 failed.
Test passed.
doctest (test.test_cmd) ... 32 tests with zero failures
Mark Diekhans ma...@kermodei.com added the comment:
Allowing loadTestsFromTestCase() to take either a testCaseClass
or a (testCaseClass, param) tuple, where the param is then past
to the __init__ function might do the trick. One param is sufficient, since it
can
be a container for any number
Cherniavsky Beni b...@google.com added the comment:
Mark: customizing tabs to be anything but 8 spaces is inadvisable with Python,
because Python always parses them as 8.
Sooner or later one would mix tabs and spaces and the result would be really
painful to debug.
--
nosy: +cben
Kay Hayen kayha...@gmx.de added the comment:
Does the Python standard library not offer anything that does replace with
current process code with another? I checked with subprocess, and admittedly
it's not that. Does Win32 API offer nothing for that?
--
Changes by Tal Einat talei...@gmail.com:
--
nosy: -taleinat
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8285
___
___
Python-bugs-list mailing
New submission from Martin Häcker spamfaen...@gmx.de:
Code that uses higher order methods is often the clearest description of what
you want to do. However since the higher order methods in python (filter, map,
reduce) are free functions and aren't available on collection classes as
methods,
Ezio Melotti ezio.melo...@gmail.com added the comment:
+The documentation sources are part of the main :ref:`CPython Mercurial
+repository setup`.
I think documentation sources is a bit vague. If the goal is enable people
to find those files, IMHO it would be better to state explicitly that
Ezio Melotti ezio.melo...@gmail.com added the comment:
Do you mean the base 16 in this sentence: A code point is an integer value,
usually denoted in base 16.?
Why would hexadecimal be better than base 16?
--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
versions: -Python
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
No. On Windows the only way to start a new executable is to create a new
process (with the CreateProcess function, which all spawn* and exec* functions
ultimately call), and this yields a new PID.
This is a fundamental difference with
New submission from Martin Häcker spamfaen...@gmx.de:
[].sort() returns None which means you can't chain it.
So for example someDict.keys().sort()[0] doesn't work but you have to use
sorted(someDict.keys())[0] instead which is harder to read as you have to read
the line not from the beginning
Martin Häcker spamfaen...@gmx.de added the comment:
It really should return self.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13805
___
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
This is by design.
Methods that mutate the object return None.
Methods that create a new object return the new object.
list.sort sorts the list in place, so it returns None.
--
nosy: +ezio.melotti
resolution: - rejected
stage: -
Ezio Melotti ezio.melo...@gmail.com added the comment:
See also
http://docs.python.org/faq/design.html#why-doesn-t-list-sort-return-the-sorted-list
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13805
Nick Coghlan ncogh...@gmail.com added the comment:
Back on topic...
While I can see the advantage of parameterisation at the level of individual
tests, I'm not at all clear on the benefits at the TestCase level.
For CPython's own test suite, if we want to share tests amongst multiple test
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Thanks Nick. Looking through this discussion it looks as though you
encountered all the confusing bits that I ran into (dup_buffer, ownership
issues, reference counting and so forth.) Good work.
--
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Attached is a fix for 3.x.
--
keywords: +patch
Added file: http://bugs.python.org/file24258/gzip-fdopen.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13781
Stefan Krah stefan-use...@bytereef.org added the comment:
Thanks for the comments. Most of them should be easy to fix.
Nick Coghlan rep...@bugs.python.org wrote:
[...] expose the Py_buffer len field as memoryview.size instead of
memoryview.len (to reduce confusion with len(memoryview) and
to
STINNER Victor victor.stin...@haypocalc.com added the comment:
Patch version 8: the whole test suite now pass successfully.
The remaining question is if CryptoGen should be used instead of the
weak LCG initialized by gettimeofday() and getpid(). According to
Martin von Loewis, we must link
STINNER Victor victor.stin...@haypocalc.com added the comment:
Hum, test_runpy fails something with a segfault and/or a recursion
limit because of my hack to rerun regrtest.py to set PYTHONHASHSEED
environment variable. The fork should be defined if main() of
regrtest.py is called directly.
R. David Murray rdmur...@bitdance.com added the comment:
I'd still like to see a recipe for creating parameterized test cases via
load_tests added to the docs. It may be relatively obvious how to do it once
you think of it, but it isn't obvious to a relative newcomer that you *can* do
it,
Changes by Stefan Krah stefan-use...@bytereef.org:
--
dependencies: +Problems with Py_buffer management in memoryobject.c (and
elsewhere?)
resolution: fixed - remind
status: closed - open
___
Python tracker rep...@bugs.python.org
Stefan Krah stefan-use...@bytereef.org added the comment:
Reopening as a reminder that it isn't fixed yet in
http://hg.python.org/features/pep-3118 .
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13411
Nick Coghlan ncogh...@gmail.com added the comment:
I agree with David, so switching this over to a docs enhancement request.
--
assignee: - docs@python
components: +Documentation
nosy: +docs@python
title: Support parameterized TestCases in unittest - Add example of using
load_tests to
Oleg Plakhotnyuk oleg...@gmail.com added the comment:
I have absolutely no idea :-)
I just covered every line of code with tests. Some bugs prevented me from do
it, so I fixed them.
--
___
Python tracker rep...@bugs.python.org
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Did you consider list comprehension?
self.questions = sum((topic.questions for topic in self.topics), [])
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
Jesús Cea Avión j...@jcea.es added the comment:
Proposed patch for Python 2.7:
--- util.py.old 2011-12-12 01:34:04.412234183 +0100
+++ util.py 2012-01-17 15:15:23.262257886 +0100
@@ -12,6 +12,7 @@
from distutils.spawn import spawn
from distutils import log
from distutils.errors import
Boštjan Mejak bostjan.me...@gmail.com added the comment:
Well, actually, it's the only correct way to write it (i-th). This is a simple
orthographical error that was made. Ezio, please fix those two additional
typos. And Georg, stop being such a wise-ass.
--
Martin Häcker spamfaen...@gmx.de added the comment:
Yes - however it has the same problem as the higher order version in the python
libraries that to read it you need to constantly jump back and forth in the
line.
--
___
Python tracker
patrick vrijlandt patrick.vrijla...@gmail.com added the comment:
Hi,
Did you look at lxml (http://lxml.de)?
from lxml.builder import E
from lxml import etree
tree = etree.ElementTree(
E.Hello(
Good morning!,
E.World(How do you do, humour = excellent),
Fine,
New submission from Oleg Plakhotnyuk oleg...@gmail.com:
According to documentation (http://docs.python.org/library/audioop.html),
adpcm2lin, alaw2lin and ulaw2lin are using 'width' argument to represent output
frames width. However, in audioop.c module there are checks that are raising
Changes by Oleg Plakhotnyuk oleg...@gmail.com:
Removed file: http://bugs.python.org/file24112/aifc_compression.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13681
___
Oleg Plakhotnyuk oleg...@gmail.com added the comment:
Ok, I have opened issue 13806 with audioop fix alone. However, I cannot change
current issue's dependencies to reflect that current issue depends on issue
13806. Could anyone do this for me please?
--
Added file:
Meador Inge mead...@gmail.com added the comment:
The attached patch fixes this be checking what is left in the input
buffer after parsing. Anything but trailing whitespace and comments
triggers the exception.
Ignoring trailing whitespace and comments makes sense, but it is also
somewhat
New submission from Thomas Ryschawy thomasotto.rysch...@emerson.com:
It seems to be known that in case of a Windows GUI app that isn’t connected to
a console sys.stderr can be None. See the Note on
http://docs.python.org/py3k/library/sys.html: Under some conditions stdin,
stdout and stderr as
Changes by Thomas Ryschawy thomasotto.rysch...@emerson.com:
Removed file: http://bugs.python.org/file24263/traceback.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13807
___
Changes by Thomas Ryschawy thomasotto.rysch...@emerson.com:
Added file: http://bugs.python.org/file24264/traceback.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13807
___
Éric Araujo mer...@netwok.org added the comment:
Just a heads-up: I’ll be offline between January 19 and the end of the month,
so don’t worry if you make a patch and it’s not reviewed immediately (at least
not by me, other developers may do it :)
--
Changes by Éric Araujo mer...@netwok.org:
--
title: pydoc help (or help('help')) claims to run a help utility; does nothing
- pydoc help (or help('help')) should show the doc for help
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset f715c4a5a107 by Antoine Pitrou in branch '3.2':
Issue #13589: Fix some serialization primitives in the aifc module.
http://hg.python.org/cpython/rev/f715c4a5a107
New changeset b039965b0066 by Antoine Pitrou in
Éric Araujo mer...@netwok.org added the comment:
I think this discussion would be more useful on the python-ideas mailing list.
The request (adding map to sequences) will probably be rejected*, but you have
a good chance to get an explanation for this design choice by Guido van Rossum
or one
Antoine Pitrou pit...@free.fr added the comment:
I've finally committed the patch, thank you!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Websites that Python devs can work on are updated, now the request should go to
the pydotorg mailing list or webmaster email address.
--
nosy: +eric.araujo
resolution: - fixed
stage: needs patch - committed/rejected
status: open -
Changes by Antoine Pitrou pit...@free.fr:
--
dependencies: +Audioop decompression frames size check fix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13681
___
Éric Araujo mer...@netwok.org added the comment:
#13712 contains a patch for test_packaging.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13703
___
Éric Araujo mer...@netwok.org added the comment:
OK.
from distutils.spawn import spawn
from distutils import log
from distutils.errors import DistutilsByteCompileError
+import platform
Please put that import higher up (with the other “import X”, before the “from X
import Y”).
+
Éric Araujo mer...@netwok.org added the comment:
(3.1 doesn’t get non-security bug fixes either)
--
versions: -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6727
___
Éric Araujo mer...@netwok.org added the comment:
I think documentation sources is a bit vague.
I don’t know. I probably wrote it under the assumption that the audience of
this doc was developers, who already know that programmers don’t write HTML
manually but generate it, and just need to
STINNER Victor victor.stin...@haypocalc.com added the comment:
#13712 contains a patch for test_packaging.
It doesn't look related to randomized hash function. random-8.patch
contains a fix to test_packaging.
--
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
Well, you should just replace these calls with audioop_check_size() instead.
Apparently the checks were blindly added in issue7673.
By the way, I'm surprised audioop accepts unicode strings... :/
--
nosy: +haypo, pitrou
versions:
Éric Araujo mer...@netwok.org added the comment:
#13712 contains a patch for test_packaging.
It doesn't look related to randomized hash function.
Trust me. (If you read the whole report you’ll see why it looks unrelated:
instead of sorting things like your patch does mine addresses a more
Éric Araujo mer...@netwok.org added the comment:
I don’t understand why some two-liners are allowed (like class X:\n pass).
The doc says “a single interactive statement”.
--
___
Python tracker rep...@bugs.python.org
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
co_freevars and co_cellvars are the last arguments of the function. Your
co_what2.py version of the script is correct, but co_what.py has a
different order.
--
nosy: +amaury.forgeotdarc
resolution: - invalid
status: open -
Éric Araujo mer...@netwok.org added the comment:
Here are patches for CPython and the d2 repo. There is no doc update as the
setupscript page still talks about setup.py and the setupcfg spec does not
mention package_data at all (the negationists resources-promoters at work :),
so this can
Changes by Éric Araujo mer...@netwok.org:
--
keywords: +patch
Added file:
http://bugs.python.org/file24265/fix-package_data-multivalue-cpy33.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11805
Changes by Éric Araujo mer...@netwok.org:
Added file: http://bugs.python.org/file24266/fix-package_data-multivalue-d2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11805
___
Éric Araujo mer...@netwok.org added the comment:
Note that my proposed syntax does not allow something equivalent to {'':
[etc.]} in distutils, i.e. package data for top-level modules. I think this is
okay: modules should not install data in their installation dir. I don’t think
it was
Chris Jones ch...@chrisejones.com added the comment:
You can work around this issue by using:
python.exe -c import nose; nose.main()
instead of nosetests
Note that nose.main() with no args parses sys.argv
--
nosy: +Chris.Jones
___
Python tracker
Georg Brandl ge...@python.org added the comment:
Once you start contributing anything useful, I will start treating it as such.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13695
___
Meador Inge mead...@gmail.com added the comment:
On Tue, Jan 17, 2012 at 10:56 AM, Éric Araujo rep...@bugs.python.org wrote:
I don’t understand why some two-liners are allowed (like class X:\n pass).
The doc says “a single interactive statement”.
Because a single statement can be multiple
Georg Brandl ge...@python.org added the comment:
Because a class statement is one statement (it is a compound statement, but
still just one). The docs don't talk about lines :)
A single interactive statement is what you can enter at the interactive
prompt in one line, or more than one line
Daniel Stutzbach stutzb...@google.com added the comment:
If I'm understanding Martin Häcker's code correctly, the list comprehension
equivalent is:
self.questions = [topic.questions for topic in self.topics]
The reduce() variants are not only much harder to read, but they will take
O(n**2)
Jim Jewett jimjjew...@gmail.com added the comment:
To be more explicit about Martin A. Lemburg's msg151121 (which I agree with):
Count the collisions on a single lookup.
If they exceed a threshhold, do something different.
Martin's strawman proposal was threshhold=1000, and raise. It would
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Ping. Windows buildbots are still failing with MemoryError because of this
preset=9.
The patch looks good to me as well.
--
nosy: +amaury.forgeotdarc
___
Python tracker
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 463acb73fd79 by Amaury Forgeot d'Arc in branch 'default':
Issue #13727: Add 3 macros to access PyDateTime_Delta members:
http://hg.python.org/cpython/rev/463acb73fd79
--
nosy: +python-dev
Changes by Amaury Forgeot d'Arc amaur...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13727
___
Mahmoud Hashemi mak...@gmail.com added the comment:
Yes, I knew it was an issue with crossed wires somewhere. The Python 2 code
doesn't translate well to Python 3 because the function signature changed to
add kwargonlycount. And I guess the argument order is substantially different,
too, as
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
faq.rst: correct url is http://mail.python.org/mailman/listinfo/tutor
--
components: Devguide
messages: 151488
nosy: ezio.melotti, tshepang
priority: normal
severity: normal
status: open
title: url for Tutor mailing list is
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 471f70b0b6b0 by Ezio Melotti in branch 'default':
#13808: fix a link and specify the IRC server.
http://hg.python.org/devguide/rev/471f70b0b6b0
--
nosy: +python-dev
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed, thanks for the report!
--
assignee: - ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
___
Python tracker rep...@bugs.python.org
New submission from Amaury Forgeot d'Arc amaur...@gmail.com:
In bz2.py, import threading prevents the bz2 module from working when threads
are not enabled. The attached patch removes the limitation and provides a fake
lock object.
I don't know if this should be backported to 3.2.
--
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +nadeem.vawda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13809
___
___
Python-bugs-list
Georg Brandl ge...@python.org added the comment:
Isn't there already a dummy lock in dummy_threading?
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13809
___
Nadeem Vawda nadeem.va...@gmail.com added the comment:
As Georg suggested, it would be better to use dummy_threading.RLock,
rather than providing our own implementation.
The test in the patch fails when I try to run it on a no-thread build.
support.import_fresh_module seems to treat the absence
Antoine Pitrou pit...@free.fr added the comment:
Hmm something else: currently the atexit funcs are only called when the main
interpreter exits, but that doesn't really make sense: if I register a function
from a sub-interpreter, why would it execute correctly from another
interpreter? All
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset eb47af6e9e22 by Antoine Pitrou in branch '3.2':
Test running of code in a sub-interpreter
http://hg.python.org/cpython/rev/eb47af6e9e22
New changeset a108818aaa0d by Antoine Pitrou in branch 'default':
Test running
Antoine Pitrou pit...@free.fr added the comment:
Here is a patch for subinterp-wise atexit functions.
(I haven't got any specific test for the crash but the patch adds a test and it
works)
--
keywords: +patch
stage: - patch review
Added file:
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2fb93282887a by Nadeem Vawda in branch 'default':
Issue #13809: Make bz2 module work with threads disabled.
http://hg.python.org/cpython/rev/2fb93282887a
--
nosy: +python-dev
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Fix committed. For the test, it turns out we can get the desired behavior
by telling import_fresh_module to block the threading module directly,
instead of blocking _thread.
--
resolution: - fixed
stage: patch review -
1 - 100 of 125 matches
Mail list logo