[issue44674] dataclasses should allow frozendict default value

2021-12-11 Thread Gianni Mariani
Gianni Mariani added the comment: Excellent. Thanks! -- ___ Python tracker <https://bugs.python.org/issue44674> ___ ___ Python-bugs-list mailing list Unsub

[issue44674] dataclasses should allow frozendict default value

2021-07-23 Thread Gianni Mariani
Gianni Mariani added the comment: @Arjun - this is about default values (See the bug description - Using a frozendict as a default value) Try this: from frozendict import frozendict from dataclasses import dataclass @dataclass class A: a: frozendict = frozendict(a=1) This used to work

[issue44674] dataclasses should allow frozendict default value

2021-07-19 Thread Gianni Mariani
New submission from Gianni Mariani : Using a frozendict as a default value should not cause an error in dataclasses. The check for mutability is: isinstance(f.default, (list, dict, set)) It appears frozendict has been changed to have a dict base class and it now raises an exception

[issue40586] Pydoc should support https for hyperlinks.

2020-05-10 Thread Gianni Mariani
Change by Gianni Mariani : -- type: -> enhancement ___ Python tracker <https://bugs.python.org/issue40586> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue40586] Pydoc should support https for hyperlinks.

2020-05-10 Thread Gianni Mariani
New submission from Gianni Mariani : pydoc has a regex hard coded for supporting hyperlinks. It supports http and ftp. It should support https. -- components: Demos and Tools messages: 368601 nosy: owebeeone priority: normal severity: normal status: open title: Pydoc should support