473,666 Members | 2,058 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PyChecker lives, version 0.8.15 released

Special thanks to Ken Pronovici. He did a lot of work for this
release and helped ensure it occurred.

Version 0.8.15 of PyChecker is available. It's been over a year since
the last release. Wow, time really does fly. Since it's been so long
I'm sure I screwed something up, treat it delicately. It may have bugs
and erase your hard drive. If that happens, look on the bright side,
you won't have any more bugs. :-)

PyChecker is a tool for finding bugs in Python source code.
It finds problems that are typically caught by a compiler for less
dynamic languages, like C and C++. It is similar to lint.

Comments, criticisms, new ideas, and other feedback is welcome.

Since I expect there may be a bit more bugs than normal, I will try to
put out another release in a few weeks. Please file bug reports
including problems with installation, false positives, &c on Source Forge.
You are welcome to use the mailling list to discuss anything pychecker
related, including ideas for new checks.

Changes from 0.8.14 to 0.8.15:

* Fix spurious warning about catching string exceptions
* Don't barf if there is # -*- encoding: ... -*- lines and unicode strings
* setup.py was rewritten to honor --root, --home, etc options
* Fix internal error on processing nested scopes
* Fix constant tuples in Python 2.4
* Don't warn about implicit/explicit returns in Python 2.4, we can't tell
* Fix crash when __slots__ was an instance w/o __len__
* Fix bug that declared {}.pop to only take one argument, it takes 1 or 2
* Fix spurious warning when using tuples for exceptions
* Fix spurious warning <stack> / <stack>
* Fix spurious warnings for sets module about __cmp__, __hash__
* Changed abstract check to require raising NotImplementedE rror
rather than raising any error
* Fix spurious warnings in Python 2.4 for Using is (not) None warnings
* Fix spurious warnings for some instances of No class attribute found
* Fix spurious warnings for implicit returns when using nested functions

PyChecker is available on Source Forge:
Web page: http://pychecker.sourceforge.net/
Project page: http://sourceforge.net/projects/pychecker/
Mailing List: py************@ lists.sourcefor ge.net

Neal
--
py************@ lists.sourcefor ge.net
Sep 1 '05 #1
1 1401
Neal Norwitz wrote:
Special thanks to Ken Pronovici. He did a lot of work for this
release and helped ensure it occurred.

Version 0.8.15 of PyChecker is available. It's been over a year since
the last release. Wow, time really does fly. Since it's been so long
I'm sure I screwed something up, treat it delicately. It may have bugs
and erase your hard drive. If that happens, look on the bright side,
you won't have any more bugs. :-)

PyChecker is a tool for finding bugs in Python source code.
It finds problems that are typically caught by a compiler for less
dynamic languages, like C and C++. It is similar to lint.

Comments, criticisms, new ideas, and other feedback is welcome.

Since I expect there may be a bit more bugs than normal, I will try to
put out another release in a few weeks. Please file bug reports
including problems with installation, false positives, &c on Source Forge.
You are welcome to use the mailling list to discuss anything pychecker
related, including ideas for new checks.

Changes from 0.8.14 to 0.8.15:

* Fix spurious warning about catching string exceptions
* Don't barf if there is # -*- encoding: ... -*- lines and unicode strings
* setup.py was rewritten to honor --root, --home, etc options
* Fix internal error on processing nested scopes
* Fix constant tuples in Python 2.4
* Don't warn about implicit/explicit returns in Python 2.4, we can't tell
* Fix crash when __slots__ was an instance w/o __len__
* Fix bug that declared {}.pop to only take one argument, it takes 1 or 2
* Fix spurious warning when using tuples for exceptions
* Fix spurious warning <stack> / <stack>
* Fix spurious warnings for sets module about __cmp__, __hash__
* Changed abstract check to require raising NotImplementedE rror
rather than raising any error
* Fix spurious warnings in Python 2.4 for Using is (not) None warnings
* Fix spurious warnings for some instances of No class attribute found
* Fix spurious warnings for implicit returns when using nested functions

PyChecker is available on Source Forge:
Web page: http://pychecker.sourceforge.net/
Project page: http://sourceforge.net/projects/pychecker/
Mailing List: py************@ lists.sourcefor ge.net

Neal
--
py************@ lists.sourcefor ge.net


Not to complain, as this is a very useful one-of-a-kind tool, but it
does appear to use more memory than I can imagine how when you run it on
a substantial program. Like a few kilobytes per line of code, maybe.
It's slow, too, but that's ok for the usefulness of it, but trying to
let it run and do something else with someone else's code bloat (like MS
Word or something) in another window leads to something
indistinguishab le from system meltdown. Any reason for hope of future
improvements in this regard?
Al
Sep 3 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
1963
by: achrist | last post by:
The pychecker site says that pychecker works with versions 1.5 through 2.2. Any reason to expect that 2.3 breaks it? Anyone tried it to see? TIA Al
0
1745
by: Pedro Werneck | last post by:
Hi, I don't know if I should ask this here or on an emacs group/list. If I choose wrong, please forgive me. I am trying to run pychecker on the current buffer on python-mode using the py-pychecker-run command, but it fails with the "Symbol's function definition is void: read-shell-command" error. I don't know elisp, but seems this is the point where the error occurs: ;; Pychecker (defun py-pychecker-run (command) "*Run pychecker...
1
1476
by: Neal Norwitz | last post by:
A new version of PyChecker is (finally) available for your hacking pleasure. It's been quite a while since the last release--11 months. I wish there was more progress, but such is life. Many bug fixes and some new warnings were added. I hope to get future releases out faster. I have several patches queued up and ideas for more warnings. As always, I'd like to hear your suggestions for common mistakes and bugs than can/should be...
10
3817
by: Kylotan | last post by:
Is there a practical way to use Pychecker in Windows? It doesn't work under IDLE. (In fact, it seems to end up breaking everything, and every subsequent statement and expression I execute gets ignored.) Running it from the Python interpreter in DOS means everything scrolls off the screen. Ideally I'd like to redirect it to a file, or be able to use it in IDLE. -- Ben Sizer
4
2254
by: beliavsky | last post by:
If I run PyChecker on the following program, stored in xtry.py, m = 10000000 k = 0 for i in xrange(m): k = k + i print k x = range(3) print x
8
2082
by: Frans Englich | last post by:
Hello, I take PyChecker partly as an recommender of good coding practice, but I cannot make sense of some of the messages. For example: runner.py:878: Function (main) has too many lines (201) What does this mean? Cannot functions be large? Or is it simply an advice that functions should be small and simple?
21
1941
by: Philippe Fremy | last post by:
Hi, I would like to develop a tool that goes one step further than pychecker to ensure python program validity. The idea would be to get close to what people get on ocaml: a static verification of all types of the program, without any kind of variable declaration. This would definitely brings a lot of power to python. The idea is to analyse the whole program, identify constraints on function arguments and check that these constraints...
4
1935
by: Anthony Greene | last post by:
Howdy, I had the impression that pychecker caught and reported such dynamic syntactical errors. #!/usr/bin/env python def add(i): i += 10 status = 3
0
1040
by: KLEIN Stephane | last post by:
Hi, I wonder if pychecker projet is dead ? On pychecker home page (http://pychecker.sourceforge.net/), last version date from February 3, 2006 and their mailist contain spam messages only. Other tools like pychecker is pylint at (http://www.logilab.org/project/eid/857). This is a great tools and it's still
0
8356
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8869
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8781
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8551
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8639
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5664
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4368
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.