l enough it may even be beneficial to wrap those
up in a separate library, but at the very least it will help prove out that
PEP 543 can do the most important things that developers will want it to
do. If that already exists and I'm just ignorant of it, sorry for the noise.
Geremy Condra
On Fri,
ix is to randomize the hash function.
>
> Ironically, this morning I ran across a discussion from about 8 years
> ago on basically the same thing:
>
> http://mail.python.org/pipermail/python-dev/2003-May/035874.html
>
> From what I read in the thread, it didn't seem like any
for the howto.
Geremy Condra
___
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
agree, especially given that the classical answer to
GIL woes has been to tell people to fork() themselves. There has to be
a lot of code out there that would benefit from this.
Geremy Condra
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.pyth
r the page at [1] and would love it if some of you
guys would take a look, let me know what you like/don't like, and
maybe even post a few of your pet projects or pet peeves.
Thanks for your time and effort,
Geremy Condra
[0]: http://mail.python.org/pipermail/python-ideas/2011-March/009230
On Fri, Nov 5, 2010 at 10:14 AM, Michael Foord
wrote:
> On 05/11/2010 17:10, geremy condra wrote:
>>
>> On Thu, Nov 4, 2010 at 3:40 PM, Laurens Van Houtven
>> wrote:
>>>
>>> On Thu, Nov 4, 2010 at 5:44 AM, Allan McRae wrote:
>>
>>
>>
-
does this strike you as the best response to a widespread problem?
You're basically telling people to get lost, and in all caps no less.
Geremy Condra
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/list
On Fri, Oct 29, 2010 at 11:12 AM, geremy condra wrote:
> On Thu, Oct 28, 2010 at 11:55 PM, Glyph Lefkowitz
> wrote:
>> On Oct 28, 2010, at 10:51 PM, Brett Cannon wrote:
[snip]
> First off, unless you have a lot of information I don't, there's no
> reason at a
o
portray the trend accurately that's something you're likely to have to
do.
So, to cut down a long-winded and overly pedantic response: I'm pretty
sure that you're not going to get accurate estimates out of that
methodology, assuming that accurate results are what you're after.
eate user repos as well, so
> that Kristjan can simply put his branch into one of these and still have it
> on hg.python.org.
>
> Georg
Huge +1 from me- I think this would be an excellent development.
Geremy Condra
PS- this should not be taken as an endorsement of the original
proposal,
y
> do-the-right-thing under the hood to help users avoid numerical
> problems (i.e. math.fsum(s)/len(s) is a more accurate way to
> compute an average because it doesn't lose precision when
> building-up the intermediate sums).
Can you giv
27;m still unsure what "it" is that was happening,
> so it's also difficult to analyse this further.
chalk it up to a mystery of the internet, I guess. It still
seems strange to me that two people would get the same behavior so far
away from each other and not have it be on that
On Thu, Oct 7, 2010 at 3:52 PM, "Martin v. Löwis" wrote:
> Am 08.10.2010 00:00, schrieb geremy condra:
>> Seems like python.org has gone down and come back up a couple of times
>> in the last few minutes, is this intentional?
>
> Nothing on python.org suggests
Seems like python.org has gone down and come back up a couple of times
in the last few minutes, is this intentional?
Geremy Condra
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
steful and don't contribute value to the project.
>
> Certainly some of our techniques won't be relevant for Python. For example,
> we assigned people to do nothing but reviews for one day out of the week (we
> call it "on-call reviewers"). This worked for us
e and would like additional input so I can get this
> bug closed for 3.2. Any thoughts on the subject would be appreciated.
I'm not clear on what the issues with list.__add__ were, but my first
impression is to lean towards #2. What am I missing?
> Thanks,
>
> Raym
standard library) would outweigh the
>> inconvenience when hacking together a quick script.
>
> Does everyone here run all their code under py-debug? If not then I
> say switch it on when py-debug is on so that we at least detect the
> leaks in the stdlib without having to thi
oad statistics, it might help to figure out
relative importance of different problems. Having said that, I'm only
volunteering firepower, so don't interpret this as trying to push this
on you guys if you don't want it.
Geremy Condra
___
Py
as many people as you
> think. How many projects in pypi provide unittests? That's at least
> more tests to add to the ones already being run in the stdlib.
>
> -Devin
Make it automatic and I can probably get some machines put on the job.
I don't have a lo
On Wed, Sep 15, 2010 at 4:18 AM, Steven D'Aprano wrote:
> On Wed, 15 Sep 2010 01:06:29 pm geremy condra wrote:
>
>> I ran some statistics on the number of times modules out of the
>> stdlib got imported a few months ago
>
> What do those statistics measure?
>
&
On Tue, Sep 14, 2010 at 8:33 PM, Guido van Rossum wrote:
> On Tue, Sep 14, 2010 at 8:06 PM, geremy condra wrote:
>> I ran some statistics on the number of times modules out of the stdlib
>> got imported a few months ago and came up with a reasonably
>> comprehensive list of
On Tue, Sep 14, 2010 at 8:07 PM, Steve Holden wrote:
> On 9/14/2010 11:06 PM, geremy condra wrote:
>> On Tue, Sep 14, 2010 at 2:22 PM, Steve Holden wrote:
>>> On 9/14/2010 4:40 PM, Jon Ribbens wrote:
>>>> On Tue, Sep 14, 2010 at 11:43:46AM -0500, s...@pobox.
, etc.
The top five are os, sys, unittest, re, and time (in that order) with
27468, 18334, 14714, 13019, and 9906 imports respectively.
If it doesn't annoy I can post the whole list, or email it privately
to the interested.
Geremy Condra
___
P
On Mon, Jul 26, 2010 at 7:36 AM, Stefan Behnel wrote:
> geremy condra, 26.07.2010 16:29:
>>
>> I've noticed that I don't have a lot of success in shifting this kind
>> of debate, so I'm not sure it's a good idea to publicly discuss
>> vuln
On Mon, Jul 26, 2010 at 7:21 AM, Tarek Ziadé wrote:
> On Mon, Jul 26, 2010 at 2:10 PM, geremy condra wrote:
>> On Mon, Jul 26, 2010 at 4:52 AM, Tarek Ziadé wrote:
>>> On Mon, Jul 26, 2010 at 1:20 PM, geremy condra wrote:
>>>> On Mon, Jul 26, 2010 at 4:02 AM, Ta
On Mon, Jul 26, 2010 at 4:52 AM, Tarek Ziadé wrote:
> On Mon, Jul 26, 2010 at 1:20 PM, geremy condra wrote:
>> On Mon, Jul 26, 2010 at 4:02 AM, Tarek Ziadé wrote:
>>> On Sat, Jul 24, 2010 at 4:08 PM, Guido van Rossum wrote:
>>
>>
>>
>>>> Mir
re working on making the
> switch automatic.
I think we've talked briefly about this before, but let me reiterate
that getting this right from a security point of view is quite a bit
harder than it at first appears, and IMHO it is worth getting right.
Geremy Condra
__
ts seriously if he
> does :)
I wasn't for the moratorium in the first place, so take this with a
grain of salt, but ISTM that if you feel this doesn't impact the
moratorium's goals then there's nothing logically inconsistent about
allowing it through. Of course, if you feel
eople here are volunteers,
> don't try to pressure volunteers. Try to do the best *you* can within
> the community and let that help the project further.
>
> Oh, and with business philosophy I mean: mails like the one you start
> this thread w
suppose that
> convergence has changed things.
Nobody is being innovative with IDLE's UI right now. Some imitation
would do it good, however.
Geremy Condra
___
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
(and plugins). Something along these lines is
probably necessary to be competitive, at least on Linux.
Geremy Condra
___
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 Mon, Jul 12, 2010 at 11:32 AM, Kurt B. Kaiser wrote:
> On Mon, Jul 12 2010, geremy condra wrote:
>
>> No offense, but I've been specifically asked not to do demos with IDLE
>> because it looked 'unprofessional'. Given the constraint of working
>> withi
On Mon, Jul 12, 2010 at 8:12 AM, Kurt B. Kaiser wrote:
> On Mon, Jul 12 2010, Antoine Pitrou wrote:
>
>> On Mon, 12 Jul 2010 05:20:49 -0400
>> "Kurt B. Kaiser" wrote:
>>>
>>> I'm mystified about the comments that the GUI is ugly. It is minimal.
>>> On XP, it looks exactly like an XP window with
On Mon, Jul 12, 2010 at 7:17 AM, Stefan Krah wrote:
> geremy condra wrote:
>> On Mon, Jul 12, 2010 at 5:31 AM, Stefan Krah wrote:
>> > Jesse Noller wrote:
>> >> On Sun, Jul 11, 2010 at 8:22 PM, geremy condra wrote:
>> >> >>> (This seems to m
On Mon, Jul 12, 2010 at 5:31 AM, Stefan Krah wrote:
> Jesse Noller wrote:
>> On Sun, Jul 11, 2010 at 8:22 PM, geremy condra wrote:
>> >>> (This seems to me like an area where a judicious application of PSF
>> >>> funds might help; if every
>> >&
he standard library while re is deprecated.
While I realize I'm not the target audience for this, there are a lot
of things I'd like to see more in the stdlib than a second re engine.
Geremy Condra
___
Python-Dev mailing list
Python-Dev@python.or
On Sun, Jul 11, 2010 at 8:22 PM, geremy condra wrote:
> On Sun, Jul 11, 2010 at 3:38 PM, Antoine Pitrou wrote:
>> On Sun, 11 Jul 2010 14:59:14 -0400
>> Glyph Lefkowitz wrote:
>>>
>>> Guido proposes to give someone interested in IDLE commit access, and
>&
me specific issues (like email in 3.x) are large enough that they can
> be the sole focus of a fund grant. But I'm not sure triaging can apply.
I'm mulling over starting a monthly triage sprint under the auspices of
Jesse Noeller's PSF sponsored sprints in the hopes of makin
On Sat, Jun 19, 2010 at 9:12 PM, Raymond Hettinger
wrote:
>
> On Jun 19, 2010, at 5:39 PM, geremy condra wrote:
>> Bottom line, what I'd really like to do is kick them all off of #python,
>
> This is so profoundly wrong on so many levels it is hard to know how to
> resp
.
Bottom line, what I'd really like to do is kick them all off of #python, but
practically I see very little that can be done to rectify the situation at this
point.
Geremy Condra
___
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 community in operating our primary
> community help channel and whether that situation should continue.
Amen. I've heard about people being told not to use python3 on the
irc *way* too many times for it to be all make believe.
Geremy Condra
__
s.
If we could do it that would be great, IMHO.
> I read the 'sumo' thread before I read this (and replied in depth there),
> but I think Michael and I mean similar things.
> - Yaniv
I don't think I'm understanding you correctly in th
On Wed, May 26, 2010 at 4:57 PM, Nick Coghlan wrote:
> On 27/05/10 09:11, geremy condra wrote:
>>>
>>> Specialised distributions are another matter - I can see a "web stack"
>>> distribution comprising your TurboGears example (or should it be
>>> D
ciously
> circular argument to me...
I'd say rather that there are a large number of specialized tools which
aren't individually popular enough to be included in Python, but which
when taken together greatly increase its utility, and that sumo offers a
way to provide that additional utili
Python as the Gnome or KDE project (consistent and aiming at providing
> the most important everyday tools, but quite focused), and "Sumo" as an
> entire distribution of disparate Linux GUI apps.
>
> Regards
>
> Antoine.
I'd also point out that creating a sumo dist
hand, but in that I think
> it could help those people; also, wouldn't it be sensible for users in
> a corporate environment to share their efforts and produce something
> that can benefit all of them? it's the free software spirit aft
used extensively and without too much trouble.
> If there are implementation bugs then we can fix them just like we would
> with any other module.
Guido made exactly the opposite argument during his keynote at PyCon.
It seemed fairly reasonable at the time- why do you think it doesn'
s being trivial to code and
questionably useful, a much better implementation could be
written using heap.
Maybe with a better implementation I would go +0, but I'm
hard pressed to see a case where this would be needed and
could not be trivially written.
Geremy Condra
__
ly required instead of 2?
>
>
> --- Giampaolo
Because it actually does take two arguments (self and x) and it
only got one (self).
I understand the confusion (and was bitten by it myself when I
was a newbie) but the interpreter is only telling you the truth.
Geremy Condra
___
ve to make sense of, and
> evaluate, its heuristic.
I don't have the expertise to do this, but I'll be playing with the
patch over the next few weeks, so if there's a specific piece of
data you want, let me know.
Geremy Condra
___
Pyth
mpatible with existing uses
> passing arguments positionally. In Python 3.2 we can make delta a keyword
> argument. Passing both places and delta would be an error (TypeError).
>
> Anyway, unless there are strenuous objections I intend to do this.
>
> All the best,
>
> Michael
he patch and be moved to the issue on the tracker. So I will not
> say more here.
>
> Terry Jan Reedy
Excellently put.
Geremy Condra
___
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 Sun, Nov 8, 2009 at 9:41 PM, Guido van Rossum wrote:
> On Sun, Nov 8, 2009 at 5:45 PM, geremy condra wrote:
>> I quote:
>>
>> "This PEP proposes a temporary moratorium (suspension) of all changes
>> to the Python language syntax, semantics, and built-ins for a
On Sun, Nov 8, 2009 at 8:22 PM, Jesse Noller wrote:
>
>
> On Nov 8, 2009, at 7:01 PM, geremy condra wrote:
>
>> On Sun, Nov 8, 2009 at 6:06 PM, Steven D'Aprano
>> wrote:
>>>
>>> On Sun, 8 Nov 2009 11:14:59 am Steven D'Aprano wrote:
>>&
ars.
>
> * It doesn't have the psychological baggage of an unconditional ban on
> new features for the indefinite future. It gives a fixed, known
> schedule for when new features will be permitted, without the
> uncertainty of "at
On Thu, Nov 5, 2009 at 11:21 PM, John Arbash Meinel
wrote:
> geremy condra wrote:
>> On Thu, Nov 5, 2009 at 4:09 PM, Alexander Belopolsky
>> wrote:
>>> On Thu, Nov 5, 2009 at 3:43 PM, Chris Bergstresser
>>> wrote:
>>>> .. and "x = iter(s).next
On Thu, Nov 5, 2009 at 6:17 PM, James Y Knight wrote:
> On Nov 5, 2009, at 6:04 PM, geremy condra wrote:
>>
>> Perhaps my test is flawed in some way?
>
> Yes: you're testing the speed of something that makes absolutely no sense to
> do in a tight loop, so *who the h
.56905913352966309,
0.56846404075622559]
>>> naive = timeit.Timer("x=s.pop();s.add(x)", "s=set(range(100))")
>>> naive.repeat(10)
[0.93139314651489258, 0.53566789627075195, 0.53674602508544922,
0.53608798980712891, 0.53634309768676758, 0.53557991981506348,
ll- set.pick() seems reasonably named
to me- is probably the cleanest way to do that. Absent that,
an example in the docs that illustrates the preferred idiom
would be great. Is there any kind of consensus on either point?
Geremy Condra
___
Pyt
n3's default string type being Unicode, there are a lot of subtle ways
> where my codes go south. Like I say, it is my problem.
>
Interesting- I've been doing crypto in python 3 for quite some time and
haven't had any issues except with getting things to play nicely with
C. Any
odebase to py3k.
>
> Now there's a good Summer of Code project: to produce a pre-processor that
> will flag all C constructs that need to be modified in some way, with direct
> pointers to the relevant documentation, and "code suggestions" wherever
> p
hard to find where I've said exactly that in the moratorium
discussion.
Geremy Condra
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/p
ine as BDFL permits.)
>
> marcos
This is effectively the sandbox idea I proposed, except with backporting.
Geremy Condra
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.pytho
On Tue, Oct 27, 2009 at 3:49 PM, Raymond Hettinger wrote:
>
> [geremy condra]
>>
>> Was it ever decided whether this would fall under the moratorium?
>
> Decided isn't the right word:
> http://mail.python.org/pipermail/python-dev/2009-October/093373.html
>
it is bad API design to collapse these two use cases.
> Probably because the implementations won't have much in common: (1)
> should just pick the first valid element, while (2) should use the
> normal hash lookup algorithm (shared with 'in', .add() etc.).
>
> --
> --Guido van
looks-up a key and supplies a default value if not found.
>> The other, set.get(), doesn't have a key to lookup.
>
> set.getone() then ?
ugh- other spellings much preferred.
Geremy Condra
___
Python-Dev mailing list
Python-Dev@python.org
ht
adding a method to a built-in object type
> *should* fall under the moratorium.
>
> --
> --Guido van Rossum
Seems like any changes requiring support from uninvolved
developers should fall under the moratorium. If the proposal
is to add a set.get() function to the set API, then this cle
e here seen any hints about how this is faring in the wild?
>
>
> Raymond
>
Next version of Graphine will use them heavily for graph
merges and set operations on graphs.
Geremy Condra
___
Python-Dev mailing list
Python-Dev@python.org
gt;
> John
>
When I first wrote Graphine (graph library), I did something very
similar to the last solution. The code has since been rewritten to
avoid the issue, but it would be nice if it didn't have to be the
next time it comes up- the comma is easy to miss, and while the
results are
torium is to discourage changes to the language.
>
> I haven't been following the discussion, but I wouldn't expect that
> a moratorium on language changes would rule out adding a method to the
> set type.
>
> Regards,
> Martin
My understanding is tha
70 matches
Mail list logo