On Sat, 11 May 2013 01:16:36 +1000, Chris Angelico wrote:
On Sat, May 11, 2013 at 1:06 AM, jmfauth wxjmfa...@gmail.com wrote:
On 8 mai, 15:19, Roy Smith r...@panix.com wrote:
Apropos to any of the myriad unicode threads that have been going on
recently:
http://xkcd.com/1209/
--
On Fri, 10 May 2013 17:59:26 +0100, Nobody wrote:
On Thu, 09 May 2013 05:23:59 +, Steven D'Aprano wrote:
There is no sensible use-case for creating a file without opening it.
What would be the point? Any subsequent calls to just about any method
will fail. Since you have to open the
On Fri, 10 May 2013 18:20:34 +0100, Robert Kern wrote:
According to Steven's criteria, neither of these are instances of the
anti-pattern because there are good reasons they are this way. He is
reducing the anti-pattern to just those cases where there is no reason
for doing so.
But isn't
On 2013.05.08 18:37, Dennis Lee Bieber wrote:
And now you've seen why music players don't show the user the
physical file name, but maintain a database mapping the internal data
(name, artist, track#, album, etc.) to whatever mangled name was needed
to satisfy the file system.
Tags are
On Thu, 9 May 2013 11:33:45 -0600
Ian Kelly ian.g.ke...@gmail.com wrote:
about Turing machines and lambda calculus that you've injected into
the conversation though just reminds me of the Einstein was wrong
cranks.
But Einstein *was* wrong. http://www.xkcd.com/1206/
--
D'Arcy J.M. Cain
In the old days, it was useful to have fine-grained control over the
file object because you didn't know where it might fail, and the OS
didn't necessarily give you give good status codes. So being able to
step through the entire process was the job of the progammers.
I don't know what you
...The field needs re-invented and re-centered.[...]
For anyone who want to be involved. See the wikiwikiweb -- a tool
that every programmer should know and use -- and these pages:
ComputerScienceVersionTwo and ObjectOrientedRefactored.
Cheers!
--
MarkJ
Tacoma, Washington
--
On Sat, May 11, 2013 at 2:07 AM, rusi rustompm...@gmail.com wrote:
On May 10, 8:32 pm, Chris Angelico ros...@gmail.com wrote:
On Sat, May 11, 2013 at 1:24 AM, Ned Batchelder n...@nedbatchelder.com
wrote:
On 5/10/2013 11:06 AM, jmfauth wrote:
On 8 mai, 15:19, Roy Smith r...@panix.com
On Thu, May 9, 2013 at 1:08 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
I suspect that the only way to be completely ungoogleable would be to
name yourself something common, not something obscure. Say, if you called
yourself Hard Rock Band, and did hard rock. But then,
Steven, don't be misled. POSIX is not the model to look to -- it does
not acknowledge that files are actual objects that reside on a piece
of hardware. It is not simply an integer.
Please disregard this (my own) flame bait.
--
MarkJ
Tacoma, Washington
--
On Thu, May 9, 2013 at 9:30 PM, Jussi Piitulainen
jpiit...@ling.helsinki.fi wrote:
8 Dihedral writes:
This is just the handy style for a non-critical loop.
In a critical loop, the number of the total operation counts
does matter in the execution speed.
Do you use speed often?
Dihedral
On Fri, May 10, 2013 at 3:33 AM, Ian Kelly ian.g.ke...@gmail.com wrote:
All this irrelevant nonsense
about Turing machines and lambda calculus that you've injected into
the conversation though just reminds me of the Einstein was wrong
cranks.
http://xkcd.com/1206/
ChrisA
--
On 10/05/2013 17:25, Chris Angelico wrote:
On Sat, May 11, 2013 at 2:07 AM, rusi rustompm...@gmail.com wrote:
On May 10, 8:32 pm, Chris Angelico ros...@gmail.com wrote:
On Sat, May 11, 2013 at 1:24 AM, Ned Batchelder n...@nedbatchelder.com wrote:
On 5/10/2013 11:06 AM, jmfauth wrote:
On 8
On Sat, May 11, 2013 at 10:40 PM, Mark Lawrence breamore...@yahoo.co.uk wrote:
This simply shows bias to the English speaking world, as does Python
unicode, at least in 3.3+. I wouldn't mind betting that other languages
can't cope, e.g. can 3.3+ manage the top secret joke that's so deadly even
In article 518df898$0$29997$c3e8da3$54964...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
I never intended to give the impression that *any* use of a separate
enable method call was bad. I certainly didn't intend to be bogged
down into a long discussion
* Serhiy Storchaka wrote:
Another example is running a subprocess in Unix-like systems.
fork()
open/close file descriptors, set limits, etc
exec*()
For running a subprocess, only fork() is needed. For starting another
executable, only exec() is needed. For running the new
Chris Angelico ros...@gmail.com writes:
On Thu, May 9, 2013 at 9:30 PM, Jussi Piitulainen
jpiit...@ling.helsinki.fi wrote:
8 Dihedral writes:
This is just the handy style for a non-critical loop.
In a critical loop, the number of the total operation counts
does matter in the execution
On Sun, May 12, 2013 at 1:47 AM, Anssi Saari a...@sci.fi wrote:
Chris Angelico ros...@gmail.com writes:
On Thu, May 9, 2013 at 9:30 PM, Jussi Piitulainen
jpiit...@ling.helsinki.fi wrote:
8 Dihedral writes:
This is just the handy style for a non-critical loop.
In a critical loop, the
On Sun, May 12, 2013 at 1:33 AM, André Malo ndpar...@gmail.com wrote:
* Serhiy Storchaka wrote:
Another example is running a subprocess in Unix-like systems.
fork()
open/close file descriptors, set limits, etc
exec*()
For running a subprocess, only fork() is needed. For
Hi,
Maybe you already fixed the issue, but for the record, I've got the same
problem and finally it turned out that I was calling PyEval_InitThreads twice
and also after fixing that, I also had to move the call to
PyEval_ReleaseLock(); at the end of the entire initialization (not just after
On 2013-05-11 08:51, Steven D'Aprano wrote:
On Fri, 10 May 2013 18:20:34 +0100, Robert Kern wrote:
According to Steven's criteria, neither of these are instances of the
anti-pattern because there are good reasons they are this way. He is
reducing the anti-pattern to just those cases where
Hi,
this could be seen as an extravagant subject but that is not my original
purpose. I still don't know if I want to become a programmer or not. At
this moment I'm just inspecting the environment. I'm making my way to
Python (and OOP in general) from a philosophical perspective or point of
view
Just clarify there's no problem about calling twice to PyEval_InitThreads ()
as indicated by Python's doc.
Hi,
Maybe you already fixed the issue, but for the record, I've got the same
problem and finally it turned out that I was calling PyEval_InitThreads twice
and also after fixing
On Sat, May 11, 2013 at 1:03 PM, Citizen Kant citizenk...@gmail.com wrote:
[...] the starting question I make to myself about Python is: which is the
single
and most basic use of Python as the entity it is? I mean, beside
programming, what's the single and most basic result one can expect from
On 11 May 2013 21:07, Citizen Kant citizenk...@gmail.com wrote:
Hi,
this could be seen as an extravagant subject but that is not my original
purpose. I still don't know if I want to become a programmer or not. At
this moment I'm just inspecting the environment. I'm making my way to
Python (and
On 12 May, 06:10, Mark Janssen dreamingforw...@gmail.com wrote:
Wow. You must be from another planet. Find Socrates if you wish to
know these things. He's from there also.
Now now, there's no need for a turf war, there's plenty of room on
this list for crazies.
--
Alex Norton ayjayn1...@gmail.com wrote:
On Wednesday, 1 May 2013 13:15:28 UTC+1, Jens Thoms Toerring wrote:
Of course, it might be nicer to have a result label some-
where in the graphical interface which you set to the text
instead of printing it out to the console. And you also will
On 10 May, 13:07, Chris Angelico ros...@gmail.com wrote:
Now, whether or not it's worth _debating_ the expressiveness of a
language... well, that's another point entirely. But for your major
project, I think you'll do better working in Python than in machine
code.
I wasn't disagreeing with
On Sun, May 12, 2013 at 5:55 AM, Robert Kern robert.k...@gmail.com wrote:
Another example of temporal coupling is json_decode in PHP: you must
follow it by a call to json_last_error, otherwise you have no way of
telling whether the json_decode function succeeded or not.
On Sun, May 12, 2013 at 5:32 AM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
On Fri, 10 May 2013 14:33:52 +1000, Chris Angelico ros...@gmail.com
declaimed the following in gmane.comp.python.general:
I don't answer to them. I also believe in a path of endless
exponential growth. Challenge:
I'm afraid I'm having some trouble with the module. I've checked it into
my SVN at http://stromberg.dnsalias.org/svn/red-black-tree-mod/trunk/duncan
I have two versions of your tests in there now - t is minimally changed,
and test-red_black_tree_mod is pretty restructured to facilitate adding
Dennis Lee Bieber wrote:
I also believe in a path of endless
exponential growth. Challenge: Create more information than can be
stored in one teaspoon of matter. Go ahead. Try!
If that's your argument, then you don't really believe
in *endless* exponential growth. You only believe in
Chris Angelico wrote:
On Sun, May 12, 2013 at 5:32 AM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
The coordinates of each particle storing the information in that
teaspoon of matter.
Which is probably more data than any of us will keyboard in a
lifetime. Hence my point.
My 1TB
On Sun, May 12, 2013 at 10:50 AM, Gregory Ewing
greg.ew...@canterbury.ac.nz wrote:
Dennis Lee Bieber wrote:
I also believe in a path of endless
exponential growth. Challenge: Create more information than can be
stored in one teaspoon of matter. Go ahead. Try!
If that's your argument, then
On Sun, May 12, 2013 at 11:02 AM, Gregory Ewing
greg.ew...@canterbury.ac.nz wrote:
Chris Angelico wrote:
On Sun, May 12, 2013 at 5:32 AM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
The coordinates of each particle storing the information in that
teaspoon of matter.
Which is
On Sat, May 11, 2013 at 4:24 PM, Dan Stromberg drsali...@gmail.com wrote:
I'm afraid I'm having some trouble with the module. I've checked it into
my SVN at
http://stromberg.dnsalias.org/svn/red-black-tree-mod/trunk/duncan
I have two versions of your tests in there now - t is minimally
Citizen Kant wrote:
I roughly came to the idea that Python could be
considered as an *economic mirror for data*, one that mainly *mirrors*
the data the programmer types on its black surface, not exactly as the
programmer originally typed it, but expressed in the most economic way
possible.
On 12/05/13 00:24, Dan Stromberg wrote:
I'm afraid I'm having some trouble with the module. I've checked it
into my SVN at
http://stromberg.dnsalias.org/svn/red-black-tree-mod/trunk/duncan
I have two versions of your tests in there now - t is minimally
changed, and test-red_black_tree_mod is
On 12/05/13 02:29, Dan Stromberg wrote:
On Sat, May 11, 2013 at 4:24 PM, Dan Stromberg drsali...@gmail.com
mailto:drsali...@gmail.com wrote:
I'm afraid I'm having some trouble with the module. I've checked it
into my SVN at
Chris Angelico於 2013年5月12日星期日UTC+8上午12時00分44秒寫道:
On Sun, May 12, 2013 at 1:47 AM, Anssi Saari a...@sci.fi wrote:
Chris Angelico ros...@gmail.com writes:
On Thu, May 9, 2013 at 9:30 PM, Jussi Piitulainen
jpiit...@ling.helsinki.fi wrote:
8 Dihedral writes:
This is
On Sun, May 12, 2013 at 12:29 PM, 8 Dihedral
dihedral88...@googlemail.com wrote:
Chris Angelico於 2013年5月12日星期日UTC+8上午12時00分44秒寫道:
Most humans would get defensive, or at
least protest, if treated as bots; Dihedral never has, despite being
referred to in this way a number of times.
ChrisA
On 5/11/2013 4:03 PM, Citizen Kant wrote:
Hi,
this could be seen as an extravagant subject but that is not my
original purpose. I still don't know if I want to become a programmer
or not. At this moment I'm just inspecting the environment. I'm making
my way to Python (and OOP in general)
On Sat, May 11, 2013 at 4:03 PM, Citizen Kant citizenk...@gmail.com wrote:
Hi,
this could be seen as an extravagant subject but that is not my original
purpose. I still don't know if I want to become a programmer or not.
My guess is that you don't want to be a programmer. Otherwise you
On May 12, 3:16 am, alex23 wuwe...@gmail.com wrote:
On 12 May, 06:10, Mark Janssen dreamingforw...@gmail.com wrote:
Wow. You must be from another planet. Find Socrates if you wish to
know these things. He's from there also.
Now now, there's no need for a turf war, there's plenty of room
On Sun, May 12, 2013 at 2:22 PM, rusi rustompm...@gmail.com wrote:
On May 12, 3:16 am, alex23 wuwe...@gmail.com wrote:
On 12 May, 06:10, Mark Janssen dreamingforw...@gmail.com wrote:
Wow. You must be from another planet. Find Socrates if you wish to
know these things. He's from there
On May 12, 9:22 am, rusi rustompm...@gmail.com wrote:
On May 12, 3:16 am, alex23 wuwe...@gmail.com wrote:
On 12 May, 06:10, Mark Janssen dreamingforw...@gmail.com wrote:
Wow. You must be from another planet. Find Socrates if you wish to
know these things. He's from there also.
Now
On Sat, 11 May 2013 21:45:12 -0700, rusi wrote:
I have on occasion expressed that newcomers to this list should be
treated with more gentleness than others. And since my own joking may be
taken amiss, let me hasten to add (to the OP -- Citizen Kant)
A noble aim, but I have a feeling that
Changes by Phil Connell pconn...@gmail.com:
--
nosy: +pconnell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17908
___
___
Python-bugs-list
Raymond Hettinger added the comment:
Thanks Tim :-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17930
___
___
Python-bugs-list mailing list
Raymond Hettinger added the comment:
It can be closed now.
Thanks for the reminder.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17920
___
Glenn Linderman added the comment:
OK, I've been running with the new code most the day, and it seems functional
in my testing.
I only sort of follow your discussion about the custom action class caveat,
probably because I haven't used custom action classes... I tried once, but
failed to
New submission from Tshepang Lekhonkhobe:
2nd paragraph of http://docs.python.org/devguide/setup#editors-and-tools does
not look accurate. It implies that there would be some mention of text editor
in the given link, but I could not find it.
--
components: Devguide
messages: 188900
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
title: setup#editors-and-tools - editors-and-tools section of devguide does
not appear to be ccurate
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17952
New submission from ProgVal:
In Python 3.3 (I did not test with 3.4), sys.modules cannot be reassigned
without breaking the import mechanism; while it works with Python = 3.2.
Here is how to reproduce the bug:
progval@Andromede:/tmp$ mkdir test_imports
progval@Andromede:/tmp$ echo from .
Yogesh Chaudhari added the comment:
Removed the duplicated code from argparse.py
--
keywords: +patch
nosy: +Yogesh.Chaudhari
Added file: http://bugs.python.org/file30214/issue17940.patch
___
Python tracker rep...@bugs.python.org
Yogesh Chaudhari added the comment:
Remove extra code in argparse.py for 2.7 branch
--
hgrepos: +190
Added file: http://bugs.python.org/file30215/issue17940-27.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17940
Yogesh Chaudhari added the comment:
I have added a patch for default branch as well, because IMO the same issue
exists in all branches
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17940
Changes by Stefan Mihaila mstefa...@gmail.com:
Added file: http://bugs.python.org/file30216/d0c3a8d4947a.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15642
___
Yogesh Chaudhari added the comment:
Based on the conversation and the particular inputs to the thread form neologix
and ezio, I would like to submit this patch.
It probably needs modification(s) as I am not sure what to do with the
implementation that is already present in multiprocessing.
Charles-François Natali added the comment:
Based on the conversation and the particular inputs to the thread form
neologix and ezio, I would like to submit this patch.
It probably needs modification(s) as I am not sure what to do with the
implementation that is already present in
Ned Batchelder added the comment:
A few small points:
Use `num is None` instead of `num == None`.
Use `isinstance(cpus, int)` rather than `type(cpus) is int`.
And this I think will throw an exception in Python 3: `cpus = 1 or cpus ==
None`, because you can't compare None to 1.
--
Gregory HOULDSWORTH added the comment:
Noted: I assumed 'works for me' meant user approval of proposed fix,
pending 'official' sanction.
Didn't catch the BNF-like syntax for issue linking, hence the literal
's in my original post.
Thank you for clarifying those.
--
Serhiy Storchaka added the comment:
I think the idiom `os.cpu_count() or 1` should be mentioned in the
documentation an officially recommended. Otherwise people will produce a
non-portable code which works on their developer's computers but not on exotic
platforms.
I have added some other
Antoine Pitrou added the comment:
I agree with Charles-François. An approach using C library functions is far
superior to launching external commands.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17914
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: -serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11406
___
___
Charles-François Natali added the comment:
I think the idiom `os.cpu_count() or 1` should be mentioned in the
documentation an officially recommended. Otherwise people will produce a
non-portable code which works on their developer's computers but not on
exotic platforms.
And I maintain
Antoine Pitrou added the comment:
And I maintain it's an ugly idiom ;-)
Since the user can't do anything except falling back to 1,
os.cpu_count() should always return a positive number (1 by default).
The user can also raise an error. For example, if I'm writing a
benchmark to measure
Antoine Pitrou added the comment:
There are more places where including locale.h is guarded by HAVE_LANGINFO_H.
Also, there are places where including locale.h isn't guarded by anything (such
as Python/formatter_unicode.c), so I don't think we need the new configure
check.
--
nosy:
Changes by Christian Heimes li...@cheimes.de:
--
assignee: - brett.cannon
keywords: +3.3regression
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17953
___
Antoine Pitrou added the comment:
I wouldn't call it a bug personally. The modules dictionary is used in all
kinds of places in the interpreter; you can change the dictionary's contents,
but not swap it with another one.
It's just a pity that we can't forbid reassignment altogether.
Serhiy Storchaka added the comment:
PyASCIIObject is allocated on heap and should have a maximal alignment enough
for every type. If sizeof(PyASCIIObject) % SIZEOF_LONG == 0 then dest is at
least long-aligned. Currently sizeof(PyASCIIObject) is 22 on m68k and the
optimization is switched off
Antoine Pitrou added the comment:
PyASCIIObject is allocated on heap and should have a maximal alignment
enough for every type. If sizeof(PyASCIIObject) % SIZEOF_LONG == 0
then dest is at least long-aligned. Currently sizeof(PyASCIIObject) is
22 on m68k and the optimization is switched off
mirabilos added the comment:
Right, keeping it simple helps in preventing accidents, and the code block
looks full of magic enough as-is.
Maybe add a comment block that says:
/*
* m68k is a bit different from most architectures in that objects
* do not use natural alignment - for example,
Serhiy Storchaka added the comment:
Since the user can't do anything except falling back to 1,
os.cpu_count() should always return a positive number (1 by default).
In general I agree with you. Actually the os module should contains two
functions: cpu_count() which fallbacks to 1 and
Serhiy Storchaka added the comment:
Well, then already too much bikeshedding for such simple fix. Antoine, do you
want to commit a fix?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17237
New submission from Nick Coghlan:
Guido chose to follow Java in enforcing the invariant Enum members are
instances of that Enum for PEP 435 (i.e. assert (all(isinstance(x, SomeEnum)
for x in SomeEnum)). As a consequence, the Enum metaclass prevents subclassing
of Enums with defined members.
Changes by Nick Coghlan ncogh...@gmail.com:
--
dependencies: +Code, test, and doc review for PEP-0435 Enum
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17954
___
Nick Coghlan added the comment:
The accepted PEP states that the frame hack should be removed: To support
pickling of these enums, the module name can be specified using the module
keyword-only argument.
Ergo, if you don't specify it, they cannot be pickled. Explicit is better than
implicit,
Roundup Robot added the comment:
New changeset 0f8022ac88ad by Antoine Pitrou in branch '3.3':
Issue #17237: Fix crash in the ASCII decoder on m68k.
http://hg.python.org/cpython/rev/0f8022ac88ad
New changeset 201ae2d02328 by Antoine Pitrou in branch 'default':
Issue #17237: Fix crash in the
Changes by Ramchandra Apte maniandra...@gmail.com:
--
title: editors-and-tools section of devguide does not appear to be ccurate -
editors-and-tools section of devguide does not appear to be accurate
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
Ok, I hope I got the fix right :) Thanks mirabilos for the comment suggestion,
I used a modified version.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker
Kristján Valur Jónsson added the comment:
It turned out to be slightly more compilcated. Two additions make this
complete:
1) check for the subtype OR the Py_None when removing subclass. This removes
any dependency on the order in which weakrefs are cleared.
2) When the type is cleared,
mirabilos added the comment:
Thanks Antoine!
Now, for “finishing up” this… to follow up on Stefan’s comment… is there any
way I can run the testsuite from an installed Python (from the Debian
packages)? (I build the packages with disabled testsuite, to get the rest of
the system running
Antoine Pitrou added the comment:
Now, for “finishing up” this… to follow up on Stefan’s comment… is
there any way I can run the testsuite from an installed Python (from
the Debian packages)?
python -m test (with any options you might like), but we don't
guarantee that all tests pass on an
mirabilos added the comment:
Antoine Pitrou dixit:
python -m test (with any options you might like), but we don't
No, I tried that (as it was the only thing I could find on the
’net as well) on an i386 system and only get:
tglase@tglase:~ $ python2.7 -m test
/usr/bin/python2.7: No module
Antoine Pitrou added the comment:
python -m test (with any options you might like), but we don't
No, I tried that (as it was the only thing I could find on the
’net as well) on an i386 system and only get:
Ah, that's because the system Python install doesn't include the test
suite. Perhaps
Changes by Brian Curtin br...@python.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11406
___
___
Python-bugs-list
mirabilos added the comment:
Antoine Pitrou dixit:
(note, on 2.7, it's python -m test.regrtest)
That indeed does things. So I had mistaken them for the same problem.
Ah, that's because the system Python install doesn't include the test
suite. Perhaps you have to install an additional package,
Antoine Pitrou added the comment:
Oh well, then it’ll just have to wait. Do you have a preferred
place where I can submit the test results, as it’s getting
very off-topic here?
Well, if everything works fine, you don't have to submit them!
If you get test failures, you can open issues for
New submission from A.M. Kuchling:
I read through the 3.x Functional HOWTO, and it only seems to require a few
minor updates. The attached patch:
* adds a forward link to skip the theoretical discussion in the first section.
* remove stray extra comma
* clarify what filterfalse() is the
Guilherme Polo added the comment:
If someone decides to commit this, please check that the name of the widget
in Tcl is always adequate.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17945
Guido van Rossum added the comment:
Sorry everyone, the frame hack needs to stay. This is not negotiable.
--
nosy: +gvanrossum
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17947
___
Yogesh Chaudhari added the comment:
Appreciate everyone's feedback. I have modified the patch based on further
messages in the thread.
@Neologix
modified posixmodule according to one in Trent's branch and used that for
cpu_count(). Kindly suggest improvements/changes if any.
@Ned:
Thanks for
New submission from Charles-François Natali:
Here's an implementation of a new ScheduledExecutor abstract class, with a
concrete ScheduledThreadPoolExecutor implementation (see #995907).
The aim is to provide a flexible, efficient and consistent framework for
delayed and periodic tasks,
Charles-François Natali added the comment:
OK, I just created #17956 for ScheduledExecutor, closing this one.
--
resolution: - duplicate
stage: test needed - committed/rejected
status: open - closed
superseder: - add ScheduledExecutor
___
Python
Roundup Robot added the comment:
New changeset 9d50af4c482f by Benjamin Peterson in branch '2.7':
-Wformat is needed by gcc 4.8 (closes #17547)
http://hg.python.org/cpython/rev/9d50af4c482f
New changeset 94a7475d3a5f by Benjamin Peterson in branch '3.3':
-Wformat is needed by gcc 4.8 (closes
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +bquinlan, gvanrossum
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17956
___
___
Benjamin Peterson added the comment:
We really ought to just scrap that configure test.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17547
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17955
___
___
Antoine Pitrou added the comment:
I was asked what this patch did exactly: it simply calls the garbage collector
one last time after sys.modules has been cleared. I don't know it it makes much
of a difference, but it may limit the amount of leaking when doing successive
1 - 100 of 145 matches
Mail list logo