<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>33075</bug_id>
          
          <creation_ts>2017-02-03 15:08:59 +0300</creation_ts>
          <short_desc>pylint не работает должным образом.</short_desc>
          <delta_ts>2020-06-17 16:12:20 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch p8</product>
          <component>pylint</component>
          <version>не указана</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>backport</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vadim Zelenin">VadimZelenin</reporter>
          <assigned_to name="Grigory Ustinov">grenka</assigned_to>
          <cc>grenka</cc>
          
          <qa_contact name="qa-p8@altlinux.org">qa-p8</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>161703</commentid>
    <comment_count>0</comment_count>
      <attachid>6958</attachid>
    <who name="Vadim Zelenin">VadimZelenin</who>
    <bug_when>2017-02-03 15:08:59 +0300</bug_when>
    <thetext>Created attachment 6958
образец файла для проверки

Ожидается, что pylint -E на файле t0.py (см.приложение) не выдаст ничего.

По факту pylint во-первых выдаёт сообщение о своей проблеме (Problem importing), а во-вторых сообщает о несуществующей проблеме (Undefined variable).


$ pylint -E t0.py
Problem importing module classes.py: cannot import name InferenceContext
Problem importing module classes.pyo: cannot import name InferenceContext
Problem importing module classes.pyc: cannot import name InferenceContext
Warning: option include-ids is deprecated and ignored.
************* Module t0
E:  6, 8: Undefined variable &apos;self&apos; (undefined-variable)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>173436</commentid>
    <comment_count>1</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2018-08-17 19:16:17 +0300</bug_when>
    <thetext>В сизифе такого нет. Пробуем бэкпортировать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188074</commentid>
    <comment_count>2</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2020-02-20 14:58:56 +0300</bug_when>
    <thetext>В p9 работает нормально. Обновляйтесь.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>190700</commentid>
    <comment_count>3</comment_count>
    <who name="Vadim Zelenin">VadimZelenin</who>
    <bug_when>2020-06-17 16:12:20 +0300</bug_when>
    <thetext>(Ответ для Grigory Ustinov на комментарий #2)
&gt; В p9 работает нормально. Обновляйтесь.

Рад бы в рай, да грехи не пускают.
в p9 libqt4-sql-mysql собран с libmysqlclient21,
который не может взаимодействовать с &quot;устаревшими&quot; версиями mysql/mariadb.

Я поленюсь пересобирать libqt4-sql-mysql и пока сервера не обновятся останусь на p8 :(</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>6958</attachid>
            <date>2017-02-03 15:08:59 +0300</date>
            <delta_ts>2017-02-03 15:08:59 +0300</delta_ts>
            <desc>образец файла для проверки</desc>
            <filename>t0.py</filename>
            <type>text/x-python</type>
            <size>147</size>
            <attacher name="Vadim Zelenin">VadimZelenin</attacher>
            
              <data encoding="base64">IyEvdXNyL2Jpbi9lbnYgcHl0aG9uCiMgLSotIGNvZGluZzogdXRmOCAtKi0KCiI6KSIKCmNsYXNz
IFQ6CiAgICAiOykiCiAgICBkZWYgX19pbml0X18oc2VsZik6CiAgICAgICAgIjgpIgogICAgICAg
IHNlbGYueCA9IDEyMwoKYSA9IFQoKQpwcmludCBhLngK
</data>

          </attachment>
      

    </bug>

</bugzilla>