New submission from Arno-Can Uestuensoez <acue.opensou...@gmail.com>:

Hello,
I had the requirement to make excessive use of named tuples in an extended way. 
The applications are variable data sets with optional items. Typical in 
protocol dat a units, or e.g. mixed abstract filesystem types for heterogeneous 
file system types including URL and UNC.

As I saw the required changes are a couple of lines which I see as harmless. 
The implementation is available for Python2.7 and Python3.5+ in the project 
namedtupledefs, which is the patched code extracted from the *collections*.

The detailed descriptions for both versions are available at:
Python3: https://namedtupledefs3.sourceforge.io/
Python3: https://namedtupledefs.sourceforge.io/
Python2: https://namedtupledefs2.sourceforge.io/

Checked in PyPi + Sourceforge + github - the links are in the documents.

https://github.com/ArnoCan/namedtupledefs3/
https://github.com/ArnoCan/namedtupledefs2/
https://github.com/ArnoCan/namedtupledefs/

https://pypi.org/project/namedtupledefs[23]/

My proposal is to introduce the changes. It would be great for Python2.7 too, 
before the EOL.

WKR

WKR

----------
components: Library (Lib)
files: namedtupled-uml-patches.jpg
messages: 358002
nosy: acue
priority: normal
severity: normal
status: open
title: introduction of default values for collection.namedtuple
type: enhancement
versions: Python 2.7, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file48765/namedtupled-uml-patches.jpg

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38996>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to