, ... ?
from __past__ import python2
Grüße,
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
unittest.py from SVN revision 41775.
Included with the patch are before and after versions of my
subclass showing the impact of the change to unittest.TestCase.
Thanks,
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
,
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
that a failure is not a regression, and is pro-
bably not caused by something that the developer just did.
When I've implemented this kind of thing in the past, I've generally
called the decorator/marker/whatever TODO (or some variation of
caps/lowercase).
/bikeshed
Thanks,
Collin Winter
by taking the list comprehension examples in
Lib/test/test_grammar.py and running them in a loop a few thousand
times. Python revision 42780 took 1.69 seconds to run the examples
1 times; the updated version takes 1.41 seconds.
Thanks,
Collin Winter
, or if
Guido is strongly set against it being in the code, we should at least put
it in the documentation as an example of how to use 'shift_path_info()' in
wsgiref.util.
Perhaps this could go in Demo/wsgiref/?
Collin Winter
___
Python-Dev mailing list
Hye-Shik Chang as the maintainer.
I'd very much like to see functional renamed to functools, and I've
cooked up the necessary changes to handle the move (SF #1478788).
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
On 6/4/06, Guido van Rossum [EMAIL PROTECTED] wrote:
On 6/3/06, Georg Brandl [EMAIL PROTECTED] wrote:
Collin Winter wrote:
Idea: what if Python's -O option caused PySequence_Contains() to
convert all errors into False return values?
It would certainly give me an uneasy feeling
generally stay out of
bug-fix point releases, xturtle doesn't seem to rise to that level
(and hence, those restrictions).
Thanks,
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
,
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
On 7/27/06, Martin v. Löwis [EMAIL PROTECTED] wrote:
Collin Winter wrote:
Is it intentional that Python 2.5 is (currently) shipping with
distutils 2.4.0, while Python 2.4 (at least 2.4.1, 2.4.2 and 2.4.3)
shipped with distutils 2.4.1? Judging from my own tests, distutils
2.4.1 fixed
takes priority: is the
classmethod a test method within a test case class or is it a
callable? The same issue applies to staticmethods as well.
Once I get answers to these questions, I can finish off the last few
bits of the test suite and have it ready for 2.5-final.
Thanks,
Collin Winter
- __exit__
is allowed to assume that it will only be called if __enter__ succeeded,
because that is part of the semantics of the with statement.
I can accept that.
Any thoughts on the other four items?
Collin Winter
___
Python-Dev mailing list
Python-Dev
the False
spelling.
Thanks,
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
burden.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
, allusions to MATLAB and assembly indirection
syntax not withstanding.
Ignoring the syntax, I'm -1 on the 2-argument form, especially since
it can only be used in an expression context; getattr() can be kept
around for this.
I'm +0 on the idea, -1 on the means.
Collin Winter
. That's
just begging for trouble.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
statement.
Thoughts?
Thanks,
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
attrview(), -1 on the syntax proposal.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
is a sequence of statements.
Thanks,
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
On 2/14/07, Martin v. Löwis [EMAIL PROTECTED] wrote:
Collin Winter schrieb:
2) It turned out that {BinOp, BoolOp,AugAssign,etc}.op were already
singleton instances of their respective classes. I've changed
asdl_c.py to no longer emit the *_singleton names and to use the
corresponding
On 2/16/07, Brett Cannon [EMAIL PROTECTED] wrote:
On 2/16/07, Collin Winter [EMAIL PROTECTED] wrote:
On 2/14/07, Martin v. Löwis [EMAIL PROTECTED] wrote:
Collin Winter schrieb:
What's inconsistent about it? That classes are being used for the
_ast.{Add,Sub,Mult,etc} names
On 2/17/07, Martin v. Löwis [EMAIL PROTECTED] wrote:
Collin Winter schrieb:
But Pass, Break, Continue and Ellipsis aren't in the same category as
Add, Mult, Div, etc.. The former stand alone
That's not true. Pass, Break, Continue don't stand alone; they are
members of the body sequence
will be able to convert 90% of Python 2.x
automatically and offer a solid, step-by-step plan for manually
recoding the remaining 10%.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe
to the exception.
If attaching the traceback to the exception is bothering you, you
should take a look at the other attributes PEP 344 introduces:
__cause__ and __context__. I'd say what needs another look is the idea
of pre-creating a single exception instance and repeatedly raising it.
Collin Winter
and __context__ attributes.
Do those who oppose __traceback__ also oppose __cause__ and
__context__? Should PEP 344 be rejected on these grounds, or should we
just learn not to pre-instance exceptions if we're interested in these
attributes?
Collin Winter
frustrated because they
can't handle their patches well enough with the current tools?
[snip]
Plus it's just handy sometimes to be able to do commits when you lack
network access.
Seconded. I don't know how much it impacts new developers, but I know
I get frustrated because of this.
Collin Winter
also be helpful to have some loose guidelines/requirements
for how to become a module maintainer (e.g., we're looking for the
following traits...).
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python
Hi,
Could I be granted rights to the SF tracker? I'm going through and
reviewing some older patches, and I'd like to be able to close
invalid/rejected patches (eg, 1492509) and upload changed patches.
My SF username is collinwinter.
Thanks,
Collin Winter
On 3/7/07, Raymond Hettinger [EMAIL PROTECTED] wrote:
[Collin Winter]
I don't suppose you've changed your mind about removing operator.truth
and operator.abs in the seven months since this discussion?
[GvR]
No, though I think that operator.truth should be renamed to operator.bool.
I
tests to fail, we don't have to wait until
the end of the test run to find out.
Thoughts?
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman
On 3/8/07, Brett Cannon [EMAIL PROTECTED] wrote:
On 3/8/07, Collin Winter [EMAIL PROTECTED] wrote:
Now that unittest has a test suite, it would seem to make sense that
it should be fairly high up in the testing order, since most of the
regression suite depends on it. I'd like to have
of action ever decided on for this issue, or was the
consensus that it would break too much code? If the latter, what about
making the change for Python 3000?
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo
. if the date and
datetime differ only in the time part then they are equal. This is
consistent but becomes confusing in other situations such as when
subtracting dates.
Any thoughts on this?
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http
)
f = open(test_support.TESTFN + 1, wb)
try:
Collin Winter
On 3/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
The Buildbot has detected a new failure of g4 osx.4 trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/g4%2520osx.4%2520trunk/builds/1814
On 3/9/07, Collin Winter [EMAIL PROTECTED] wrote:
On the subject of datetime enhancements, I came across an SF patch
(#1673403) the other day that proposed making it possible to compare
date and datetime objects. Quoting from the patch summary:
Comparing a date to a datetime currently
On 3/9/07, Steven Bethard [EMAIL PROTECTED] wrote:
On 3/9/07, Collin Winter [EMAIL PROTECTED] wrote:
One solution that just occurred to me -- and that skirts the issue of
choosing an interpretation -- is that, when comparing date and
datetime objects, the datetime's .date() method is called
On 3/9/07, Christian Heimes [EMAIL PROTECTED] wrote:
Collin Winter schrieb:
I can't say I'm well-versed in the intricacies of date/time issues,
but what you say makes sense. This is exactly why I brought this patch
up here : )
Oh h...! Seems like I've opened a can of worms here. I only
not play well, in this case, means that your base classes will
be picked up against your will if they subclass TestCase.
I like the patch and have worked up tests and doc changes for it. Any
objections to including this in 2.6?
Collin Winter
___
Python
On 3/10/07, Robert Brewer [EMAIL PROTECTED] wrote:
On 3/9/07, Collin Winter [EMAIL PROTECTED] wrote:
On the subject of datetime enhancements, I came
across an SF patch (#1673403) the other day that
proposed making it possible to compare date and
datetime objects.
One
On 3/10/07, Collin Winter [EMAIL PROTECTED] wrote:
On 3/9/07, Christian Heimes [EMAIL PROTECTED] wrote:
Collin Winter schrieb:
I can't say I'm well-versed in the intricacies of date/time issues,
but what you say makes sense. This is exactly why I brought this patch
up here : )
Oh h
On 3/10/07, Jean-Paul Calderone [EMAIL PROTECTED] wrote:
On Sat, 10 Mar 2007 09:13:28 -0600, Collin Winter [EMAIL PROTECTED] wrote:
In my continuing trawl through the SF patch tracker, I came across
#1244929 (http://python.org/sf/1244929), which causes
TestLoader.loadTestsFromModule() to skip
you want,
since datetime clearly isn't the module you want.
Anyone desperate to discuss the nuances and finer points of dates and
time algebras in Python, take it to python-ideas.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http
or short-circuits interminable bikeshedding threads; see Ben
North's exemplary work on the (ultimately rejected) PEP on dynamic
attribute access syntax from February 2007
(http://mail.python.org/pipermail/python-dev/2007-February/, search
for his name).
Collin Winter
that would seem at home in test_dict.
Before I commit this, though, I want to ask: is there a reason
test_operations is separate? I notice that it's listed in regrtest.py
in the run these tests before everything else list, which made me
think test_operations is on its own for a reason.
Collin Winter
On 3/11/07, Armin Rigo [EMAIL PROTECTED] wrote:
Hi Collin,
On Wed, Mar 07, 2007 at 11:53:45PM -0600, Collin Winter wrote:
bool() and abs() aren't syntax, so I would never look in operator.
abs() is not syntax but bool() is part of every syntactic construction
that takes a truth value
he'll hear from me if anything goes wrong with it :).
I've started work on Capabilities and Limitations sections for the
2to3 README: http://svn.python.org/view/sandbox/trunk/2to3/README?view=markup.
I intend for them to provide a comprehensive look at what 2to3 can and
can't do.
Collin Winter
once before: see bug #1628987
(http://python.org/sf/1628987). The problem (in the bug report, at
least) is that the source file changes between compilation and when
findsource() is called, and findsource() picks up the modified
version.
Collin Winter
On 3/21/07, Martin v. Löwis [EMAIL PROTECTED] wrote:
test_posixpath is failing in: test_relpath
This is due to #1339796, r54419. I left a comment in the tracker.
This is my check-in. I'll have a fix shortly.
Collin Winter
___
Python-Dev mailing
on it.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
appreciate if anyone with
stronger latex-foo could take a look.
Thanks,
Collin Winter
[1] - http://docs.python.org/dev/3.x/lib/module-atexit.html
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe
being cleaned out between test
runs.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
On 4/16/07, Raymond Hettinger [EMAIL PROTECTED] wrote:
[Collin Winter]
This should be fixed in r54844. The problem was that the availability
of the urlfetch resource wasn't being checked early enough and so
test_support.run_suite() was converting the ResourceDenied exception
=class%5Cs%2B.%2B%5C%28.*minidom%5C.btnG=Search
Whether any of those uses will break if switched to new-style class, I
can't say.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
that
incoming classes inherit as they're supposed to.
But that sounds like a lot of work: yes, but that's what we have
regexes for. Most of this work can be done with a few global
search-and-replace operations.
So: any objections to making this change?
Collin Winter
on third-party unittest code.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
solution or a migration strategy (e.g., a 2to3 fixer). Without a
clear-cut way of addressing existing code, this idea is toast.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe
about method signatures, but I
think that dictum applies equally well in this case.
Also, it's my understanding that not all Python implementations have
an easy analogue to CPython's frames; have you given any thought to
whether and how PyPy, IronPython, Jython, etc, will implement this?
Collin
/python-3000/2007-April/006811.html
More generally, you're ignoring all the proposals along the line of
let's fix the super type without making it a keyword.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
On 4/29/07, Calvin Spealman [EMAIL PROTECTED] wrote:
On 4/29/07, Collin Winter [EMAIL PROTECTED] wrote:
On 4/29/07, Calvin Spealman [EMAIL PROTECTED] wrote:
[snip]
I still wasn't really aware of any alternative suggestions that need
to be included in this.
Here are two off the top
is to remove the first and third forms from the
language, please justify their removal in your PEP, including your
proposed work-around for their use-cases.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
On 4/29/07, Calvin Spealman [EMAIL PROTECTED] wrote:
On 4/29/07, Collin Winter [EMAIL PROTECTED] wrote:
What if the instance isn't called self? PEP 3099 states that self
will not become implicit; it's talking about method signatures, but I
think that dictum applies equally well in this case
This is implemented (I'll update the PEP to reflect this). Has a
decision been made as to whether 2.6 will support both , and as in
except statements?
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo
On 5/18/07, Neal Norwitz [EMAIL PROTECTED] wrote:
On 5/18/07, Collin Winter [EMAIL PROTECTED] wrote:
SA 3110 Catching Exceptions in Python 3000 Winter
This is implemented (I'll update the PEP to reflect this). Has a
decision been made as to whether 2.6 will support both
on their dependency graph, which
could be a step toward addressing the above point.
But despite that, I think it's a cool idea and worth pursuing. Could
you set up a branch (probably of py3k) so we can see how this plays
out in the large?
Collin Winter
for unittest. If you can find a way to implement the functionality you
want *and* keep the test suite reasonably straightforward, I'll be
happy to review your patch.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
like well-formed Python and would be a
maintenance nightmare.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail
).
Have you seen http://www.python.org/dev/peps/pep-0362/? It sounds
awfully similar to what you're proposing here.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
replace it is still pretty simple.
not is makes no sense to -- and is not easily parsed by -- my
English-native mind.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
On Sat, Feb 23, 2008 at 8:06 AM, Guido van Rossum [EMAIL PROTECTED] wrote:
I don't think a -3 warning for oct or hex would do any good.
I do think map() and filter() should issue a warning under -3 when the
first arg is None. (Or does 2to3 detect this now?)
2to3 does detect that: it will
out in place).
Yep. That's something I'd eventually like to correct by adding an
interactive mode (if 2to3 is unsure about a given fix, it can ask the
user). It's on my todo list for PyCon.
Collin Winter
except X as y: in 3.0 this has different semantics -- y is explicitly
deleted at the end
have assigned 2to3 to Collin Winter (this was already implemented
as a special case), and Documentation and Sphinx to Georg Brandl.
Thanks!
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe
assignment statements in a row. I'd also like something more
expressive: the current DSL can't express recursive patterns.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
On Sun, Mar 16, 2008 at 10:17 AM, Christian Heimes [EMAIL PROTECTED] wrote:
Collin Winter wrote:
The biggest win in terms of performance would be to reimplement the
pattern matching engine used by the fixers.: it by far dominates the
running time, taking 99+% of the runtime when I ran
and git to skip
whitespace-only changes.
Just-spent-an-hour-fixing-screwed-up-indents-in-changes-to-Python/*.c-ly,
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
On Thu, Jan 29, 2009 at 6:12 AM, Ben North b...@redfrontdoor.org wrote:
Hi,
I find 'functools.partial' useful, but occasionally I'm unable to use it
because it lacks a 'from the right' version. E.g., to create a function
which splits a string on commas, you can't say
# Won't work when
haven't seen any real code presented that would benefit from
partial.skip or partial_right.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman
On Tue, Feb 3, 2009 at 11:53 AM, Antoine Pitrou solip...@pitrou.net wrote:
Collin Winter collinw at gmail.com writes:
Have any of the original objections to Calvin's patch
(http://bugs.python.org/issue1706256) been addressed? If not, I don't
see anything in these threads that justify
On Thu, Feb 19, 2009 at 7:17 PM, Stephen J. Turnbull
turnb...@sk.tsukuba.ac.jp wrote:
On Python-Ideas, Guido van Rossum writes:
On Thu, Feb 19, 2009 at 2:12 AM, Greg Ewing wrote:
Fifth draft of the PEP. Re-worded a few things slightly
to hopefully make the proposal a bit clearer up
On Thu, Feb 19, 2009 at 9:07 PM, Guido van Rossum gu...@python.org wrote:
On Thu, Feb 19, 2009 at 8:38 PM, Brett Cannon br...@python.org wrote:
On Thu, Feb 19, 2009 at 19:41, Benjamin Peterson benja...@python.org
wrote:
As we prepare to merge the io-c branch, the question has come up [1]
I'm working on some performance patches for cPickle, and one of the
bigger wins so far has been replacing the Pickler's memo dict with a
custom hashtable (and hence removing memo's getters and setters). In
looking over this, Jeffrey Yasskin commented that this would break
anyone who was accessing
On Fri, Mar 6, 2009 at 10:01 AM, Michael Haggerty mhag...@alum.mit.edu wrote:
Antoine Pitrou wrote:
Le vendredi 06 mars 2009 à 13:44 +0100, Michael Haggerty a écrit :
Antoine Pitrou wrote:
Michael Haggerty mhagger at alum.mit.edu writes:
It is easy to optimize the pickling of instances by
(AMD64, Intel(R) Core(TM)2 CPU
T7600 @ 2.33GHz).
Note that of the benchmarks tested, PyBench benefits the most from
threaded eval loop designs. Other systems benefit less; for example,
Django template benchmarks were only sped up by 7-8% when I was
testing it.
Collin Winter
2009/3/24 Daniel Stutzbach dan...@stutzbachenterprises.com:
On Tue, Mar 24, 2009 at 10:13 AM, Mark Dickinson dicki...@gmail.com wrote:
2009/3/24 Daniel Stutzbach dan...@stutzbachenterprises.com:
[...]
100 nanoseconds, py3k trunk:
ceval - PyObject_GetItem (object.c) - list_subscript
3107
explicitly avoids, and I'm not sure Unladen Swallow (or anyone else)
would want to take the plunge into coming up with broadly-acceptable
type systems for Python. That would be a bikeshed discussion of such
magnitude, you'd have to invent new colors to paint the thing.
Collin Winter
[1] - http
On Thu, Mar 26, 2009 at 11:26 PM, Alexandre Vassalotti
alexan...@peadrop.com wrote:
On Thu, Mar 26, 2009 at 11:40 PM, Collin Winter coll...@gmail.com wrote:
In fact, right now I'm adding a last few tests before putting our cPickle
patches up on the tracker for further review.
Put me
On Fri, Mar 27, 2009 at 5:50 AM, Paul Moore p.f.mo...@gmail.com wrote:
2009/3/27 Collin Winter coll...@gmail.com:
In particular, Windows support is one of those things we'll need to
address on our end. LLVM's Windows support may be spotty, or there may
be other Windows issues we inadvertently
changes (except Foo as exc)?
Sure, that's easily possible: run 2to3 -f
some_fixer,other_fixer,this_fixer,that_fixer. You can get a full list
of fixers using the --list-fixes option.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http
On Mon, Mar 30, 2009 at 7:44 AM, Jesse Noller jnol...@gmail.com wrote:
During the Language summit this past Thursday, pretty much everyone
agreed that a python 3 to python 2 tool would be a very large
improvement in helping developers be able to write pure python 3
code. The idea being a large
On Wed, Apr 1, 2009 at 4:29 PM, John Ehresman j...@wingware.com wrote:
I've written a proof of concept patch to add a hook to PyDict_SetItem at
http://bugs.python.org/issue5654 My motivation is to enable watchpoints in
a python debugger that are called when an attribute or global changes. I
On Fri, Apr 3, 2009 at 2:27 AM, Antoine Pitrou solip...@pitrou.net wrote:
Thomas Wouters thomas at python.org writes:
Pystone is pretty much a useless benchmark. If it measures anything, it's the
speed of the bytecode dispatcher (and it doesn't measure it particularly
well.)
PyBench isn't
On Fri, Apr 3, 2009 at 9:43 AM, Antoine Pitrou solip...@pitrou.net wrote:
Thomas Wouters thomas at python.org writes:
Really? Have you tried it? I get at least 5% noise between runs without any
changes. I have gotten results that include *negative* run times.
That's an implementation
On Fri, Apr 3, 2009 at 10:28 AM, Michael Foord
fuzzy...@voidspace.org.uk wrote:
Collin Winter wrote:
As part of the common standard library and test suite that we agreed
on at the PyCon language summit last week, we're going to include a
common benchmark suite that all Python implementations
On Fri, Apr 3, 2009 at 10:50 AM, Antoine Pitrou solip...@pitrou.net wrote:
Collin Winter collinw at gmail.com writes:
- I wish PyBench actually did more isolation.
Call.py:ComplexPythonFunctionCalls is on my mind right now; I wish it
didn't put keyword arguments and **kwargs in the same
On Sat, Apr 4, 2009 at 7:33 AM, Michael Foord fuzzy...@voidspace.org.uk wrote:
Antoine Pitrou wrote:
Nick Coghlan ncoghlan at gmail.com writes:
C. Titus Brown wrote:
I vote for a separate mailing list -- 'python-tests'? -- but I don't
know exactly how splintered to make the conversation.
,
and should be a fairly self-contained way of starting on this. If it
works, please post the patch on http://bugs.python.org with your
results and assign it to me for review.
Thanks,
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http
://bugs.python.org with your
results and assign it to me for review.
Thanks,
Collin Winter
(I did end up subscribing, just with a different email address :)
What is the best branch to start working from? trunk?
That's a good place to start, yes. If the idea works well, we'll want
to port
practice. I'd
approach this iteratively: first replace the dict with a set, then if
that bears fruit, consider a customized data structure; if that bears
fruit, etc.
Good luck, and be sure to let us know what you find,
Collin Winter
___
Python-Dev
-list, if you're interested.
Thanks,
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
in
terms of overall effectiveness. The results for gcc FDO with our
2009Q1 release are at the bottom of
http://code.google.com/p/unladen-swallow/wiki/Releases.
Collin Winter
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
1 - 100 of 183 matches
Mail list logo