Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pygolang pygolang
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • pygolangpygolang
  • Merge requests
  • !30

Closed
Created Sep 22, 2024 by Kirill Smelkov@kirrOwner
  • Report abuse
Report abuse

gpython: Implement -E, -X and -v

  • Overview 8
  • Commits 3
  • Changes 3

Let's teach gpython and pymain about -E (ignore $PYTHON* environment variables) because new buildout runs python -E inside. Xavier reports:

Since slapos was upgraded zc.buildout 3.0.1+slapos004, tests for
slapos.rebootstrap and slapos.recipe.template fail because buildout now
installs in develop with pip install --editable instead of python
setup.py develop and in the process pip runs python -E, e.g.
https://erp5js.nexedi.net/#/test_result_module/20240912-837A12F7/10

For the implementation use the same approach to reexecute underlying interpreter with given low-level option as we already did for -O in 8564dfdd (gpython: Implement -O).

/reported-by @xavier_thompson
/cc @jerome

EDIT Sep.23 Also add patches to implement -X and -v

Edited Sep 23, 2024 by Kirill Smelkov
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: y/pymain-E
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7