← Back to team overview

registry team mailing list archive

[Bug 633650] Re: python(abi) autodetection needed for all .py[co] files, not just those beneath /usr/lib*/python*

 

(continuing)
     All *.rpm packages should include *.pyc files.
so that rpm's means to attach SELinux's file contexts
could be used. But RPM could easily automate *.pyc
regeneration where needed. The issue would be
behavior with --verify but an additional
      changed because regenerated by rpm while installing
could be added (and filtered as desired) with --verify.

(aside)
Another reason for packaging *.pyc was to ensure that --erase
also removed side effects like generated/changed *.pyc.
The side effect could be handled in other ways during rpm --erase, like a glob on
*.pyc in same directory, and attaching the same file resolution handling to
*.rpmsave/*.rpmorig/*.rpmnew like resolutions other than just calling unlink(2).

-- 
python(abi) autodetection needed for all .py[co] files, not just those beneath /usr/lib*/python*
https://bugs.launchpad.net/bugs/633650
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Fedora.



References