ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitriy M. Maslennikov" <maslennikovdm@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Питоньи пакеты
Date: Thu, 12 Feb 2009 16:25:34 +0300
Message-ID: <47c0071b0902120525m374cc89cj2c75a25923ea1b5@mail.gmail.com> (raw)
In-Reply-To: <20090205231917.GB12169@wo.int.altlinux.org>

6 февраля 2009 г. 2:19 пользователь Dmitry V. Levin <ldv@altlinux.org> написал:
>> Понятно. Вопрос знатокам: оптимизированный байт-код Питона ведь тоже
>> кроссплатформенный?
>
> Лет 10 назад с этим было не очень здорово.
> Сейчас, наверное, да, но я в этом вопросе не эксперт.

http://docs.python.org/tutorial/modules.html#compiled-python-files

"Normally, you don't need to do anything to create the spam.pyc file.
Whenever spam.py is successfully compiled, an attempt is made to write
the compiled version to spam.pyc. It is not an error if this attempt
fails; if for any reason the file is not written completely, the
resulting spam.pyc file will be recognized as invalid and thus ignored
later. The contents of the spam.pyc file are platform independent, so
a Python module directory can be shared by machines of different
architectures."

-- 
Dmitriy M. Maslennikov
rlz@etersoft.ru
rlz@altlinux.org
maslennikovdm@gmail.com
master@armory.ru

  parent reply	other threads:[~2009-02-12 13:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-05 22:44 [devel] Питоньи пакеты и girar-builder George V. Kouryachy
2009-02-05 22:57 ` Dmitry V. Levin
2009-02-05 23:10   ` George V. Kouryachy
2009-02-05 23:19     ` [devel] Питоньи пакеты Dmitry V. Levin
2009-02-06 13:44       ` George V. Kouryachy
2009-02-12 13:25       ` Dmitriy M. Maslennikov [this message]
2009-02-06  7:13     ` [devel] Питоньи пакеты и girar-builder Andrey Rahmatullin
2009-02-06  9:13     ` Ivan Fedorov
2009-02-06  7:13 ` Andrey Rahmatullin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47c0071b0902120525m374cc89cj2c75a25923ea1b5@mail.gmail.com \
    --to=maslennikovdm@gmail.com \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git