ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: php-coder <php-coder@altlinux.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] python -t && PyQt
Date: Mon, 18 Jul 2005 14:21:13 +0700
Message-ID: <auto-000276308967@intranet.ru> (raw)


    Здравствуйте!

    Узнал вот тут о такой опции для интерпритатора Python, как -t. Вот,
    что написано в мане:

    -t     Issue a warning when a source file mixes tabs and spaces for
           indentation in a way that makes it depend on the worth of a
           tab expressed in spaces. Issue an error when the option is
           given twice.

    Я понял так, что если для отступов используются табы вперемешку с
    пробелами, то интерпретатор выведет предупреждение, а если опция -t
    указана дважды так и вовсе выдаст ошибку.

    Собственно, почему я решил сюда написать? У меня она что-то не
    работает. Как я не пытался намешать пробелы с табами в отступах
    никаких предупреждений/ошибок не выводится.

    Где я не прав?

    [c0der@mycomp ~]$ rpm -q python-base
    python-base-2.4.1-alt3



    P.S. Раз уж зашла речь про Питона: в пакете python-module-PyQt-examples
    есть пример gears.py. Так вот он не запускается:

    [c0der@mycomp /usr/share/doc/python-module-PyQt-examples-3.14.1/examples3]$
    ./gears.py
    Traceback (most recent call last):
      File "./gears.py", line 8, in ?
          from OpenGL.GL import *
          ImportError: No module named OpenGL.GL

   [c0der@mycomp ~]$ rpm -q python-module-PyQt-examples
   python-module-PyQt-examples-3.14.1-alt1.1.1.1.1

   Да и очень уж странный номер релиза у пакета......


-- 
+ php-coder
+ php-coder[at]altlinux[dot]ru





             reply	other threads:[~2005-07-18  7:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-18  7:21 php-coder [this message]
2005-07-18  9:56 ` Vladimir Efremov
2005-07-18 16:34 ` Eugene Vlasov
2005-07-18 22:27   ` Vitaly Lipatov
2005-07-19  8:01     ` Eugene Vlasov

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=auto-000276308967@intranet.ru \
    --to=php-coder@altlinux.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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