Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3515)

Issue 1848051: issue1682942

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 9 months ago by brian.curtin
Modified:
13 years, 9 months ago
Reviewers:
report
Base URL:
http://svn.python.org/view/*checkout*/python/branches/py3k/
Visibility:
Public.

Patch Set 1 #

Total comments: 19
Unified diffs Side-by-side diffs Delta from patch set Stats (+411 lines, -206 lines) Patch
M Doc/library/configparser.rst View 4 chunks +117 lines, -68 lines 11 comments Download
M Lib/configparser.py View 18 chunks +154 lines, -68 lines 8 comments Download
M Lib/test/test_cfgparser.py View 17 chunks +140 lines, -70 lines 0 comments Download

Messages

Total messages: 5
brian.curtin
The tests currently do not pass because the diff file doesn't include the cfgparser.2 file. ...
13 years, 9 months ago (2010-07-27 01:43:16 UTC) #1
sasha
http://codereview.appspot.com/1848051/diff/1/3 File Lib/configparser.py (right): http://codereview.appspot.com/1848051/diff/1/3#newcode35 Lib/configparser.py:35: When `dict_type' is given, it will be used to ...
13 years, 9 months ago (2010-07-27 02:53:58 UTC) #2
Lukasz.Langa (ambv)
On 2010/07/27 02:53:58, sasha wrote: > Backquotes are not usually used in docstring markup and ...
13 years, 9 months ago (2010-07-27 07:34:28 UTC) #3
Lukasz.Langa (ambv)
On 2010/07/27 01:43:16, brian.curtin wrote: > The tests currently do not pass because the diff ...
13 years, 9 months ago (2010-07-27 09:57:38 UTC) #4
merwok
13 years, 9 months ago (2010-07-28 10:24:07 UTC) #5
http://codereview.appspot.com/1848051/diff/1/2
File Doc/library/configparser.rst (right):

http://codereview.appspot.com/1848051/diff/1/2#newcode18
Doc/library/configparser.rst:18: This module defines the classes
:class:`RawConfigParser` and
On 2010/07/27 01:43:16, brian.curtin wrote:
> What about :class:`ConfigParser`?

See #6517: we want to doc-deprecate ConfigParser.

http://codereview.appspot.com/1848051/diff/1/2#newcode86
Doc/library/configparser.rst:86: :class:`SafeConfigParser` constructor as a
dictionary. Additional defaults may
On 2010/07/27 01:43:16, brian.curtin wrote:
> Initializer would be a more appropriate term than constructor

Or: “can be specified by passing them to :class:`SafeConfigParser` as a
dictionary”

http://codereview.appspot.com/1848051/diff/1/3
File Lib/configparser.py (right):

http://codereview.appspot.com/1848051/diff/1/3#newcode118
Lib/configparser.py:118: import sre_parse
Looks like you forgot to remove that.

http://codereview.appspot.com/1848051/diff/1/3#newcode265
Lib/configparser.py:265: delimiters=('=', ':'), comment_prefixes=('#', ';'),
I’d prefer comment_chars or comment_starts, since these are not prefixes. The
mistake is made in other stdlib code, so YMMV.

http://codereview.appspot.com/1848051/diff/1/3#newcode443
Lib/configparser.py:443: If `space_around_delimiters' is True (the default),
delimiters
Please put a blankline between the first line of the docstring (short desc) and
the rest. (PEP 257 for more info)
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b