On Mon, Apr 6, 2009 at 00:48, Mark Hammond skippy.hamm...@gmail.com wrote:
Just to be clear, what input would you like on that map?
Review of email addresses, pointers to names/email addresses for the
usernames I don't have anything for yet. Also, there's a few commented
question marks, it would
On Mon, Apr 6, 2009 at 04:27, s...@pobox.com wrote:
Maybe once for each currently active Subversion branch (2.6, 2.7, 3.0, 3.1)?
Sure, if we're doing cloned branches. But then someone will also need
to clone 2.5, and maybe 2.4. The point is, as long as it's a constant
factor and not an order of
On Mon, Apr 6, 2009 at 06:20, Alexandre Vassalotti
alexan...@peadrop.com wrote:
But that won't work if people who are not core developers submit us
patch bundle to import. And maintaining a such white-list sounds to me
more burdensome than necessary.
Well, if you need contributors to sign a
Alexandre Vassalotti alexandre at peadrop.com writes:
If I recall correctly, only ssh clients can request compression to the
server—in other words, the server cannot forces the clients to use
compression, but merely allow them use it.
See the man page for sshd_config and ssh_config for the
Martin v. Löwis martin at v.loewis.de writes:
Is it possible to branch from a subdirectory? For the different VMs
stuff, it's rather desirable to have a branch of the test suite, and
the perhaps the standard library, than extracting it from the source.
You can only branch the whole repository.
Alexandre Vassalotti alexandre at peadrop.com writes:
With Mercurial, we will need to add support for server-side clone
ourselves. There's few ways to provide this feature. We give Unix user
accounts to all core developers and let developers manages their
private branches directly on the
(See my posting Let's update CObject API so it is safe and regular!
from 2009/03/31 for take 1).
I discussed this off-list with GvR. He was primarily concerned with
fixing the passing-around-a-vtable C API usage of CObject, but he wanted
to preserve as much backwards compatibility as
Dirkjan Ochtman wrote:
On 05/04/2009 20:29, Martin v. Löwis wrote:
FYI: this is the list of hooks currently employed:
- pre: check whitespace
- post: mail python-checkins
inform regular buildbot
inform community buildbot
trigger website rebuild if a PEP was
On Mon, Apr 6, 2009 at 10:21, Philippe Fremy p...@freehackers.org wrote:
One question: if somebody pushes a changeset with 3 commits, will the
pre and post hooks be applied on all of the commits, or only on the
final commit ?
If this is applied on every commit, then you have no way to fix a
Daniel (ajax) Diniz wrote:
Martin v. Löwis wrote:
I think it would be a good idea to host a temporary svn mirrors for
developers who accesses their VCS via an IDE. Although, I am sure
anymore if supporting these developers (if there are any) would worth
the trouble. So, think of this as
On Mon, Apr 6, 2009 at 11:14, Philippe Fremy p...@freehackers.org wrote:
This is a problem I have with my daily usage of mercurial. It's supposed
to be great to work offline and to commit your intermediate versions
before it's fully working but if you do that, all those intermediate non
Alex Martelli wrote:
Queue.Queue in 2.* (and queue.Queue in 3.*) is like that too -- the
single leading underscore meaning protected (I'm here for subclasses
to override me, only in C++ parlance) and a great way to denote hook
methods in a Template Method design pattern instance. Base class
Raymond Hettinger wrote:
Hrvoje Niksic wrote:
I've stumbled upon an oddity using sets. It's trivial to test if a
value is in the set, but it appears to be impossible to retrieve a
stored value,
See: http://code.activestate.com/recipes/499299/
Thanks, this is *really* good, the kind of
Dirkjan Ochtman wrote:
I have a stab at an author map at http://dirkjan.ochtman.nl/author-map.
Could use some review, but it seems like a good start.
Martin may be able to provide a better list of names based on the
checkin name-SSH public key mapping in the SVN setup.
(e.g. I believe my SVN
Dirkjan Ochtman wrote:
Another thing that I discussed with Georg last night would be a setup
where changesets get pushed to a gateway repo that runs the tests and
only pushes to an official repo if everything's still green. That
should probably be a topic discussed separately, though.
That
Nick Coghlan wrote:
Dirkjan Ochtman wrote:
Another thing that I discussed with Georg last night would be a setup
where changesets get pushed to a gateway repo that runs the tests and
only pushes to an official repo if everything's still green. That
should probably be a topic discussed
Brian Quinlan wrote:
- you need the cooperation of your subclasses i.e. they must call
super().flush() in .flush() to get correct close behavior (and this
represents a backwards-incompatible semantic change)
Are you sure about that? Going by the current _pyio semantics that
Antoine posted,
Alexandre Vassalotti wrote:
On Mon, Apr 6, 2009 at 12:20 AM, Aahz a...@pythoncraft.com wrote:
How difficult would it be to change the decision later? That is, how
about starting with a CVS-style system and maybe switch to kernel-style
once people get comfortable with Hg?
I believe it would
Dirkjan Ochtman wrote:
On Mon, Apr 6, 2009 at 10:21, Philippe Fremy p...@freehackers.org wrote:
One question: if somebody pushes a changeset with 3 commits, will the
pre and post hooks be applied on all of the commits, or only on the
final commit ?
If this is applied on every commit, then
On Mon, Apr 6, 2009 at 13:55, Michael Foord fuzzy...@voidspace.org.uk wrote:
Gated checkins can work fine but can also have many problems. For example if
we have a spuriously failing test then if you are working on an unrelated
issue it will be entirely up to chance as to whether you can
On Sun, Apr 5, 2009 at 10:58 PM, Jack diederich jackd...@gmail.com wrote:
On Sun, Apr 5, 2009 at 10:50 PM, s...@pobox.com wrote:
Barry Someone asked me at Pycon about stripping out Demos and Tools.
Matthias +1, but please for 2.7 and 3.1 only.
Is there a list of other demos or tools
Martin v. Löwis wrote:
Chris Withers wrote:
Martin v. Löwis wrote:
I propose the following PEP for inclusion to Python 3.1.
Please comment.
Would this support the following case:
I have a package called mortar, which defines useful stuff:
from mortar import content, ...
I now want to
Benjamin Peterson wrote:
Assuming it breaks no tests, would there be objection to me committing
the
above change to the Python 3 trunk?
That's up to Benjamin. Personally, I live by if it ain't broke, don't
fix it. :-)
Anything using an exec is broken by definition ;-)
practicality beats
The 3.0 docs seem to be correct:
http://docs.python.org/3.0/tutorial/
- Forwarded message from Ernst Persson er...@stickybit.se -
Subject: Documentation site problems
From: Ernst Persson er...@stickybit.se
To: webmas...@python.org
Organization: StickyBit AB
Date: Mon, 06 Apr 2009
Hrm, looks like the whole 2.6 build is broken.
- Forwarded message from M?ller-Reineke, Matthias
matthias.mueller-rein...@grundvers.de -
Subject: Library Reference is incomplete
Date: Mon, 6 Apr 2009 11:25:54 +0200
From: M?ller-Reineke, Matthias matthias.mueller-rein...@grundvers.de
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Apr 6, 2009, at 7:55 AM, Michael Foord wrote:
Gated checkins can work fine but can also have many problems. For
example if we have a spuriously failing test then if you are working
on an unrelated issue it will be entirely up to chance as to
Nick Coghlan ncogh...@gmail.com writes:
My guess was that Bazaar anchored the centralised end of the DVCS
scale by letting users avoid caring about the underlying acyclic
graph
[…]
That makes Bazaar easy to pitch conceptually to someone like me
(you can use it just like you use SVN, only
On Thu, Apr 2, 2009 at 4:33 PM, M.-A. Lemburg m...@egenix.com wrote:
On 2009-04-02 17:32, Martin v. Löwis wrote:
I propose the following PEP for inclusion to Python 3.1.
Thanks for picking this up.
I'd like to extend the proposal to Python 2.7 and later.
-1 to adding it to the 2.x series.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Apr 6, 2009, at 9:21 AM, Jesse Noller wrote:
On Thu, Apr 2, 2009 at 4:33 PM, M.-A. Lemburg m...@egenix.com wrote:
On 2009-04-02 17:32, Martin v. Löwis wrote:
I propose the following PEP for inclusion to Python 3.1.
Thanks for picking this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Apr 5, 2009, at 7:37 PM, Matthias Klose wrote:
Barry Warsaw schrieb:
Someone (I'm sorry, I forgot who) asked me at Pycon about stripping
out
Demos and Tools. I'm happy to remove the two I wrote - Tools/world
and
Tools/pynche - from the
On Mar 29, 2009 at 05:36PM, Guido van Rossum gu...@python.org wrote:
- Issue #5593: code like 1e16+2. is optimized away and its result stored
as
a constant (again), but the result can vary slightly depending on the
internal
FPU precision.
I would just not bother constant folding
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Apr 6, 2009, at 9:21 AM, Jesse Noller wrote:
On Thu, Apr 2, 2009 at 4:33 PM, M.-A. Lemburg m...@egenix.com wrote:
On 2009-04-02 17:32, Martin v. Löwis wrote:
I propose the following PEP for inclusion to Python 3.1.
Thanks for picking this
Cesare Di Mauro cesare.dimauro at a-tono.com writes:
def f(): return ['a', ('b', 'c')] * (1 + 2 * 3)
[...]
With proper constant folding code, both functions can be reduced
to a single LOAD_CONST and a RETURN_VALUE (or, definitely, by
a single instruction at all with an advanced peephole
At 02:00 PM 4/6/2009 +0100, Chris Withers wrote:
Martin v. Löwis wrote:
Chris Withers wrote:
Would this support the following case:
I have a package called mortar, which defines useful stuff:
from mortar import content, ...
I now want to distribute large optional chunks separately, but
P.J. Eby wrote:
See the third paragraph of
http://www.python.org/dev/peps/pep-0382/#discussion
Indeed, I guess the PEP could be made more explanatory then 'cos, as a
packager, I don't see what I'd put in the various setup.py and
__init__.py to make this work...
That said, I'm delighted to
On Mon, Apr 6, 2009 at 9:26 AM, Barry Warsaw ba...@python.org wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Apr 6, 2009, at 9:21 AM, Jesse Noller wrote:
On Thu, Apr 2, 2009 at 4:33 PM, M.-A. Lemburg m...@egenix.com wrote:
On 2009-04-02 17:32, Martin v. Löwis wrote:
I propose
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brett Cannon wrote:
During the PyCon sprint I tried to make BaseException accept only a single
argument and bind it to BaseException.message . I was successful (see the
p3yk_no_args_on_exc branch), but it was very painful to pull off as anyone
On Mon, 6 Apr 2009 at 12:00, Jesse Noller wrote:
On Mon, Apr 6, 2009 at 9:26 AM, Barry Warsaw ba...@python.org wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Apr 6, 2009, at 9:21 AM, Jesse Noller wrote:
On Thu, Apr 2, 2009 at 4:33 PM, M.-A. Lemburg m...@egenix.com wrote:
On
On Mon, Apr 6, 2009 at 12:28 PM, R. David Murray rdmur...@bitdance.com wrote:
On Mon, 6 Apr 2009 at 12:00, Jesse Noller wrote:
On Mon, Apr 6, 2009 at 9:26 AM, Barry Warsaw ba...@python.org wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Apr 6, 2009, at 9:21 AM, Jesse Noller wrote:
Cesare At this time with Python 2.6.1 we have these results:
Cesare def f(): return 1 + 2 * 3 + 4j
...
Cesare def f(): return ['a', ('b', 'c')] * (1 + 2 * 3)
Guido can certainly correct me if I'm wrong, but I believe the main point of
his message was that you aren't going to
On Lun, Apr 6, 2009 16:43, Antoine Pitrou wrote:
Cesare Di Mauro cesare.dimauro at a-tono.com writes:
def f(): return ['a', ('b', 'c')] * (1 + 2 * 3)
[...]
With proper constant folding code, both functions can be reduced
to a single LOAD_CONST and a RETURN_VALUE (or, definitely, by
a single
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jesse Noller wrote:
On Mon, Apr 6, 2009 at 12:28 PM, R. David Murray rdmur...@bitdance.com
wrote:
On Mon, 6 Apr 2009 at 12:00, Jesse Noller wrote:
On Mon, Apr 6, 2009 at 9:26 AM, Barry Warsaw ba...@python.org wrote:
-BEGIN PGP SIGNED
Nick Coghlan wrote:
Brian Quinlan wrote:
- you need the cooperation of your subclasses i.e. they must call
super().flush() in .flush() to get correct close behavior (and this
represents a backwards-incompatible semantic change)
Are you sure about that? Going by the current _pyio semantics
On Mon, Apr 6, 2009 18:57, s...@pobox.com wrote:
Cesare At this time with Python 2.6.1 we have these results:
Cesare def f(): return 1 + 2 * 3 + 4j
...
Cesare def f(): return ['a', ('b', 'c')] * (1 + 2 * 3)
Guido can certainly correct me if I'm wrong, but I believe the main
[Antoine]
- Issue #5593: code like 1e16+2. is optimized away and its result stored
as
a constant (again), but the result can vary slightly depending on the internal
FPU precision.
[Guido]
I would just not bother constant folding involving FP, or only if the
values involved have an exact
+1 for removing constant folding for floats (besides conversion
of -literal). There are just too many things to worry about:
FPU rounding mode and precision, floating-point signals and flags,
effect of compiler flags, and the potential benefit seems small.
If you're talking about the
Hi,
On Sun, Mar 29, 2009 at 10:21 AM, Jeffrey Yasskin jyass...@gmail.com wrote:
I've heard some good things about cmake — LLVM, googletest, and Boost
are all looking at switching to it — so I wanted to see if we could
simplify our autoconf+makefile system by using it. The biggest wins I
see
On Mon, Apr 6, 2009 at 9:05 PM, Raymond Hettinger pyt...@rcn.com wrote:
The code for the lsum() recipe is more readable with a line like:
exp = long(mant * 2.0 ** 53)
than with
exp = long(mant * 9007199254740992.0)
It would be ashamed if code written like the former suddenly
started
I committed some new telnetlib tests yesterday to the trunk and I can
see they are failing on Neal's setup but not what the failures are.
Ideally I like to get the information out of the buildbots but they
all seem to be hanging on stdio tests and quiting out.
Ideas? TIA,
-Jack
Jack diederich jackdied at gmail.com writes:
I committed some new telnetlib tests yesterday to the trunk and I can
see they are failing on Neal's setup but not what the failures are.
Ideally I like to get the information out of the buildbots but they
all seem to be hanging on stdio tests and
On Mon, Apr 6, 2009 at 7:28 AM, Cesare Di Mauro
cesare.dima...@a-tono.com wrote:
The Language Reference says nothing about the effects of code optimizations.
I think it's a very good thing, because we can do some work here with constant
folding.
Unfortunately the language reference is not the
On Mon, Apr 6, 2009 at 1:22 PM, Mark Dickinson dicki...@gmail.com wrote:
On Mon, Apr 6, 2009 at 9:05 PM, Raymond Hettinger pyt...@rcn.com wrote:
The code for the lsum() recipe is more readable with a line like:
exp = long(mant * 2.0 ** 53)
than with
exp = long(mant * 9007199254740992.0)
Anyone able to look into this and fix it? Having all of the normal
entrypoints for documentation broken is rather inconvenient for users :-)
On Mon, Apr 6, 2009 at 15:06, Aahz a...@pythoncraft.com wrote:
Hrm, looks like the whole 2.6 build is broken.
- Forwarded message from
Tres Seaver wrote:
I don't think either of these classes should be subject to a deprecation
warning for a feature they never used or depended on.
Agreed. Could you raise a tracker issue for the spurious warnings? (I
believe we should be able to make the warning condition a bit smarter to
Ben Finney wrote:
Nick Coghlan ncogh...@gmail.com writes:
Mercurial appears to best allow the sales pitch to be tailored to
the target audience (in this case, a group including a lot of people
with a background predominantly involving centralised version
control tools).
I don't follow.
Nick Coghlan wrote:
Dirkjan Ochtman wrote:
I have a stab at an author map at http://dirkjan.ochtman.nl/author-map.
Could use some review, but it seems like a good start.
Martin may be able to provide a better list of names based on the
checkin name-SSH public key mapping in the SVN setup.
On Mon, Apr 6, 2009 at 2:22 PM, Mark Dickinson dicki...@gmail.com wrote:
Well, I'd say that the obvious solution here is to compute
the constant 2.0**53 just once, somewhere outside the
inner loop. In any case, that value would probably be better
written as 2.0**DBL_MANT_DIG (or something
You can commit some temporary debug output in the tests (just sprinkle those
print()'s you need to get your tasty information).
Also, if you want to do a sequence of changes to test a specific
machine, you might want to create a branch, make those changes, and then
trigger a build of that
there contents is missing from the python tutorial:
The 3.0 docs seem to be correct:
http://docs.python.org/3.0/tutorial/
It seems it is not the case anymore. The devel doc from Python 3 are
missing a few tables of contents as well:
http://docs.python.org/dev/py3k/tutorial/
When I build
On Tue, 7 Apr 2009 07:27:29 am Guido van Rossum wrote:
Unfortunately the language reference is not the only thing we have to
worry about. Unlike languages like C++, where compiler writers have
the moral right to modify the compiler as long as they stay within
the weasel-words of the standard,
On Mon, Apr 6, 2009 at 5:10 PM, Steven D'Aprano st...@pearwood.info wrote:
On Tue, 7 Apr 2009 07:27:29 am Guido van Rossum wrote:
Unfortunately the language reference is not the only thing we have to
worry about. Unlike languages like C++, where compiler writers have
the moral right to modify
David Cournapeau wrote:
On Mon, Mar 30, 2009 at 2:59 AM, Antoine Pitrou solip...@pitrou.net
wrote:
...
Waf is definitely faster than scons - something like one order of
magnitude. I am yet very familiar with waf, but I like what I saw -
the architecture is much nicer than scons (waf core
Ondrej Certik wrote:
Hi,
On Sun, Mar 29, 2009 at 10:21 AM, Jeffrey Yasskin jyass...@gmail.com wrote:
I've heard some good things about cmake — LLVM, googletest, and Boost
are all looking at switching to it — so I wanted to see if we could
simplify our autoconf+makefile system by using it.
Dirkjan Ochtman wrote:
On Mon, Apr 6, 2009 at 06:20, Alexandre Vassalotti
alexan...@peadrop.com wrote:
But that won't work if people who are not core developers submit us
patch bundle to import. And maintaining a such white-list sounds to me
more burdensome than necessary.
Well, if you
Hi,
I'm trying to write a C extension which is a subclass of dict.
I want to do something like a setdefault() but with a single lookup.
Looking through the dictobject code, the three workhorse
routines lookdict, insertdict and dictresize are not available
directly for functions outside
Steve Holden wrote:
Isn't it strange how nobody every complained about the significance of
whitespace in makefiles: only the fact that leading tabs were required
rather than just-any-old whitespace.
Make doesn't care how *much* whitespace there
is, though, only whether it's there or not. If
The decorator module [1] written by Michele Simionato is a very useful
tool for maintaining function signatures while applying a decorator.
Many different projects implement their own versions of the same
functionality, for example turbogears has its own utility for this, I
guess others do
Alexandre Vassalotti writes:
This makes me remember that we will have to decide how we will
reorganize our workflow. For this, we can either be conservative and
keep the current CVS-style development workflow--i.e., a few main
repositories where all developers can commit to.
That was the
68 matches
Mail list logo