Re: [Python-Dev] Use of coding cookie in 3.x stdlib

2010-07-19 Thread Guido van Rossum
Sounds like a good idea to try to remove redundant cookies *and* to remove most occasional use of non-ASCII characters outside comments (except for unittests specifically trying to test Unicode features). Personally I would use \xXX escapes instead of spelling out the characters in shlex.py, for

Re: [Python-Dev] Markup of command-line options in Python's .rst documentation

2010-07-19 Thread Georg Brandl
Am 19.07.2010 04:28, schrieb Eli Bendersky: On Mon, Jul 19, 2010 at 05:57, Eli Bendersky eli...@gmail.com mailto:eli...@gmail.com wrote: On Sat, Jul 17, 2010 at 16:44, Éric Araujo mer...@netwok.org mailto:mer...@netwok.org wrote: The --help option appears as a hyperlink

Re: [Python-Dev] tracker contribution

2010-07-19 Thread Nick Coghlan
On Mon, Jul 19, 2010 at 9:06 AM, Mark Lawrence breamore...@yahoo.co.uk wrote: Hell, I just wish I was fully healthy and had my MBCS/CEng status back, then I'd really feel capable of letting fly.  Having worked on massive UK MOD projects (can't say much, Official Secrets Acts and all that stuff)

Re: [Python-Dev] Does trace modules have a unit test?

2010-07-19 Thread Nick Coghlan
On Mon, Jul 19, 2010 at 2:23 PM, Alexander Belopolsky alexander.belopol...@gmail.com wrote: On Mon, Jul 19, 2010 at 12:21 AM, Alexander Belopolsky alexander.belopol...@gmail.com wrote: On Mon, Jul 19, 2010 at 12:12 AM, Eli Bendersky eli...@gmail.com wrote: .. stdout output can be captured,

Re: [Python-Dev] Markup of command-line options in Python's .rst documentation

2010-07-19 Thread Éric Araujo
Le 19/07/2010 04:57, Eli Bendersky a écrit : On Sat, Jul 17, 2010 at 16:44, Éric Araujo mer...@netwok.org wrote: I think this is a doc bug in Doc/documenting/markup.rst :cmdoption: and :option: are not clearly distinguished; the latter creates references to using/cmdline, the former is what

Re: [Python-Dev] Markup of command-line options in Python's .rst documentation

2010-07-19 Thread Éric Araujo
Le 19/07/2010 04:57, Eli Bendersky a écrit : On Sat, Jul 17, 2010 at 16:44, Éric Araujo mer...@netwok.org wrote: I think this is a doc bug in Doc/documenting/markup.rst :cmdoption: and :option: are not clearly distinguished; the latter creates references to using/cmdline, the former is what

Re: [Python-Dev] mkdir -p in python

2010-07-19 Thread Ray Allen
Agree. Through searching for existing issues, I found there isn't any such request. And I will submit one. The '-p' option of shell's mkdir has tow functions: 1, create parents directories if not exists, 2, suppress File exists error if the target has already exists. What we need is the

Re: [Python-Dev] mkdir -p in python

2010-07-19 Thread Ray Allen
See http://bugs.python.org/issue9299 On Mon, Jul 19, 2010 at 1:16 PM, Ray Allen ysj@gmail.com wrote: Agree. Through searching for existing issues, I found there isn't any such request. And I will submit one. The '-p' option of shell's mkdir has tow functions: 1, create parents

[Python-Dev] Python signal processing question

2010-07-19 Thread Scott McCarty
All, I have searched everywhere (mostly the code and a little google) and I cannot understand where the SIGKILL signal gets checked when it is set as a handler. I have scoured the Modules/signalmodule.c only to find two instances of the RuntimeError exception, but I cannot understand how python

Re: [Python-Dev] Python signal processing question

2010-07-19 Thread Oleg Broytman
Hello. We'are sorry but we cannot help you. This mailing list is to work on developing Python (fixing bugs and adding new features to Python itself); if you're having problems using Python, please find another forum. Probably python-list (comp.lang.python) news group/mailing list is the best

Re: [Python-Dev] Python signal processing question

2010-07-19 Thread Scott McCarty
I apologize if this is the wrong place to ask questions about Python C code, but I didn't know where else to turn. I don't think the regular user group will be technical enough to find this, am I wrong? There is no forum for something this in depth. This is not a usage problem, I want to know

Re: [Python-Dev] Python signal processing question

2010-07-19 Thread Oleg Broytman
On Mon, Jul 19, 2010 at 01:09:36PM -0400, Scott McCarty wrote: I apologize if this is the wrong place to ask questions about Python C code, but I didn't know where else to turn. I don't think the regular user group will be technical enough to find this, am I wrong? I am sure there are quite

Re: [Python-Dev] Use of coding cookie in 3.x stdlib

