Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ad039f75
Commit
ad039f75
authored
May 04, 2016
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Plain Diff
Issue #20120: Merge with 3.5
parents
45cdcd93
422cf2b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
Lib/distutils/config.py
Lib/distutils/config.py
+2
-2
Misc/NEWS
Misc/NEWS
+6
-0
No files found.
Lib/distutils/config.py
View file @
ad039f75
...
...
@@ -4,7 +4,7 @@ Provides the PyPIRCCommand class, the base class for the command classes
that uses .pypirc in the distutils.command package.
"""
import
os
from
configparser
import
ConfigParser
from
configparser
import
Raw
ConfigParser
from
distutils.cmd
import
Command
...
...
@@ -53,7 +53,7 @@ class PyPIRCCommand(Command):
repository
=
self
.
repository
or
self
.
DEFAULT_REPOSITORY
realm
=
self
.
realm
or
self
.
DEFAULT_REALM
config
=
ConfigParser
()
config
=
Raw
ConfigParser
()
config
.
read
(
rc
)
sections
=
config
.
sections
()
if
'distutils'
in
sections
:
...
...
Misc/NEWS
View file @
ad039f75
...
...
@@ -10,6 +10,12 @@ Release date: tba
Core and Builtins
-----------------
- Issue #20120: Use RawConfigParser for .pypirc parsing,
removing support for interpolation unintentionally added
with move to Python 3. Behavior no longer does any
interpolation in .pypirc files, matching behavior in Python
2.7 and Setuptools 19.0.
- Issue #26249: Memory functions of the :c:func:`PyMem_Malloc` domain
(:c:data:`PYMEM_DOMAIN_MEM`) now use the :ref:`pymalloc allocator <pymalloc>`
rather than system :c:func:`malloc`. Applications calling
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment