pylib/py.test 1.2.1 released: improvements, fixes
py.test is a mature, advanced automated testing tool working with Python2, Python3 and Jython versions on all major operating systems. It has a simple plugin architecture and can run many existing common Python test suites without modification. It offers some unique features not found in other testing tools. See http://pytest.org for more info. py.test 1.2.1 brings bug fixes and some new options and abilities triggered by user feedback: * --funcargs [testpath] will show available builtin- and project funcargs. * display a short and concise traceback if funcarg lookup fails. * early-load conftest.py files in non-dot first-level sub directories. * --tb=line will print a single line for each failing test (issue67) * py.cleanup has a number of new options, cleanups up setup.py related files * fix issue78: always call python-level teardown functions even if the according setup failed. For more detailed information see http://codespeak.net/py/dist/announce/release-1.2.1.html or the CHANGELOG below. cheers and have fun, holger Changes between 1.2.1 and 1.2.0 = - refined usage and options for py.cleanup:: py.cleanup # remove *.pyc and *$py.class (jython) files py.cleanup -e .swp -e .cache # also remove files with these extensions py.cleanup -s # remove build and dist directory next to setup.py files py.cleanup -d # also remove empty directories py.cleanup -a # synonym for -s -d -e 'pip-log.txt' py.cleanup -n # dry run, only show what would be removed - add a new option py.test --funcargs which shows available funcargs and their help strings (docstrings on their respective factory function) for a given test path - display a short and concise traceback if a funcarg lookup fails - early-load conftest.py files in non-dot first-level sub directories. allows to conveniently keep and access test-related options in a ``test`` subdir and still add command line options. - fix issue67: new super-short traceback-printing option: --tb=line will print a single line for each failing (python) test indicating its filename, lineno and the failure value - fix issue78: always call python-level teardown functions even if the according setup failed. This includes refinements for calling setup_module/class functions which will now only be called once instead of the previous behaviour where they'd be called multiple times if they raise an exception (including a Skipped exception). Any exception will be re-corded and associated with all tests in the according module/class scope. - fix issue63: assume 40 columns to be a bogus terminal width, default to 80 - fix pdb debugging to be in the correct frame on raises-related errors - update apipkg.py to fix an issue where recursive imports might unnecessarily break importing - fix plugin links -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
Roundup Issue Tracker 1.4.12 released
I'm proud to release version 1.4.12 of Roundup which fixes a number bugs. This release includes fixes for some potential security holes. Please see the upgrading documentation for details of what you might need to do in your tracker. If you're upgrading from an older version of Roundup you *must* follow the Software Upgrade guidelines given in the maintenance documentation. This release includes: - Support IMAP CRAM-MD5, thanks Jochen Maes - Proper handling of 'Create' permissions in both mail gateway (earlier commit r4405 by Richard), web interface, and xmlrpc. This used to check 'Edit' permission previously. See http://thread.gmane.org/gmane.comp.bug-tracking.roundup.devel/5133 Add regression tests for proper handling of 'Create' and 'Edit' permissions. - Fix handling of non-ascii in realname in the nosy mailer, this used to mangle the email address making it unusable when replying. Thanks to intevation for funding the fix. - Fix documentation on user required to run the tests, fixes issue2550618, thanks to Chris aka 'radioking' - Add simple doc about translating customised tracker content - Add flup setup documentation, thanks Christian Glass - Fix Web Access permission check to allow serving of static files to Anonymous again - Add check for Web Access permission in all web templating permission checks - Improvements in upgrading documentation, thanks Christian Glass - Display 'today' in the account user's timezone, thanks David Wolever - Fix file handle leak in some web interfaces with logging turned on, fixes issue1675845 - Attempt to generate more human-readable addresses in email, fixes issue2550632 - Allow value to be specified to multilink form element templating, fixes issue2550613, thanks David Wolever - Fix thread safety with stdin in roundup-server, fixes issue2550596 (thanks Werner Hunger) Roundup requires python 2.3 or later (but not 3+) for correct operation. To give Roundup a try, just download (see below), unpack and run:: roundup-demo Release info and download page: http://cheeseshop.python.org/pypi/roundup Source and documentation is available at the website: http://roundup.sourceforge.net/ Mailing lists - the place to ask questions: http://sourceforge.net/mail/?group_id=31577 About Roundup = Roundup is a simple-to-use and -install issue-tracking system with command-line, web and e-mail interfaces. It is based on the winning design from Ka-Ping Yee in the Software Carpentry Track design competition. Note: Ping is not responsible for this project. The contact for this project is rich...@users.sourceforge.net. Roundup manages a number of issues (with flexible properties such as description, priority, and so on) and provides the ability to: (a) submit new issues, (b) find and edit existing issues, and (c) discuss issues with other participants. The system will facilitate communication among the participants by managing discussions and notifying interested parties when issues are edited. One of the major design goals for Roundup that it be simple to get going. Roundup is therefore usable out of the box with any python 2.3+ (but not 3+) installation. It doesn't even need to be installed to be operational, though an install script is provided. It comes with two issue tracker templates (a classic bug/feature tracker and a minimal skeleton) and four database back-ends (anydbm, sqlite, mysql and postgresql). -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
Python-URL! - weekly Python news and links (Feb 9)
QOTW: You see? That's what I like about the Python community: people even apologise for apologising :) - Tim Golden http://groups.google.com/group/comp.lang.python/msg/858d1c31d0c2adff The third alpha version of Python 2.7 is ready for testing: http://groups.google.com/group/comp.lang.python/t/6f49dacfe8759508/ How to enumerate all possible strings matching a given regular expression: http://groups.google.com/group/comp.lang.python/t/1b78346c6661ac4f/ Which language features do you like most? http://groups.google.com/group/comp.lang.python/t/599b3c9772421ece/ Implementing a two-dimensional array in a simple way seems to actually be more efficient than other, more sophisticated alternatives: http://groups.google.com/group/comp.lang.python/t/55e595d6dc4ca3f4/ The new GIL (to be implemented in Python 3.2) will provide less overhead, especially in multicore CPUs: http://groups.google.com/group/comp.lang.python/t/586ef2d3685fa7ea/ In Python 3, 'exec' inside a function does not have the same effect as before: http://groups.google.com/group/comp.lang.python/t/7a046e4ede9c310a/ Using Queue objects to feed and synchronize several worker threads: http://groups.google.com/group/comp.lang.python/t/32256dd608c9c02/ New generation IDEs should provide much better and integrated refactoring tools: http://groups.google.com/group/comp.lang.python/t/e019614ea149e7bd/ There is no module in the standard library to handle filesystem paths in an OO way - but why? http://groups.google.com/group/comp.lang.pythonf580fb3763208425ece/ A History Channel special: how the way a TAB key was interpreted changed over time http://groups.google.com/group/comp.lang.python82d9181fcd31ffea3f4/ After a false start, finally we get our first Is it Call-By-Value or Call-By-Reference? thread of the year! http://groups.google.com/group/comp.lang.pythonfd36962c4970ac487ea/ Everything Python-related you want is probably one or two clicks away in these pages: Python.org's Python Language Website is the traditional center of Pythonia http://www.python.org Notice especially the master FAQ http://www.python.org/doc/FAQ.html PythonWare complements the digest you're reading with the marvelous daily python url http://www.pythonware.com/daily Just beginning with Python? This page is a great place to start: http://wiki.python.org/moin/BeginnersGuide/Programmers The Python Papers aims to publish the efforts of Python enthusiasts: http://pythonpapers.org/ The Python Magazine is a technical monthly devoted to Python: http://pythonmagazine.com Readers have recommended the Planet site: http://planet.python.org comp.lang.python.announce announces new Python software. Be sure to scan this newsgroup weekly. http://groups.google.com/group/comp.lang.python.announce/topics Python411 indexes podcasts ... to help people learn Python ... Updates appear more-than-weekly: http://www.awaretek.com/python/index.html The Python Package Index catalogues packages. http://www.python.org/pypi/ Much of Python's real work takes place on Special-Interest Group mailing lists http://www.python.org/sigs/ Python Success Stories--from air-traffic control to on-line match-making--can inspire you or decision-makers to whom you're subject with a vision of what the language makes practical. http://www.pythonology.com/success The Python Software Foundation (PSF) has replaced the Python Consortium as an independent nexus of activity. It has official responsibility for Python's development and maintenance. http://www.python.org/psf/ Among the ways you can support PSF is with a donation. http://www.python.org/psf/donations/ The Summary of Python Tracker Issues is an automatically generated report summarizing new bugs, closed ones, and patch submissions. http://search.gmane.org/?author=status%40bugs.python.orggroup=gmane.comp.python.develsort=date nullege is an interesting search Web application, with the intelligence to distinguish between Python code and comments. It provides what appear to be relevant results, and demands neither Java nor CSS be enabled: http://www.nullege.com Although unmaintained since 2002, the Cetus collection of Python hyperlinks retains a few gems. http://www.cetus-links.org/oo_python.html Python FAQTS http://python.faqts.com/ The Cookbook is a collaborative effort to capture useful and interesting recipes. http://code.activestate.com/recipes/langs/python/ Many Python
PyCon Dress Rehearsal at the Greater Toronto Area Python User's Group, Feb 16th, 7pm
This month at PyGTA we have a special treat, 3 PyCon Presenters will do a dress rehearsal of their PyCon 2010 presentations just before they head down to Atlanta. All three talks are targeting general audiences, so feel free to bring along your new Pythonista friends. We have 3 PyCon previews scheduled: * What We've Learned From Building Basie — Greg Wilson * Think Globally, Hack Locally - Teaching Python in Your Community — Leigh Honeywell * Debating 'til Dawn: Topics to keep you up all night — Mike Fletcher We will give each presenter 20 minutes and then as much question/answer and feedback time as they want. At PyCon they'll only get 30 minutes total, but we want to give them as much feedback as possible so they can polish their presentation for the larger audience. We'll start the presentations at 7:30PM (sharp) at Linux Caffe on the 16th. If you bring a laptop, there will be an immediate feedback channel available. PyGTA: http://www.pygta.org Linux Caffe: http://www.pygta.org/venue/ Have fun, Mike -- Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/