Mailinglist Archive: opensuse-factory (381 mails)

< Previous Next >
Re: [opensuse-factory] Proposal to remove pyc/pyo from Python on TW
  • From: Alberto Planas Dominguez <aplanas@xxxxxxx>
  • Date: Wed, 10 Oct 2018 16:02:20 +0200
  • Message-id: <6614486.8DjFhEKfzP@lena>
On Wednesday, October 10, 2018 3:57:11 PM CEST Neal Gompa wrote:
On Wed, Oct 10, 2018 at 9:53 AM Bernhard M. Wiedemann

<bernhardout@xxxxxxxx> wrote:
There is one more advantage of dropping .pyc files: it helps making
noarch python packages to not depend on the architecture (e.g. currently
.pyc files created on i586 differ from x86_64 .pyc files) which gives a
greater confidence that you are actually running the right thing in the
pyc files are not supposed to be architecture specific, only
interpreter specific. So I would class that as a separate bug

That is correct, but is not a bug. There is not guarantee of reproducible
unmarshalling in Python. You can see the same behavior in Pickle and in other
parts of the Python [de]serializer story.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham
Norton, HRB 21284 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >