Michal Nowikowski added the comment:
What is the progress of this issue?
I'm also interested in this feature.
I expected that these functions will behave as built-in min and max.
They have key argument, see here:
https://docs.python.org/3/library/functions.html#max
--
nosy: +go
Michal Nowikowski added the comment:
Attached a patch.
To preserve current order of arguments in dumps/dump functions sort_keys
argument has been added to the end of arguments just before **kw.
--
keywords: +patch
Added file: http://bugs.python.org/file25427/json-sort-keys.patch
Michal Nowikowski added the comment:
In json module there are dump/dumps methods which internally instantiate
encoder class JSONEncoder (or some other user-defined encoder clas).
They look as follows:
json.dump(obj, fp,
skipkeys=False,
ensure_ascii=True
Michal Nowikowski added the comment:
The changes looks ok.
--
nosy: +godfryd
___
Python tracker
<http://bugs.python.org/issue14688>
___
___
Python-bugs-list m
Michal Nowikowski added the comment:
It looks that it is already documented by 76228:2040842626ba changeset.
The bug can be closed.
--
nosy: +godfryd
___
Python tracker
<http://bugs.python.org/issue13
Michal Nowikowski added the comment:
Attached a patch that adds description of get_header and header_items methods
in Doc/library/urllib.request.rst.
--
keywords: +patch
nosy: +godfryd
Added file: http://bugs.python.org/file25391/doc-urlib-request.patch
Michal Nowikowski added the comment:
Improved the patch:
- moved code example up, just below S_* functions list
--
Added file: http://bugs.python.org/file20973/documented-os_chflags-flags-v2.diff
___
Python tracker
<http://bugs.python.
Michal Nowikowski added the comment:
Is this patch ok?
--
___
Python tracker
<http://bugs.python.org/issue10999>
___
___
Python-bugs-list mailing list
Unsub
Michal Nowikowski added the comment:
I have prepared a patch that:
- documents flags for os.chflags function in stat module
- adds links for these flags os module to stat module.
--
components: +None
keywords: +patch
Added file: http://bugs.python.org/file20555/documented-os_chflags
Changes by Michal Nowikowski :
--
nosy: +godfryd
___
Python tracker
<http://bugs.python.org/issue10999>
___
___
Python-bugs-list mailing list
Unsubscribe:
Michal Nowikowski added the comment:
The patch v2:
- in description of os.stat function added information about following symlinks,
- made list of returned attributes by os.stat function more readable,
- fixed links to os.stat function in whole document.
--
Added file: http
11 matches
Mail list logo