New submission from Christopher Harrison :
The setgid bit is not set when creating a directory, even when explicitly
specified in the mode argument, when its containing directory doesn't have its
own setgid bit set. When the parent does have the setgid bit, it works as
expected.
Ste
Christopher Harrison added the comment:
I have written a proof-of-concept implementation and submitted a pull request.
See the PR for details: https://github.com/python/cpython/pull/1558
(My CLA is pending; submitted around 2017-05-12T10:30:00Z+0100
Changes by Christopher Harrison :
--
pull_requests: +1654
___
Python tracker
<http://bugs.python.org/issue30343>
___
___
Python-bugs-list mailing list
Unsub
New submission from Christopher Harrison:
If you subclass `json.JSONEncoder` to enable serialisation of custom types
beyond those supported, you are meant to transform values of said type into a
serialisable version within an overridden `default` method. For example:
class MyJSONEncoder