Re: [Python-Dev] devguide: Cover how to (un-)apply a patch.

2011-01-18 Thread Oleg Broytman
On Mon, Jan 17, 2011 at 06:19:50PM -0600, s...@pobox.com wrote: Antoine On Mon, 17 Jan 2011 23:37:07 +0100 Antoine brett.cannon python-check...@python.org wrote: + +To undo a patch, do:: + +patch -R -p0 patch.diff + Antoine Or, simply and more

Re: [Python-Dev] devguide: Write a guide to committing a patch.

2011-01-18 Thread Antoine Pitrou
On Tue, 18 Jan 2011 07:14:51 +0100 Ezio Melotti ezio.melo...@gmail.com wrote: + +Committing Patches +== [...] + +svnmerge.py merge -r 42 + +This will try to apply the patch to the current patch and generate a commit Do we want to spend so much time explaining

Re: [Python-Dev] Moving stuff out of Misc and over to the devguide

2011-01-18 Thread Nick Coghlan
On Tue, Jan 18, 2011 at 10:17 AM, Brett Cannon br...@python.org wrote: I am not describing what is in Misc. It comes down to a question of whether any core dev-specific stuff should be in Misc that is not a configuration file or not. I say no, that the directory should contain stuff that

Re: [Python-Dev] devguide: Write a guide to committing a patch.

2011-01-18 Thread Nick Coghlan
On Tue, Jan 18, 2011 at 10:35 PM, Antoine Pitrou solip...@pitrou.net wrote: On Tue, 18 Jan 2011 07:14:51 +0100 Ezio Melotti ezio.melo...@gmail.com wrote: + +Committing Patches +== [...] + +    svnmerge.py merge -r 42 + +This will try to apply the patch to the

[Python-Dev] Tidying up the Meta-PEP and Other Informational PEP sections of PEP 0

2011-01-18 Thread Nick Coghlan
python-checkins watchers would be aware that I just checked in a few changes to the PEP 0 generator (and a few PEP statuses) to start tidying up the first two sections of PEP 0. The old release schedule PEPs and similarly obsolete files have been moved down to a new historical section later in the

Re: [Python-Dev] devguide: Write a guide to committing a patch.

2011-01-18 Thread Brett Cannon
On Tue, Jan 18, 2011 at 05:18, Nick Coghlan ncogh...@gmail.com wrote: On Tue, Jan 18, 2011 at 10:35 PM, Antoine Pitrou solip...@pitrou.net wrote: On Tue, 18 Jan 2011 07:14:51 +0100 Ezio Melotti ezio.melo...@gmail.com wrote: + +Committing Patches +== [...] + +    

Re: [Python-Dev] [Python-checkins] devguide: Write a guide to committing a patch.

2011-01-18 Thread Brett Cannon
On Mon, Jan 17, 2011 at 22:14, Ezio Melotti ezio.melo...@gmail.com wrote: Hi, On Thu, Jan 13, 2011 at 12:44 AM, brett.cannon python-check...@python.org wrote: brett.cannon pushed 75300a08c6d7 to devguide: http://hg.python.org/devguide/rev/75300a08c6d7 changeset:   88:75300a08c6d7 tag:    

Re: [Python-Dev] devguide: Cover how to (un-)apply a patch.

2011-01-18 Thread skip
I prefer Brett's solution. It's one command instead of one command per VCS. It works with other version control systems and provides me the opportunity to save a copy I can restore later. Georg It assumes you already have the copy. Sure, but the way to get the input to the

Re: [Python-Dev] Exception __name__ missing?

2011-01-18 Thread Ron Adam
On 01/18/2011 01:14 AM, Georg Brandl wrote: For these cases, you can use traceback.format_exception_only(). Thanks George, That works nicely. Ron ;-) ___ Python-Dev mailing list Python-Dev@python.org

[Python-Dev] [concurrentrotatingfilehandler]: How are the log files split up ?

2011-01-18 Thread low kian seong
Dear people, I am currently using concurrentrotatingfilehandler to handle my Python logs. The situation is okay when it's only one log, but when it needs to spill over to the next log (I configured to have 2) say test.log.2 then I see that the output is sort of shared between the first log

Re: [Python-Dev] [concurrentrotatingfilehandler]: How are the log files split up ?

2011-01-18 Thread Oleg Broytman
Hello. We are sorry but we cannot help you. This mailing list is to work on developing Python (adding new features to Python itself and fixing bugs); if you're having problems learning, understanding or using Python, please find another forum. Probably python-list/comp.lang.python mailing