newsThe BMRB library - News: Bmrblib version 1.0.1.

 
 
Show feedback again
Latest News
Bmrblib version 1.0.3. posted by bugman, Mon 27 May 2013 09:29:19 AM UTC - 0 replies
Bmrblib version 1.0.2. posted by bugman, Mon 11 Mar 2013 07:30:21 AM UTC - 0 replies
Bmrblib version 1.0.1. posted by bugman, Sat 09 Mar 2013 11:48:01 AM UTC - 0 replies
Bmrblib version 1.0.0 0 - the initial release. posted by bugman, Tue 12 Jun 2012 09:41:50 AM UTC - 0 replies
[Submit News]
[4 news in archive]

Bmrblib version 1.0.1.

Item posted by Edward d Auvergne <bugman> on Sat 09 Mar 2013 11:48:01 AM UTC.

Description

This is the Python 3 release - Bmrblib is now fully compatible with all Python versions.

Download

The new bmrblib versions can be downloaded from http://download.gna.org/bmrblib/.

Full list of changes

Features

  • Full Python 3 support.

Changes

  • Modified pystarlib to be able to write to file objects. The old behaviour was to call the builtin Python open() function to open the file. Now this only occurs when the filename class variable is a string.
  • Converted the pystarlib imports to be both Python 2 and 3 compatible.
  • Pystarlib is now fully Python 2 and 3 compatible. The conversion command used was:

-f except -f long -f numliterals -f xrange .

  • Import changes to support both Python 2 and 3.
  • The bmrblib library is now fully Python 2 and 3 compatible. The command used to convert all files was: 2to3 -w -f except -f long -f numliterals -f xrange .
  • Python 3 preparations - all usage of string.split() and string.strip() has been eliminated.
  • Python 3 - fixes for the now missing string module functions.
  • Another set of Python 3 import fixes - the absolute module path with 'bmrblib' is now used.
  • Converted the pystarlib Utils.transpose() function to support all Python versions. The 'fast transposing algorithm' is not compatible with Python 3, so a standard slow manual algorithm which supports all Python versions has been implemented.
  • Eliminated the use of string module functions in pystarlib which do not exist in Python 3.
  • Expanded the bmrblib package docstring.
  • Created the bmrblib.__version__ constant.
  • Created a release checklist document to facilitate the release of new bmrblib versions - this is a copy and modification of the release checklist file from the minfx project (https://gna.org/projects/minfx/).
  • Created an empty CHANGES file for listing the details of future bmrblib releases.
  • Created a basic installation instruction file.
  • Created the MANIFEST.in to make sure that all relevant files are installed in the site-package.

Bugfixes

  • Removed some nasty import of pystablib.__init__ code that was failing.

Comments:

No messages in Bmrblib version 1.0.1.

 

Start a New Thread:

You could post if you were logged in
Show feedback again

Back to the top


Powered by Savane 3.1-cleanup