From: Andrey Orlov <cray@neural.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Сборка пакетов, содержащих .py
Date: Sun, 18 Jan 2004 21:32:42 +0300
Message-ID: <200401182132.43144.cray@neural.ru> (raw)
In-Reply-To: <20040116232028.GA28400@nomad.office.altlinux.org>
On Saturday 17 January 2004 02:20, Dmitry V. Levin wrote:
> install" таким образом, что $RPM_BUILD_ROOT попадал в информацию об
> установочном пути, в результате чего после установки пакета от этого
> байт-кода уже не было никакой пользы (python его игнорировал). Отсюда и
Я сейчас проверил, по крмре в коде python2.3/import.c, такой проверки нет,
обходятся mtime. И тестирование продемонстрировало что такой проверки нет,
ну или пкрмре я ее не нашел покрмре для *pyc файлов.
В тоже время, путь и имя исходного файла сохраняются в *pyc и существует
воспроизводимая ситуация, в которой этот путь будет отображен в traceback при
исключении (отсутствие исходного модуля при наличии скомпилированного),
так что хотя проблема теперь стоит, видимо, не так остро, она осталась.
(все проверки делались на python-2.3.3-alt4.2, это моя домашняя сборка, прототип alt5)
--
WthBstRgrds -- Андрей Орлов --
--- http: www.neural.ru, mail: cray@neural.ru, jid: cray@altlinux.org ---
----------------------------------------
prev parent reply other threads:[~2004-01-18 18:32 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-13 13:02 Alexey Morozov
2004-01-13 13:16 ` Dmitry V. Levin
2004-01-14 15:04 ` Alexey Morozov
2004-01-14 15:16 ` Dmitry V. Levin
2004-01-16 2:51 ` Alexey Morozov
2004-01-14 16:35 ` [devel] " Michael Shigorin
2004-01-16 7:12 ` [devel] " Andrey Orlov
2004-01-16 10:50 ` Alexey Morozov
2004-01-16 11:30 ` Klimchev Konstantin
2004-01-16 11:46 ` Alexey Morozov
2004-01-16 11:58 ` Klimchev Konstantin
2004-01-16 15:10 ` Andrey Orlov
2004-01-16 19:58 ` Alexey Morozov
2004-01-16 21:02 ` Andrey Orlov
2004-01-19 15:13 ` Alexey Morozov
2004-01-19 15:26 ` Andrey Orlov
2004-01-16 23:20 ` Dmitry V. Levin
2004-01-18 18:32 ` Andrey Orlov [this message]
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=200401182132.43144.cray@neural.ru \
--to=cray@neural.ru \
--cc=devel@altlinux.ru \
/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