Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #11980
| From | Ansgar <ansgar@43-1.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Python module packages that don't bytecompile on installation? |
| Date | 2019-11-04 09:10 +0100 |
| Message-ID | <yYFAZ-6wu-1@gated-at.bofh.it> (permalink) |
| References | <yXSgV-18y-1@gated-at.bofh.it> <yXYw1-57g-5@gated-at.bofh.it> <yYcSl-5mr-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Paul Wise writes: > On Sat, Nov 2, 2019 at 6:04 PM Matthias Klose wrote: >> I'd say, there are currently more pressing issues than that, like the Python2 >> removal, or the introduction of Python 3.8. 3.8 also offers a central directory >> for bc files, so that's maybe another thing to look at, but not a priority now >> from my point of view. > > Agreed re Python 2 etc. Eventually switching to using a central > directory in /var would be nice, right now the .pyc files are dumped > cruftily into /usr subdirs. But /var is for variable state data, i.e. data that is modified during regular system operation. This isn't the case for *.pyc which follow the same rules as the *.py included directly in the packages. So these files should stay in /usr. (I even think /var/lib/dpkg/info should really be in /usr for similar reasons.) See also http://0pointer.net/blog/projects/stateless.html for some other reasons why not using /var might be an advantage. Ansgar
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Python module packages that don't bytecompile on installation? Paul Wise <pabs@debian.org> - 2019-11-02 04:30 +0100
Re: Python module packages that don't bytecompile on installation? Matthias Klose <doko@debian.org> - 2019-11-02 11:10 +0100
Re: Python module packages that don't bytecompile on installation? Paul Wise <pabs@debian.org> - 2019-11-03 02:30 +0100
Re: Python module packages that don't bytecompile on installation? Matthias Klose <doko@debian.org> - 2019-11-03 10:30 +0100
Re: Python module packages that don't bytecompile on installation? Ansgar <ansgar@43-1.org> - 2019-11-04 09:10 +0100
csiph-web