Bug 10843 - python3 package must not set PYTHONDONTWRITEBYTECODE
Summary: python3 package must not set PYTHONDONTWRITEBYTECODE
Status: RESOLVED DUPLICATE of bug 3348
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL: http://svnweb.mageia.org/packages/cau...
Whiteboard:
Keywords: Junior_job
Depends on:
Blocks:
 
Reported: 2013-07-26 10:18 CEST by Hartmut Goebel
Modified: 2013-08-13 03:08 CEST (History)
0 users

See Also:
Source RPM: python3-3.3.0-4.mga3.src.rpm
CVE:
Status comment:


Attachments

Description Hartmut Goebel 2013-07-26 10:18:58 CEST
This is the same as bug 10842, just for Python3.

The Python RPM contains scripts for profile.d which forcefully sets PYTHONDONTWRITEBYTECODE. Setting this variable leads to a lot of trouble, see bug 3348, bug 3358, and bug 3350. And it leads to a regression in bug 3358#c33.

Pythons default behavior is to write byte-code, so setting this variable changes the normal behavior and objects user expectations. If someone really wants to disable writing byte-code, he should set this variable actively.

Reproducible: 

Steps to Reproduce:
Hartmut Goebel 2013-07-26 10:19:58 CEST

Keywords: (none) => Junior_job
Priority: Normal => High
Summary: python package must not set PYTHONDONTWRITEBYTECODE => python3 package must not set PYTHONDONTWRITEBYTECODE

Comment 1 David Walser 2013-08-13 03:08:07 CEST
Bug 3348 can cover both pythons since it's the same issue.

*** This bug has been marked as a duplicate of bug 3348 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE


Note You need to log in before you can comment on or make changes to this bug.