On Tue, Dec 28, 2010 at 1:29 AM, Vinay Sajip wrote:
> However, it would be good to have some consistency of naming stdlib
> loggers
> - perhaps using __name__ as is recommended practice for library and
> application
> developers, but with a prefix such as "py." to indicate that it's a part o
On Mon, 27 Dec 2010 02:49:29 +0100, victor.stinner
wrote:
> Author: victor.stinner
> Date: Mon Dec 27 02:49:29 2010
> New Revision: 87505
>
> Log:
> Issue #9738: document encodings of unicode functions
>
> Modified:
>python/branches/py3k/Doc/c-api/unicode.rst
>python/branches/py3k/Inclu
On Mon, 27 Dec 2010 02:49:27 +0100, victor.stinner
wrote:
> Author: victor.stinner
> Date: Mon Dec 27 02:49:26 2010
> New Revision: 87504
>
> Log:
> Issue #9738: Document encodings of error and warning functions
>
> Modified:
>python/branches/py3k/Doc/c-api/exceptions.rst
>python/branch
Hi all,
after having implemented something very similar in psutil:
http://code.google.com/p/psutil/issues/detail?id=142
...I decided to contribute a patch for exposing getpriority() and
setpriority() system calls in the os module:
http://bugs.python.org/issue10784
This was also raised some time ag
(oops, I posted an incomplete message, stupid mailer)
Le lundi 27 décembre 2010 à 22:22 +0100, Georg Brandl a écrit :
> Am 27.12.2010 21:12, schrieb victor.stinner:
> > Author: victor.stinner
> > Date: Mon Dec 27 21:12:13 2010
> > New Revision: 87518
> >
> > Log:
> > Issue #10778: decoding_fgets(
Le lundi 27 décembre 2010 à 22:22 +0100, Georg Brandl a écrit :
> Am 27.12.2010 21:12, schrieb victor.stinner:
> > Author: victor.stinner
> > Date: Mon Dec 27 21:12:13 2010
> > New Revision: 87518
> >
> > Log:
> > Issue #10778: decoding_fgets() decodes the filename from the filesystem
> > encoding
Am 27.12.2010 21:12, schrieb victor.stinner:
> Author: victor.stinner
> Date: Mon Dec 27 21:12:13 2010
> New Revision: 87518
>
> Log:
> Issue #10778: decoding_fgets() decodes the filename from the filesystem
> encoding instead of UTF-8.
>
>
> Modified:
>python/branches/py3k/Parser/tokenizer.
Glenn wrote:
> [...] but maybe bar at 4 and baz at 8 would be even better.
> In other words, I don't think pointing at the "." is useful? [...]
Hi,
here's a patch which results in what Glenn Linderman suggested:
--- python-orig/Python/ast.c 2010-10-19 03:22:07.0 +0200
+++ python-new/Pyth
On 12/27/2010 7:29 AM, Vinay Sajip wrote:
The logging configuration calls fileConfig and dictConfig disable all existing
loggers, and enable only loggers explicitly named in the configuration (and
their children). Although there is a disable_existing_loggers option for each
configuration API, whi
On Mon, Dec 27, 2010 at 13:37, Ethan Furman wrote:
> I see the last comment was added on the 4th.
>
> Where should continued discussion take place -- bug-tracker, python-dev,
> ... ?
>
> ~Ethan~
Preferably on the bug tracker as to keep any discussion attached to the
issue. If the discussion bec
I see the last comment was added on the 4th.
Where should continued discussion take place -- bug-tracker, python-dev,
... ?
~Ethan~
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
htt
The logging configuration calls fileConfig and dictConfig disable all existing
loggers, and enable only loggers explicitly named in the configuration (and
their children). Although there is a disable_existing_loggers option for each
configuration API, which can be used to prevent disabling of exist
Am 27.12.2010 10:43, schrieb Raymond Hettinger:
> FWIW, I'm entirely opposed to doing an assignment in a nonlocal definition.
>
> * It is easily mis-parsed by human (as shown by Georg's examples).
> * It looks very much like an initialization of a local variable in many
> languages,
> but it i
.. and here's my original reply to Nick, which was also intended to go
to the list. Sorry, folks.
Mark
-- Forwarded message --
From: Mark Dickinson
Date: Mon, Dec 27, 2010 at 10:27 AM
Subject: Re: [Python-Dev] Range __contains__ and objects with __index__ methods
To: Nick Cogh
Bah. I meant to send this to the list. (I suspect that Nick also
meant to send his reply to the list.)
On Mon, Dec 27, 2010 at 12:43 PM, Mark Dickinson wrote:
> On Mon, Dec 27, 2010 at 12:23 PM, Nick Coghlan wrote:
>> The symmetry only breaks for a class that breaks the invariant:
>>
>> x ==
On Mon, Dec 27, 2010 at 8:31 PM, Mark Dickinson wrote:
> On Mon, Dec 27, 2010 at 9:43 AM, Raymond Hettinger
> wrote:
>> FWIW, I'm entirely opposed to doing an assignment in a nonlocal definition.
>> [...]
>
> -1 for assignment in nonlocal and global statements from me, too.
Indeed. The PEP shoul
On Mon, Dec 27, 2010 at 9:43 AM, Raymond Hettinger
wrote:
> FWIW, I'm entirely opposed to doing an assignment in a nonlocal definition.
> [...]
-1 for assignment in nonlocal and global statements from me, too.
Mark
___
Python-Dev mailing list
Python-De
On Fri, Dec 24, 2010 at 1:08 AM, Nick Coghlan wrote:
>> def __index__(self):
>> - """index(self)"""
>> + """someobject[self]"""
>> return int(self)
>
> Changing the docstring to say "operator.index(self)" would be the
> clearest solution here.
Agreed. Certainly "someobj
On Dec 25, 2010, at 2:59 AM, Stefan Behnel wrote:
> Hrvoje Niksic, 24.12.2010 09:45:
>> On 12/23/2010 10:03 PM, Laurens Van Houtven wrote:
>>> On Thu, Dec 23, 2010 at 9:51 PM, Georg Brandl wrote:
Yes and no -- there may not be an ambiguity to the parser, but still to
the human. Except i
19 matches
Mail list logo