[Python-Dev] Partial function application 'from the right'

2009-02-09 Thread Ben North
Hi,

As suggested, I've created

   http://bugs.python.org/issue5191

to hold the patches for this feature, and the relation to the
'partial.skip' feature request.  Could somebody with appropriate
privileges close the issue as rejected, if indeed that is the decision?

Thanks,

Ben.
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Mark old distutils as deprecated

2009-02-09 Thread M.-A. Lemburg
On 2009-02-08 11:15, Tarek Ziadé wrote:
> Hello
> 
> To avoid confusion, as suggested by Akira who works on cleaning the
> Distutils pages on the python.org website,
> I would like to move http://svn.python.org/view/distutils/trunk into a
> branch and add a README.txt in an empty trunk
> to explain the current status of the package.
> 
> Any objection ?

No.

It be worthwhile keeping just the setup code and adjust that
to take the distutils package from the python/ dir in order to
build separate releases of the code for upload to PyPI (ones
that basically provide the code as released in Python 2.x as
separate download for 2.(x-1) and 2.(x-2)).

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Feb 09 2009)
>>> Python/Zope Consulting and Support ...http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...http://python.egenix.com/


::: Try our new mxODBC.Connect Python Database Interface for free ! 


   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
   Registered at Amtsgericht Duesseldorf: HRB 46611
   http://www.egenix.com/company/contact/
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Pycon and Randall Munroe

2009-02-09 Thread Jeroen Ruigrok van der Werven
Whoever thought this one up [1], thank you for making me almost choke on my
meal due to laughing fits.  :-)

[1] http://pycon.blogspot.com/2009/02/randall-munroe.html

-- 
Jeroen Ruigrok van der Werven  / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Earth to earth, ashes to ashes, dust to dust...
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Pycon and Randall Munroe

2009-02-09 Thread Aahz
On Mon, Feb 09, 2009, Jeroen Ruigrok van der Werven wrote:
>
> Whoever thought this one up [1], thank you for making me almost choke on my
> meal due to laughing fits.  :-)
> 
> [1] http://pycon.blogspot.com/2009/02/randall-munroe.html

Primary credit for the writing goes to Catherine Devlin, who runs
publicity for PyCon, but it was to some extent a group effort on the
pycon-organizers list.  PyCon is all about the volunteering!
-- 
Aahz ([email protected])   <*> http://www.pythoncraft.com/

Weinberg's Second Law: If builders built buildings the way programmers wrote 
programs, then the first woodpecker that came along would destroy civilization.
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Pycon and Randall Munroe

2009-02-09 Thread Guido van Rossum
On Mon, Feb 9, 2009 at 11:50 AM, Aahz  wrote:
> On Mon, Feb 09, 2009, Jeroen Ruigrok van der Werven wrote:
>>
>> Whoever thought this one up [1], thank you for making me almost choke on my
>> meal due to laughing fits.  :-)
>>
>> [1] http://pycon.blogspot.com/2009/02/randall-munroe.html
>
> Primary credit for the writing goes to Catherine Devlin, who runs
> publicity for PyCon, but it was to some extent a group effort on the
> pycon-organizers list.  PyCon is all about the volunteering!

Very cool. Has anyone contacted Randall about giving a keynote at PyCon?

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Pycon and Randall Munroe

2009-02-09 Thread Ivan Krstić

On Feb 9, 2009, at 2:51 PM, Guido van Rossum wrote:
Very cool. Has anyone contacted Randall about giving a keynote at  
PyCon?



Yes, haven't heard back yet.

--
Ivan Krstić  | http://radian.org

___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Pycon and Randall Munroe

2009-02-09 Thread Aahz
On Mon, Feb 09, 2009, Guido van Rossum wrote:
> On Mon, Feb 9, 2009 at 11:50 AM, Aahz  wrote:
>> On Mon, Feb 09, 2009, Jeroen Ruigrok van der Werven wrote:
>>>
>>> Whoever thought this one up [1], thank you for making me almost choke on my
>>> meal due to laughing fits.  :-)
>>>
>>> [1] http://pycon.blogspot.com/2009/02/randall-munroe.html
>>
>> Primary credit for the writing goes to Catherine Devlin, who runs
>> publicity for PyCon, but it was to some extent a group effort on the
>> pycon-organizers list.  PyCon is all about the volunteering!
> 
> Very cool. Has anyone contacted Randall about giving a keynote at PyCon?

We're discussing it, but unless we want to conduct a public campaign to
push him to come, let's keep it low-key for now.
-- 
Aahz ([email protected])   <*> http://www.pythoncraft.com/

Weinberg's Second Law: If builders built buildings the way programmers wrote 
programs, then the first woodpecker that came along would destroy civilization.
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Pycon and Randall Munroe

2009-02-09 Thread Jesse Noller
On Mon, Feb 9, 2009 at 2:51 PM, Guido van Rossum  wrote:
> On Mon, Feb 9, 2009 at 11:50 AM, Aahz  wrote:
>> On Mon, Feb 09, 2009, Jeroen Ruigrok van der Werven wrote:
>>>
>>> Whoever thought this one up [1], thank you for making me almost choke on my
>>> meal due to laughing fits.  :-)
>>>
>>> [1] http://pycon.blogspot.com/2009/02/randall-munroe.html
>>
>> Primary credit for the writing goes to Catherine Devlin, who runs
>> publicity for PyCon, but it was to some extent a group effort on the
>> pycon-organizers list.  PyCon is all about the volunteering!
>
> Very cool. Has anyone contacted Randall about giving a keynote at PyCon?
>
> --
> --Guido van Rossum (home page: http://www.python.org/~guido/)

+1000 on this one.
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] clarifying PEP 302 loader responsibilities upon failure

2009-02-09 Thread bcannon
Guido and I were discussing what a loader should be responsible for when  
load_module is called and an exception is raised in relation to sys.modules  
as PEP 302 says nothing about the topic.


We both agree that if the loader added a module to sys.modules it should be  
removed, otherwise it should be left alone.


Assuming no one disagrees I will update the PEP to specify that this is the  
expected job of loaders.


-Brett
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] clarifying PEP 302 loader responsibilities upon failure

2009-02-09 Thread Guido van Rossum
On Mon, Feb 9, 2009 at 1:56 PM,   wrote:
> Guido and I were discussing what a loader should be responsible for when
> load_module is called and an exception is raised in relation to sys.modules
> as PEP 302 says nothing about the topic.
>
> We both agree that if the loader added a module to sys.modules it should be
> removed, otherwise it should be left alone.
>
> Assuming no one disagrees I will update the PEP to specify that this is the
> expected job of loaders.

(Note that currently most loaders we've looked at end up removing the
module unconditionally, as this is what PyImport_ExecCodeModuleEx()
does. PyImport_ReloadModule() has a super-duper hack to save the
module object and put it back into sys.modules:

if (newm == NULL) {
/* load_module probably removed name from modules because of
 * the error.  Put back the original module object.  We're
 * going to return NULL in this case regardless of whether
 * replacing name succeeds, so the return value is ignored.
 */
PyDict_SetItemString(modules, name, m);
}

If we could get conforming loaders to behave as proposed, we wouldn't
need this ugly hack.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] PyCon 2009: Call for sprint projects

2009-02-09 Thread Jacob Kaplan-Moss
Python-related projects: join the PyCon Development Sprints!

The development sprints are a key part of PyCon, a chance for the contributors
to open-source projects to get together face-to-face for up to four days of
intensive learning and development. Newbies sit at the same table as the gurus,
go out for lunch and dinner together, and have a great time while advancing
their project. Sprints are one of the best parts of PyCon; in 2008 over 250
sprinters came for at least one day!

If your project would like to sprint at PyCon, now is the time to let us know.
We'll collect your info and publish it so that participants will have time to
make plans. We'll need to get the word out early so that folks who want to
sprint have time to make travel arrangements.

In the past, some have been reluctant to commit to sprinting: some may not know
what sprinting is all about; others may think that they're not "qualified" to
sprint. We're on an ongoing mission to change that perception:

* We'll help promote your sprint. The PyCon website, the PyCon blog, the PyCon
  podcast, and press releases will be there for you.

* PyCon attendees will be asked to commit to sprints on the registration form,
  which will include a list of sprints with links to further info.

* We will be featuring a "How To Sprint" session on Sunday afternoon, followed
  by sprint-related tutorials, all for free. This is a great opportunity to
  introduce your project to prospective contributors. We'll have more details
  about this later.

* Some sponsors are helping out with the sprints as well.

There's also cost. Although the sprinting itself is free, sprints have
associated time and hotel costs. We can't do anything about the time cost, but
we may have some complimentary rooms and funding available for sprinters. We
will have more to say on financial aid later.

Those who want to lead a sprint should send the following information
to [email protected]:

* Project/sprint name

* Project URL

* The name and contact info (email and/or telephone) for the sprint leader(s)
  and other contributors who will attend the sprint

* Instructions for accessing the project's code repository and documentation (or
  a URL)

* Pointers to new contributor information (setup, etc.)

* Any special requirements (projector? whiteboard? flux capacitor?)

We will add this information to the PyCon website and set up a wiki page for you
(or we can link to yours). Projects should provide a list of goals (bugs to fix,
features to add, docs to write, etc.), especially some goals for beginners, to
attract new sprinters. The more detail you put there, the more prepared your
sprinters will be, and the more results you'll get.

In 2008 there were sprints for Python, TurboGears, Pylons, Django, Jython, WSGI,
PyGame, Bazaar, Trac, PyCon-Tech, OLPC, Orbited, PyPy, Grok, and many others. We
would like to see all these and more!

Sprints will start with an introductory session on Sunday, March 29; this
session will begin immedately after PyCon's scheduled portion ends. The sprints
themselves will run from Monday, March 30 through Thursday, April 2, 2009.

You can find all these details and more at http://us.pycon.org/2009/sprints/.

If you have any questions, feel free to contact me directly.
Thank you very much, and happy coding!

Jacob Kaplan-Moss

___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Fwd: IDLE on a Mac

2009-02-09 Thread Ned Deily
In article ,
 Ned Deily  wrote:
> In article <[email protected]>,
>  ringhome  wrote:
> > > I am, however, having a small difficulty at home on my Mac.   Not  
> > > willing to wait for a nice, pre-packaged bundle, I went and  
> > > downloaded the files and built 3.0 myself.  The issue comes from  
> > > launching the IDLE.app from the Mac GUI versus a Terminal Shell.   
> > > From the GUI, IDLE launches fine, but the FILE dropdown menu only  
> > > has "Recent Files" in it.  No way to create new one, save, etc.
> Definitely not a feature!  There are a few known problems with 3.x IDLE 
> on OS X.  I'm in the final stages of testing several patches which, 
> among other things should solve that problem.

Perhaps there might help:
  
  
  

-- 
 Ned Deily,
 [email protected]

___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com