Content-Length: 322881 | pFad | http://github.com/python/cpython/pull/4618/files

11 bpo-32155: Revert distutils.config change by vstinner · Pull Request #4618 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Lib/distutils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ def _read_pypirc(self):
if os.path.exists(rc):
self.announce('Using PyPI login from %s' % rc)
repository = self.repository or self.DEFAULT_REPOSITORY
realm = self.realm or self.DEFAULT_REALM

config = RawConfigParser()
config.read(rc)
Expand All @@ -77,7 +76,7 @@ def _read_pypirc(self):
# optional params
for key, default in (('repository',
self.DEFAULT_REPOSITORY),
('realm', realm),
('realm', self.DEFAULT_REALM),
('password', None)):
if config.has_option(server, key):
current[key] = config.get(server, key)
Expand Down Expand Up @@ -106,7 +105,7 @@ def _read_pypirc(self):
'password': config.get(server, 'password'),
'repository': repository,
'server': server,
'realm': realm}
'realm': self.DEFAULT_REALM}

return {}

Expand Down

This file was deleted.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/python/cpython/pull/4618/files

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy