This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Move venv from a custom Context class to types.SimpleNamespace
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: brett.cannon, carljm, eric.snow, python-dev, vinay.sajip
Priority: low Keywords: easy

Created on 2013-07-12 18:33 by brett.cannon, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg192955 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2013-07-12 18:34
The venv module has a Context class purely to hold attributes of data. This happens to be exactly what types.SimpleNamespace was created for, so it should probably replace Context. Luckily the class is not documented (nor what gets set on it for that matter) so swapping it out should be safe.
msg192967 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-07-12 20:20
New changeset fc340fcd43d2 by Vinay Sajip in branch '3.3':
Issue #18435: Replaced simple attribute container class Context with types.SimpleNamespace.
http://hg.python.org/cpython/rev/fc340fcd43d2

New changeset 113bfefbe5c5 by Vinay Sajip in branch 'default':
Closes #18435: Merged fix from 3.3.
http://hg.python.org/cpython/rev/113bfefbe5c5
History
Date User Action Args
2022-04-11 14:57:47adminsetgithub: 62635
2013-07-12 20:20:12python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg192967

resolution: fixed
stage: needs patch -> resolved
2013-07-12 18:35:45brett.cannonsetnosy: + vinay.sajip
2013-07-12 18:34:46brett.cannonsetkeywords: + easy
priority: normal -> low
messages: + msg192955
2013-07-12 18:33:14brett.cannoncreate