Skip to content

Add code comment re: base64-encoded code in virtualenv.py #286

Closed
@cjerdonek

Description

@cjerdonek

I think it would help to add a code comment near here explaining why virtualenv.py includes base-64 encoded Python scripts, and where the sources for the scripts come from (e.g. are the human-readable versions stored or copied from elsewhere or are these the sources).

I came across this issue while troubleshooting issue #281. The decoded version of DISTRIBUTE_SETUP_PY was being passed as the command-line argument to a subprocess call that wasn't behaving as expected. The script being base-64 encoded makes the issue harder to debug and troubleshoot (and in particular, modify).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions