<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/pychecker/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/pychecker/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 07 Jul 2016 12:56:32 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pychecker/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>#10 Pychecker index error on first run (Windows 7)</title><link>https://sourceforge.net/p/pychecker/support-requests/10/?limit=25#ce4c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Problem resolved.&lt;br/&gt;
I found the following support request which refers to a need to use short format (8.3) path and filenames in pychecker.bat and not long format as is allowed in newer versions of Windows.&lt;br/&gt;
&lt;a href="https://sourceforge.net/p/pychecker/support-requests/7/#96cb"&gt;https://sourceforge.net/p/pychecker/support-requests/7/#96cb&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stewart Paton</dc:creator><pubDate>Thu, 07 Jul 2016 12:56:32 -0000</pubDate><guid>https://sourceforge.net6faac6f66af54bca7a349fcacb219038eb090d0a</guid></item><item><title>Pychecker index error on first run (Windows 7)</title><link>https://sourceforge.net/p/pychecker/support-requests/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I've just installed pychecker on windows 7 Pro using "python setup.py install". When I run it on my script using the command:&lt;/p&gt;
&lt;p&gt;c:\Python26\Scripts\pychecker.bat -#100 finaltest17.py&lt;/p&gt;
&lt;p&gt;I get the following error/traceback:&lt;/p&gt;
&lt;p&gt;C:\Users....\ToBeReleased&amp;gt;C:\Python26\python.exe C:\Python26\Lib\site-packages\pychecker\checker.py -#100 finaltest17.py&lt;br/&gt;
Processing module finaltest17 (finaltest17.py)...&lt;br/&gt;
  Caught exception importing module finaltest17:&lt;br/&gt;
    File "C:\Python26\Lib\site-packages\pychecker\pcmodules.py", line 533, in setupMainCode()&lt;br/&gt;
      self.moduleName, self.moduleDir)&lt;br/&gt;
    File "C:\Python26\Lib\site-packages\pychecker\pychecker\utils.py", line 184, in findModule()&lt;br/&gt;
      handle, filename, smt = _q_find_module(p, path)&lt;br/&gt;
    File "C:\Python26\Lib\site-packages\pychecker\pychecker\utils.py", line 162, in _q_find_module()&lt;br/&gt;
      if not cfg().quixote:&lt;br/&gt;
    File "C:\Python26\Lib\site-packages\pychecker\pychecker\utils.py", line 39, in cfg()&lt;br/&gt;
      return _cfg&lt;span&gt;[-1]&lt;/span&gt;&lt;br/&gt;
  IndexError: list index out of range&lt;br/&gt;
Traceback (most recent call last):&lt;br/&gt;
  File "C:\Python26\Lib\site-packages\pychecker\checker.py", line 364, in &amp;lt;module&amp;gt;&lt;br/&gt;
    sys.exit(main(sys.argv))&lt;br/&gt;
  File "C:\Python26\Lib\site-packages\pychecker\checker.py", line 337, in main&lt;br/&gt;
    importWarnings = processFiles(files, _cfg, _print_processing)&lt;br/&gt;
  File "C:\Python26\Lib\site-packages\pychecker\checker.py", line 270, in processFiles&lt;br/&gt;
    loaded = pcmodule.load()&lt;br/&gt;
  File "C:\Python26\Lib\site-packages\pychecker\pcmodules.py", line 477, in load&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;return utils.cfg().ignoreImportErrors
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;File "C:\Python26\Lib\site-packages\pychecker\pychecker\utils.py", line 39, in cfg&lt;br/&gt;
    return _cfg&lt;span&gt;[-1]&lt;/span&gt;&lt;br/&gt;
