[issue31155] Encode set, frozenset, bytearray, and iterators as json arrays

2021-10-07 Thread sedrubal
Change by sedrubal : -- nosy: +sedrubal ___ Python tracker <https://bugs.python.org/issue31155> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13033] Add shutil.chowntree

2021-08-27 Thread sedrubal
Change by sedrubal : -- nosy: +sedrubal ___ Python tracker <https://bugs.python.org/issue13033> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20779] Add pathlib.chown method

2021-08-27 Thread sedrubal
Change by sedrubal : -- nosy: +sedrubal ___ Python tracker <https://bugs.python.org/issue20779> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25549] call sum on list of timedelta throws TypeError

2021-07-26 Thread sedrubal
sedrubal added the comment: What is the reason for this start parameter? Why will sum not just use the first entry of the input sequence? I think at least a error message that points programmers into the right direction was very helpful. -- nosy: +sedrubal

[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2017-07-09 Thread sedrubal
sedrubal added the comment: What is the problem with using the patch by moritz (https://bugs.python.org/issue14156#msg162342) and change the unit test to this: class TestFileTypeWB(TempDirMixin, ParserTestCase): ... successes = [ ..., ('-x - -', NS(x=sys.stdout.buffer

[issue29433] any, all and sum should accept variadic args

2017-02-03 Thread sedrubal
sedrubal added the comment: Thanks for your answers and for showing the issue with sum. I think this would make python just a bit more sexier as it already is ;) Are there any other disadvantages (performance, ...)? Do you think I should send a mail to the ideas list

[issue29433] any, all and sum should accept variadic args

2017-02-03 Thread sedrubal
New submission from sedrubal: any, all and sum (and maybe some other functions) should accept variadic args. It should be possible to do things like this: >>> any(True, False, True) True >>> all(True, False, True) False >>> sum(1, 2, 3) 6 This was compliant to max