From: "Денис Смирнов" <mithraen@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] udev rules coldplug [was: Re: hplip в бранче]
Date: Sat, 24 Nov 2007 12:33:10 +0300
Message-ID: <20071124093310.GA31857@mw.local.seiros.ru> (raw)
In-Reply-To: <20071123204049.GA361@solemn.turbinal>
[-- Attachment #1: Type: text/plain, Size: 1290 bytes --]
On Fri, Nov 23, 2007 at 11:40:49PM +0300, Алексей Турбин wrote:
>> Либо меня глючит, либо не будет :(
AT> О каком файле идёт речь?
hp-scan
AT> Все питоновские зависимости "верхнего уровня"
AT> ("без отступа") теперь должны железно отлавливаться. Все гайки
AT> закручены. Если же "import что-то" написано внутри функции, то увы --
AT> такие зависимости сейчас игнорируются. Их пока не удаётся разрулить
AT> даже в самом питоне -- site.py (python-base) условно требует distutils
AT> (python-devel).
AT> То есть поиск зависимостей сейчас гарантирует как минимум то, что
AT> питоновский модуль удастся _загрузить_ без ошибок импорта. А вот будет
AT> ли он работать при вызове каких-то функций -- это более неприятный
AT> вопрос. Я пока не знаю, какой может быть способ отличить "важные"
AT> импорты внутри функций (и вообще условные) от "неважных".
AT> В перле сделано так что "неважное" это только то что завёрнуто в eval.
AT> Но в питоне этот подход почему-то работает хуже.
В данном случае, видимо, надо просто добавить ручную зависимость.
--
С уважением, Денис
http://freesource.info
----------------------------------------------------------------------------
Народная примета: Если пpогpаммист в 09.00 утpа на pаботе, значит он там ночевал...
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-11-24 9:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-09 14:45 [devel] [upravdom@altlinux.org: E: incoming reject: junit4-4.3.1-alt1_1.1jpp1.7.src.rpm] Igor Vlasenko
2007-11-09 14:48 ` Dmitry V. Levin
2007-11-09 14:51 ` Igor Vlasenko
2007-11-09 15:38 ` Alexey Gladkov
2007-11-10 8:08 ` Денис Смирнов
2007-11-22 13:47 ` [devel] hplip в бранче Денис Смирнов
2007-11-22 14:00 ` Igor Vlasenko
2007-11-22 15:26 ` [devel] udev rules coldplug [was: Re: hplip в бранче] Igor Vlasenko
2007-11-23 13:34 ` Денис Смирнов
2007-11-23 13:36 ` Alexey Tourbin
2007-11-23 16:48 ` Денис Смирнов
2007-11-23 20:40 ` Alexey Tourbin
2007-11-24 9:33 ` Денис Смирнов [this message]
2007-11-13 4:57 ` [devel] [upravdom@altlinux.org: E: incoming reject: junit4-4.3.1-alt1_1.1jpp1.7.src.rpm] Ildar Mulyukov
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=20071124093310.GA31857@mw.local.seiros.ru \
--to=mithraen@altlinux.ru \
--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