2010-07-19 Thread Alexander Belopolsky
On Mon, Jul 19, 2010 at 2:45 AM, Guido van Rossum gu...@python.org wrote: Sounds like a good idea to try to remove redundant cookies *and* to remove most occasional use of non-ASCII characters outside comments. ... Please see http://bugs.python.org/issue9308 . I am going to post a patch

Re: [Python-Dev] Python signal processing question

2010-07-19 Thread average
  We'are sorry but we cannot help you. This mailing list is to work on developing Python (fixing bugs and adding new features to Python itself); if you're having problems using Python, please find another forum. Probably python-list (comp.lang.python) news group/mailing list is the best place.

Re: [Python-Dev] Python signal processing question

2010-07-19 Thread Steve Holden
On 7/19/2010 11:08 PM, average wrote: We'are sorry but we cannot help you. This mailing list is to work on developing Python (fixing bugs and adding new features to Python itself); if you're having problems using Python, please find another forum. Probably python-list (comp.lang.python) news

Re: [Python-Dev] Python signal processing question

2010-07-19 Thread Simon Cross
On Tue, Jul 20, 2010 at 12:29 AM, Steve Holden st...@holdenweb.com wrote: Another potential developer walks away feeling unwanted? Let just kill this thread here. SIGKILL can't be caught. :) (I had sort of assumed that Marcos was being ironic). Schiavo Simon

Re: [Python-Dev] mkdir -p in python

2010-07-19 Thread Greg Ewing
Ray Allen wrote: I think both os.mkdir() and os.makedirs() should add a keyword argument to suppress the OSError: [Errno 17] File exists. This could be seen as violating the no constant arguments guideline. Maybe separate function would be better? -- Greg

Re: [Python-Dev] Python signal processing question

2010-07-19 Thread Greg Ewing
Scott McCarty wrote: All, I have searched everywhere (mostly the code and a little google) and I cannot understand where the SIGKILL signal gets checked when it is set as a handler. Possibly it's not being checked at all by Python, but is being rejected by the system call. The Darwin man page

Re: [Python-Dev] Python signal processing question

2010-07-19 Thread Michael Crute
On Mon, Jul 19, 2010 at 12:11 PM, Scott McCarty scott.mcca...@gmail.com wrote: All, I have searched everywhere (mostly the code and a little google) and I cannot understand where the SIGKILL signal gets checked when it is set as a handler. I have scoured the Modules/signalmodule.c only to find

Re: [Python-Dev] Markup of command-line options in Python's .rst documentation

2010-07-19 Thread Eli Bendersky
More input on this issue: 'cmdoption' is a directive, while 'option' is inline markup. Therefore I wouldn't say they're completely similar, just meant for different purposes. Both a directive and inline markup is useful for describing official python executable options/flags.

Re: [Python-Dev] What to do with languishing patches?

2010-07-19 Thread Mark Lawrence
On 18/07/2010 23:38, Alexander Belopolsky wrote: On Sun, Jul 18, 2010 at 6:10 PM, Martin v. Löwismar...@v.loewis.de wrote: Maybe going off on a tangent, but I find it frustrating because you (plural) can't find a given module on the issue tracker. Say I'm looking for issues relating to

Re: [Python-Dev] What to do with languishing patches?

2010-07-19 Thread Alexander Belopolsky
On Mon, Jul 19, 2010 at 11:55 PM, Mark Lawrence breamore...@yahoo.co.uk wrote: .. Is this the same login as for the issue tracker or is a new one needed? AFAIK, it is separate. I also suspect that subsections for Extension Modules would be extremely useful for our C developers, thoughts

Re: [Python-Dev] Markup of command-line options in Python's .rst documentation

2010-07-19 Thread Eli Bendersky
'cmdoption' is a directive, while 'option' is inline markup. Therefore I wouldn't say they're completely similar, just meant for different purposes. Both a directive and inline markup is useful for describing official python executable options/flags. Regarding per-module options, I'm not

Re: [Python-Dev] Python signal processing question

2010-07-19 Thread Terry Reedy
On 7/19/2010 6:08 PM, average wrote: We'are sorry but we cannot help you. This mailing list is to work on developing Python (fixing bugs and adding new features to Python itself); if you're having problems using Python, please find another forum. Probably python-list (comp.lang.python) news

Re: [Python-Dev] What to do with languishing patches?

2010-07-19 Thread Maciej Fijalkowski
On Sun, Jul 18, 2010 at 10:32 PM, Paul Moore p.f.mo...@gmail.com wrote: On 18 July 2010 20:57, Glyph Lefkowitz gl...@twistedmatrix.com wrote: On Jul 18, 2010, at 1:46 PM, Alexander Belopolsky wrote: We already have posponed and remind resolutions, but these are exclusive of accepted.   I

Re: [Python-Dev] What to do with languishing patches?

2010-07-19 Thread Stephen J. Turnbull
Mark Lawrence writes: Is this the same login as for the issue tracker or is a new one needed? It's different. Both trackers are supposed to support OpenID logins, I believe. (However, there are somewhat frequent reports of difficulties with it; I don't know if the system is fully debugged.