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

Unified Diff: Lib/collections/abc.py

Issue 19218: Use of MutableMapping in os module slows down interpreter startup
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Lib/os.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/collections/abc.py
+++ b/Lib/collections/abc.py
@@ -7,6 +7,7 @@
"""
from abc import ABCMeta, abstractmethod
+import os
import sys
__all__ = ["Hashable", "Iterable", "Iterator",
@@ -588,6 +589,7 @@
return default
MutableMapping.register(dict)
+MutableMapping.register(os._Environ)
### SEQUENCES ###
« no previous file with comments | « no previous file | Lib/os.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+