Re: [Python-Dev] whitespace normalization

2007-04-26 Thread Christian Tanzer

Greg Ewing <[EMAIL PROTECTED]> wrote:

> Stripping trailing whitespace on saving wouldn't be
> so bad, though. Is there an option for that in python-mode?

I've got thje following in my ~/.emacs:

(if (fboundp 'delete-trailing-whitespace)
(add-hook 'write-file-hooks 'delete-trailing-whitespace)
)

In modern Emacsen, the `if` should be unnecessary.

-- 
Christian Tanzerhttp://www.c-tanzer.at/

___
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] Pre-commit hook for normalized white-space

2007-04-26 Thread Martin v. Löwis
I have now installed a pre-commit hook that verifies that the code
being committed follows the formatting of reindent.py, for all files
under /python in the projects repository. Please let me know if this
causes any problems.

Regards,
Martin
___
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] Attachment Policy?

2007-04-26 Thread Yaakov Nemoy
On 4/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Yaakov> i want to post a little bit of something I've been working on.
> Yaakov> Before I post it, i want to know if I'm allowed to post it as an
> Yaakov> attachment.  Coming up, some work on ASTVisitor in the compiler
> Yaakov> module.
>
> If you're proposing that your change be included in Python please create a
> patch at SourceForge so it doesn't get lost:
>
> http://sourceforge.net/tracker/?group_id=5470&atid=305470
>
> Skip

Already done :)

http://python.org/sf/1706323
___
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] call for PEPs

2007-04-26 Thread David Goodger
I'm one of the PEP editors at the end of peps-at-python-dot-org; Barry
Warsaw is the other. Since before PyCon, I haven't had time for PEP
number assignments, editing, and checkins. I don't follow python-dev
or python-3000 closely, so I only recently learned of the April 30
deadline for PEPs. I'd like to get all the outstanding PEPs checked
in, but I need help. There are a bunch of draft PEPs in my inbox, but
I can't trust it because some have already been checked in, and others
have since been updated or become obsolete.

Please re-send the latest drafts (as attachments!) of any outstanding
PEPs to peps-at-python-dot-org. Include the dates of any postings of
the PEP to python-dev, python-3000, or python-list (in the
Post-History header). Be sure to read and follow PEP 1 (PEP Purpose
and Guidelines; http://www.python.org/dev/peps/pep-0001/) for details
on what to include.

Posting a draft PEP to a python-* mailing list IS NOT SUFFICIENT. It
must be sent to peps-at-python-dot-org.

Committers (those with commit access to Python's SVN) are welcome to
add PEPs themselves. Just take the next available number from PEP 0
(which must be updated).

BTW, with PSF and PyCon duties (I'm chairing PyCon 2008), I don't see
my availability for PEP editing increasing any time soon. A new PEP
Editor would be welcome!

-- 
David Goodger 
___
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] call for PEPs

2007-04-26 Thread skip
David> ... I only recently learned of the April 30 deadline for
David> PEPs.

This is the first I heard of any sort of deadline...

Skip
___
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] call for PEPs

2007-04-26 Thread Guido van Rossum
On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> David> ... I only recently learned of the April 30 deadline for
> David> PEPs.
>
> This is the first I heard of any sort of deadline...

I posted to python-3000 a while ago. It never occurred to me that
people interested in writing PEPs for Py3k would not be subscribed to
that list.

-- 
--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] call for PEPs

2007-04-26 Thread Georg Brandl
[EMAIL PROTECTED] schrieb:
> David> ... I only recently learned of the April 30 deadline for
> David> PEPs.
> 
> This is the first I heard of any sort of deadline...

Guido has stated a few times now that PEPs to be considered for 3.0a1
should (must?) be presented in April, lastly in a thread titled
"Reminder: Py3k PEPs due by April"... ;)

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.

___
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] call for PEPs

2007-04-26 Thread skip

Guido> On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
David> ... I only recently learned of the April 30 deadline for
David> PEPs.
>> 
>> This is the first I heard of any sort of deadline...

Guido> I posted to python-3000 a while ago. It never occurred to me that
Guido> people interested in writing PEPs for Py3k would not be
Guido> subscribed to that list.

I'm not on the python-3000 list anymore (it was way too high-traffic for
me).  David's message was cross-posted to python-dev and didn't indicate
that the deadline had anything to do with Python 3.0.

Skip
___
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