IndexError: list index out of range&lt;/p&gt;
&lt;p&gt;If you could point me in the right direction that would be great.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Stewart&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stewart Paton</dc:creator><pubDate>Thu, 07 Jul 2016 09:00:23 -0000</pubDate><guid>https://sourceforge.net770aaf0f4873e5b68c0e261787941bce504d2c9e</guid></item><item><title>Pychecker sometimes thinks a function returns None when it doesn't.</title><link>https://sourceforge.net/p/pychecker/support-requests/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Pychecker thinks I have a function that returns None, but it returns a list. I saw a similar problem with a dict, but this is the simplest version I could send.&lt;/p&gt;
&lt;p&gt;I'm on a Macbook Air running Mavericks in terminal, with pychecker 0.8.19 and python 2.7&lt;/p&gt;
&lt;p&gt;will@will-macbook-air:~/temp$ pychecker test.py&lt;br /&gt;
Processing module test (test.py)...&lt;/p&gt;
&lt;p&gt;Warnings...&lt;/p&gt;
&lt;p&gt;test.py:4: Local variable (i) not used&lt;br /&gt;
test.py:8: Using the return value from (chars) which is always None &lt;br /&gt;
will@will-macbook-air:~/temp$ more test.py&lt;/p&gt;
&lt;h1 id="usrbinenv-python"&gt;!/usr/bin/env python&lt;/h1&gt;
&lt;p&gt;def chars():&lt;br /&gt;
    return ''.join(&lt;span&gt;['a' for i in xrange(2)]&lt;/span&gt;)&lt;/p&gt;
&lt;p&gt;def main():&lt;br /&gt;
    x = chars()&lt;br /&gt;
    print x&lt;/p&gt;
&lt;p&gt;if &lt;strong&gt;name&lt;/strong&gt; == '&lt;strong&gt;main&lt;/strong&gt;':&lt;br /&gt;
    main()&lt;br /&gt;
