Davi Post added the comment:
Oops. Thanks. :-{
On Mon, Sep 9, 2013 at 4:56 PM, Alex Gaynor wrote:
>
> Alex Gaynor added the comment:
>
> Your __getitem__ never returns the result of OrderedDict.__getitem__
>
> --
> nosy: +alex
> resolution: -> inval
New submission from Davi Post:
class MyOrderedDict(OrderedDict):
def __getitem__(self, key):
OrderedDict.__getitem__(self, key)
After setting a key, getting it returns None. See attached.
Am I missing something?
Discovered this when trying to use the dict_type parameter of
Davi Post added the comment:
Thanks Jordan. How about 2.7? Is that not an open branch?
--Davi
On Thu, May 26, 2011 at 12:17 PM, Jordan Stadler wrote:
>
> Jordan Stadler added the comment:
>
> Alright, patches are up for 3.1 and 3.2. I'm not sure if I can just make
> on
Davi Post added the comment:
The What's New docs are the place to find information on changes between
versions. Upgrading to 2.7 from 2.5, I needed to read the 2.6 and 2.7 What's
New docs to learn what changes I should be aware of. I hope errors in these
docs will be fixed, at l
New submission from Davi Post :
In this section:
http://docs.python.org/whatsnew/2.6.html#pep-371-the-multiprocessing-package
This sentence follows the first example:
"A Queue is used to communicate the input parameter N and the result."
In the example, the queue is used only for
New submission from Davi Post :
The "See also" reference in the documentation for the token and symbol modules
is no longer accurate. The "second example" mentioned was apparently removed in
Python 2.7.
This leaves no explanation for how to use the symbol module.
I don
New submission from Davi Post <[EMAIL PROTECTED]>:
Language Reference for the try statement does not show changes for v2.6,
specifically the "PEP 3110: Exception-Handling Changes". At least, the
grammar should include the "except ... as" syntax.
http:/