[issue13079] Wrong datetime format in PEP3101
New submission from ojab :
Example in pep3101 is
"Today is: {0:a b d H:M:S Y}".format(datetime.now())
but it should be
"Today is: {0:%a %b %d %H:%M:%S %Y}".format(datetime.now())
--
assignee: docs@python
components: Documentation
messages: 144698
nosy: docs@python, ojab
priority: normal
severity: normal
status: open
title: Wrong datetime format in PEP3101
type: behavior
versions: 3rd party
___
Python tracker
<http://bugs.python.org/issue13079>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12662] Allow configparser to process suplicate options
New submission from ojab : Allow configparser to process duplicate options, just concatenating it's values, so using file [sect1] opt1=asd; opt2=qwe opt1=fgs we will have config['sect1']['opt1'] == 'asd;fgs' -- components: Library (Lib) messages: 141463 nosy: ojab priority: normal severity: normal status: open title: Allow configparser to process suplicate options type: feature request versions: Python 3.3 ___ Python tracker <http://bugs.python.org/issue12662> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12662] Add support for duplicate options in configparser
ojab added the comment: There is some [leagcy] proprietary soft-switches, which uses this config format. Personally I use [hacked] configparser to process Mera systems MVTS/SIP-HIT configs in this format, for example. -- ___ Python tracker <http://bugs.python.org/issue12662> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12662] Add support for duplicate options in configparser
ojab added the comment: It may be impelmented as configparser.ConfigParser(strict=yes|no|multiline), so no existing configs will be broken. -- ___ Python tracker <http://bugs.python.org/issue12662> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