will@will-macbook-air:~/temp$ ./test.py &lt;br /&gt;
aa&lt;br /&gt;
will@will-macbook-air:~/temp$ &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">William Cross</dc:creator><pubDate>Fri, 21 Feb 2014 21:59:35 -0000</pubDate><guid>https://sourceforge.netc943c719ecd032ee695877afafafce1dc1819749</guid></item><item><title>Entry at PyPi</title><link>https://sourceforge.net/p/pychecker/support-requests/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The entry at PyPi &lt;a href="http://pypi.python.org/pypi/PyChecker" rel="nofollow"&gt;http://pypi.python.org/pypi/PyChecker&lt;/a&gt; is for an old version.&lt;br /&gt;
It contains no download url, so it won't install with setuptools and easy_install.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rene Liebscher</dc:creator><pubDate>Tue, 27 Oct 2009 14:32:29 -0000</pubDate><guid>https://sourceforge.net6cb4eea44347f31075002cee279d661e66389fde</guid></item><item><title>pyChecker Installation</title><link>https://sourceforge.net/p/pychecker/support-requests/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I'm having trouble getting pyChecker installed and working via Windows.  (I want to be able to check python scripts for work.)&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Is there some sort of documentation or explanation out there on how to get this up and running?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;br /&gt;
Lance T.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lance tuscany</dc:creator><pubDate>Wed, 02 Jul 2008 21:19:01 -0000</pubDate><guid>https://sourceforge.net03b4a5f35a43c3389f469b1a0eb4827f25741673</guid></item><item><title>question</title><link>https://sourceforge.net/p/pychecker/support-requests/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I execfile some script from another script like below&lt;/p&gt;
&lt;p&gt;i = 5&lt;br /&gt;
execfile(script)&lt;/p&gt;
&lt;p&gt;script uses i&lt;/p&gt;
&lt;p&gt;Running script standalone as well as running script through pychecker is not possible because script expects i&lt;/p&gt;
&lt;p&gt;I still need to run script through pychecker.&lt;/p&gt;
&lt;p&gt;I must do that from the calling script.&lt;/p&gt;
&lt;p&gt;How?&lt;/p&gt;
&lt;p&gt;Many thanks,&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Okko Willeboordse</dc:creator><pubDate>Fri, 15 Dec 2006 17:38:56 -0000</pubDate><guid>https://sourceforge.net311a1530cc7633c5ba9d6e4a65cd13cdecb27a8d</guid></item><item><title>wx in BLACKLIST</title><link>https://sourceforge.net/p/pychecker/support-requests/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Config.py should contain "wx" in the BLACKLIST in&lt;br /&gt;
addition to "wxPython"&lt;/p&gt;
&lt;p&gt;I tried to checkout the source according to the&lt;br /&gt;
instructions, but password: anonymous failed (I even&lt;br /&gt;
cut and pasted it from the web page, no joy)&lt;/p&gt;
&lt;p&gt;- Kevin Grover &amp;lt;kogrover@yahoo.com&amp;gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 29 Sep 2006 00:15:44 -0000</pubDate><guid>https://sourceforge.netb946351d08daeed849fab9aac0ce3848605030cb</guid></item><item><title>No global bug?</title><link>https://sourceforge.net/p/pychecker/support-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have two files:&lt;/p&gt;
&lt;p&gt;------------------------------------------------&lt;br /&gt;
runner.py:&lt;/p&gt;
&lt;p&gt;#! /usr/bin/env python&lt;/p&gt;
&lt;p&gt;import pychecker.checker&lt;br /&gt;
from my_module import mangle_hash&lt;/p&gt;
&lt;p&gt;hash = {'A':range(5),&lt;br /&gt;
'B': range(10, 15),&lt;br /&gt;
'C':range(20, 25)}&lt;br /&gt;
mangle_hash(hash)&lt;br /&gt;
------------------------------------------------&lt;br /&gt;
my_module.py:&lt;/p&gt;
&lt;p&gt;def mangle_hash (my_hash):&lt;br /&gt;
new_hash = {}&lt;br /&gt;
for key in my_hash.keys():&lt;br /&gt;
new_hash[squidy] = my_hash[key]&lt;br /&gt;
print new_hash&lt;br /&gt;
------------------------------------------------&lt;/p&gt;
&lt;p&gt;When I run runner.py, I get this output:&lt;/p&gt;
&lt;p&gt;my_module.py:4: No global (squidy) found&lt;br /&gt;
{'squidy': [10, 11, 12, 13, 14]}&lt;/p&gt;
&lt;p&gt;Indicating that the previously undeclared variable&lt;br /&gt;
squidy is being converted to the string 'squidy', which&lt;br /&gt;
is then used as a key for new_hash.&lt;/p&gt;
&lt;p&gt;When I run runner without importing pychecker.checker,&lt;br /&gt;
I get the expected error:&lt;/p&gt;
&lt;p&gt;Traceback (most recent call last):&lt;br /&gt;
File &amp;amp;quot;./runner.py&amp;amp;quot;, line 9, in ?&lt;br /&gt;
mangle_hash(hash)&lt;br /&gt;
File &amp;amp;quot;./my_module.py&amp;amp;quot;, line 4, in mangle_hash&lt;br /&gt;
new_hash[squidy] = my_hash[key]&lt;br /&gt;
NameError: global name 'squidy' is not defined&lt;/p&gt;
&lt;p&gt;This makes me think that when pychecker finds the&lt;br /&gt;
non-existant variable squidy, it is making it into a&lt;br /&gt;
string.&lt;/p&gt;
&lt;p&gt;Is this a bug?  To me, this behavior is unexpected,&lt;br /&gt;
because it converts an mistake that normally causes an&lt;br /&gt;
exception into a pychecker warning.  I didn't see&lt;br /&gt;
anyway to directly turn this behaviour off in  pycheckrc.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Josh&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Josh Stanley</dc:creator><pubDate>Wed, 27 Nov 2002 20:40:25 -0000</pubDate><guid>https://sourceforge.net5f38746cb2833e994c41d52d09442debaa45de58</guid></item><item><title>Warning, option (unpackSize) doesn't exi</title><link>https://sourceforge.net/p/pychecker/support-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I keep getting this warning, even though the option is&lt;br /&gt;
defined in my ~/.pycheckrc file.  What's going on?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 20 Jun 2002 19:43:02 -0000</pubDate><guid>https://sourceforge.net892b543dda637a8c6f3ef95e4d600d4db6917250</guid></item><item><title>How do you use this with paths?</title><link>https://sourceforge.net/p/pychecker/support-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The documentation says to run &amp;amp;quot;pychecker myFile.py&amp;amp;quot; to&lt;br /&gt;
check myFile.py.  But pychecker is a directory, not an&lt;br /&gt;
executable file.  Also, there are modules in the&lt;br /&gt;
pychecker2 directory that import from the pychecker2&lt;br /&gt;
package, which implies that the parent directory must&lt;br /&gt;
be in the Python system path.&lt;/p&gt;
&lt;p&gt;Is it intended that both the pychecker and pychecker2&lt;br /&gt;
directories are to be put in site_packages?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 20 Jun 2002 18:23:11 -0000</pubDate><guid>https://sourceforge.netf9517eb3df1dedb6a551a83ec7e858dd6666833b</guid></item></channel></rss>