[issue33463] Can namedtuple._asdict return a regular dict instead of OrderedDict?

2019-10-22 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33463] Can namedtuple._asdict return a regular dict instead of OrderedDict?

2019-10-22 Thread Batuhan
Batuhan added the comment: we can close this (raymond resolved this in bpo-35864) -- nosy: +BTaskaya ___ Python tracker ___ ___

[issue33463] Can namedtuple._asdict return a regular dict instead of OrderedDict?

2018-05-23 Thread Michael Selik
Michael Selik added the comment: I changed the PR to simply replace OrderedDict with dict. For the docs warnings, if I'm understanding correctly, those should be separate pulls for older branches? -- ___ Python tracker

[issue33463] Can namedtuple._asdict return a regular dict instead of OrderedDict?

2018-05-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: DeprecationWarning is for things that will be removed. This is a sign: don't use this feature, rewrite you code so that doesn't use it, otherwise it will be broken in future versions. FutureVersion is for things that work now

[issue33463] Can namedtuple._asdict return a regular dict instead of OrderedDict?

2018-05-12 Thread Michael Selik
Change by Michael Selik : -- keywords: +patch pull_requests: +6461 stage: -> patch review ___ Python tracker ___

[issue33463] Can namedtuple._asdict return a regular dict instead of OrderedDict?

2018-05-12 Thread Michael Selik
Michael Selik added the comment: Is this warning what you had in mind? https://github.com/python/cpython/pull/6772 -- ___ Python tracker

[issue33463] Can namedtuple._asdict return a regular dict instead of OrderedDict?

2018-05-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: This would have to go through a deprecation cycle, but it would be a nice improvement (faster, cleaner, and consistent with data classes). -- assignee: rhettinger -> components: +Library (Lib)

[issue33463] Can namedtuple._asdict return a regular dict instead of OrderedDict?

2018-05-10 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___

[issue33463] Can namedtuple._asdict return a regular dict instead of OrderedDict?

2018-05-10 Thread Raymond Hettinger
Change by Raymond Hettinger : -- versions: -Python 3.7 ___ Python tracker ___

[issue33463] Can namedtuple._asdict return a regular dict instead of OrderedDict?

2018-05-10 Thread Michael Selik
New submission from Michael Selik : Since the basic dict is now keeping insertion order, can we switch namedtuple._asdict to return a basic dict? Other than OrderedDict.move_to_end and the repr, I believe there is no compatibility issue. -- messages: 316387 nosy: selik