On 07.10.16 18:08, Guido van Rossum wrote:
On Fri, Oct 7, 2016 at 7:47 AM, Serhiy Storchaka wrote:
Should we register missed builtin iterators? For example longrange_iterator.
I don't feel strongly about this either way. Let sleeping dogs lie,
etc. (Is this related to issue 26906?)
Not dire
Since dict is ordered in CPython 3.6, it can be used instead of
OrderedDict in some places (e.g. for implementing simple limited
caches). But since this is implementation detail, it can't be used in
the stdlib unconditionally. Needed a way to check whether dict is ordered.
Actually there are t
On Thu, Oct 06, 2016 at 10:10:54PM -0700, Nathaniel Smith wrote:
> The reason this matters is that the official vendor compiler on RHEL 5
> is gcc 4.1, but there's also a separately-distributed version of gcc
> 4.8.2 that can target it.
Where can I get that 4.8 for RHEL 5?
I'm using Centos 5, w
On Sat, Oct 8, 2016 at 9:23 AM, Steven D'Aprano wrote:
> On Thu, Oct 06, 2016 at 10:10:54PM -0700, Nathaniel Smith wrote:
>
>> The reason this matters is that the official vendor compiler on RHEL 5
>> is gcc 4.1, but there's also a separately-distributed version of gcc
>> 4.8.2 that can target it.
> On Oct 8, 2016, at 3:01 AM, Serhiy Storchaka wrote:
>
> Since dict is ordered in CPython 3.6, it can be used instead of OrderedDict
> in some places (e.g. for implementing simple limited caches). But since this
> is implementation detail, it can't be used in the stdlib unconditionally.
> Ne
On Fri, Oct 7, 2016 at 3:52 PM, Ivan Levkivskyi wrote:
> I have a question about the registration of builtins. Currently, typing.py
> contains this line:
>
> ByteString.register(type(memoryview(b'')))
>
> But there are two test lines in test_collections.py
>
> self.assertNotIsInstance(memo
On 8 October 2016 at 20:01, Serhiy Storchaka wrote:
> Since dict is ordered in CPython 3.6, it can be used instead of OrderedDict
> in some places (e.g. for implementing simple limited caches). But since this
> is implementation detail, it can't be used in the stdlib unconditionally.
> Needed a wa