Changes in old packages
The following list of changes is for modules and packages that where merged into XIST (starting with XIST 3.2) or into the former core package (starting with XIST 2.12).
Changes in the new core package
Changes in 1.11.1 (released 01/11/2008)
Added missing source file
_xml_codec_include.cto the source distributions.
Changes in 1.11 (released 01/07/2008)
root:URLs are now treated as local files for purposes of file i/o.ll.make.ModuleActionno longer supports modules that fiddle withsys.modules.The function
ll.misc.tokenizepi()can be used to split a string according to the processing instruction tags in the string (this formerly was part ofll.xist.xsc).ll.makehas been changed interally to store modification timestamp, which should fix the implementation ofPhonyActionand makes it possible to usePhonyActionobjects as inputs to other actions.ll.makehas a new actionImportAction. This action doesn’t take any input. It imports a module specified by name, e.g.make.ImportAction("cStringIO")(Note that you should not import one module viaModuleActionandImportAction(or a normal import) as this will return two different module objects).Make actions don’t have the input actions as a constructor parameter any longer. The input action can now only be set via
__div__().ll.makehas been updated to support the actions required by XIST 3.0.The functions
misc.item(),misc.first(),misc.last()andmisc.count()have been reimplemented in C and should be faster now (especallyitem()for negative indexes).misc.Namespaceis gone and has been replaced withmisc.Poolwhich works similar to the pools use by XIST (in fact XISTs pool class is a subclass ofmisc.Pool).The module
xml_codechas been added. It contains a complete codec for encoding and decoding XML.
Changes in 1.10.1 (released 07/20/2007)
Fix option handling in
ll.daemon(values from the optionparser where never used).
Changes in 1.10 (released 06/21/2007)
Changes in 1.9.1 (released 04/03/2007)
Fixed a bug in
ll.url.SshConnection, which was missing a call tourllib.url2pathname().
Changes in 1.9 (released 03/30/2007)
ll.url.Contextno longer relies on automatic cleanup for closing connections. Instead when aContextobject is used in awithblock, all connections will be closed at the end of the block. This should finally fix the problem with hanging threads at the end of the program.A script
ucp.pyhas been added that can be used to copy stuff around:$ ucp -v http://www.python.org ssh://root@www.example.net/~joe/public_html/index.html -u joe -g users
Changes in 1.8 (released 03/12/2007)
In calls to
ll.url.URLmethods that get forwarded to a connection it’s now possible to pass keyword arguments for the connection constructor directly to the called method, i.e. you can do:>>> u = url.URL("ssh://root@www.example.com/etc/passwd") >>> u.size(identity="/root/.ssh/id_rsa") 1550
Changes in 1.7.5 (released 03/09/2007)
ll.url.Resourcenow has a methodencoding()that returnsNone(for “encoding unknown”).
Changes in 1.7.4 (released 03/08/2007)
ll.url.SshConnectionobjects now supports theidentityparameter. This can be used to specify the filename to be used as the identity file (private key) for authentication.
Changes in 1.7.3 (released 02/22/2007)
ll.url.SshConnectionnow has a new methodclose()which can be used to shut down the communication channel. As aSshConnectionno longer stores a reference to the context, this means that ssh connections are shut down immediately after the end of the context in which they are stored. This avoids a problem with hanging threads.
Changes in 1.7.2 (released 02/02/2007)
Fixed a bug in
ll.url._import().
Changes in 1.7.1 (released 01/24/2007)
Changes in 1.7 (released 11/23/2006)
Fixed a bug in the user switching in
ll.daemon.Daemon.Added a new action class
GetAttrActiontoll.make. This action gets an attribute of its input object.
Changes in 1.6.1 (released 11/22/2006)
ll.make.ModuleActionnow puts a real filename into the modules__file__attribute, so that source code can be displayed in stacktraces.ll.astylehas been fixed to work with the current trunk version of IPython.
Changes in 1.6 (released 11/08/2006)
ll.urlnow supports ssh URLs which are files on remote hosts. This requires py.execnet. Most of the file data and metadata handling has been rewritten to support the requirements of ssh URLs.ll.make.ModeActionandll.make.OwnerActionare subclasses ofll.make.ExternalActionnow. This means they will execute even in “infoonly” mode.Fixed a bug in
ll.make.JoinAction.get().Remove the pid file for
ll.sisyphus.Job()when aKeyboardInterrupthappens and we’re running on Python 2.5.Fixed a longstanding bug in
ll.sisyphus.Job()which resulted in the pid file not being written in certain situations.ll.daemon.Daemonnow allows to switch the group too.
Changes in 1.5 (released 09/24/2006)
ll.make.XISTTextActionis compatible to XIST 2.15 now.The functions
ll.url.Dirname()andll.url.Filename()have been removed (usell.url.Dir()andll.url.File()instead).The methods
ll.url.URL.isLocal()andll.url.URL.asFilename()have been removed (usell.url.URL.islocal()andll.url.URL.local()instead).
Changes in 1.4 (released 08/23/2006)
A new module has been added:
ll.daemoncan be used on UNIX to fork a daemon running.
Changes in 1.3.2 (released 07/25/2006)
ll.make.ModuleActionnow normalizes line feeds, so that this action can now be used directly on Windows too.
Changes in 1.3.1 (released 07/06/2006)
An option
showinfoonlyhas been added toll.make.Project(defaulting toFalse). This option determines whether actions that run ininfoonlymode are reported or not.
Changes in 1.3 (released 06/28/2006)
ll.makehas been rewritten. Now there’s no longer a distinction betweenTargets andActions. Actions can be chained more easily and creating an action and registering it with the project are two separate steps. Actions can no longer be shared, as each action stores its own input actions (but output actions are not stored). “Ids” have been renamed to “keys” (andDBID/OracleIDtoDBKey/OracleKey).ImportActionhas been renamed toModuleActionand can now turn any string into a module.In
ll.urlmodification dates for local files now include microseconds (if the OS supports it).A class
Queuehas been added toll.miscwhich provides FIFO queues.A decorator
withdoc()has been added toll.miscthat sets the docstring on the function it decorates.setuptoolsis now supported for installation.
Changes in 1.2 (released 12/13/2005)
Noneis now allowed as a proper data object inll.makeactions.ll.xpitnow supports conditionals (i.e. the new processing instruction targetsif,elif,elseandendif. Now there must be a space after the target name.
Changes in 1.1.1 (released 11/15/2005)
Fixed a bug in
ll.make.Project.buildwithargs().
Changes in 1.1 (released 10/31/2005)
ll.make.TOXICActionno longer takes anencodingargument in the constructor, but works on unicode strings directly.Two new actions (
DecodeActionandEncodeAction) have been added toll.make.
Changes in 1.0.2 (released 10/24/2005)
Fixed a bug in
ll.make.Project.destroy()that broke therecreate()method.
Changes in 1.0.1 (released 10/18/2005)
Fixed a bug in
ll.make.Project.__contains__.()
Changes in 1.0 (released 10/13/2005)
This package now contains the following modules, that have been distributed as separate packages previously:
ansistyle,color,make,misc(which contains the stuff from the oldllpackage),sisyphus,urlandxpit.ll.misc.Iteratornow has a methodget()that will return a default value when the iterator doesn’t have the appropriate item.In
ll.makethe output has been fixed: Theshowactionfullflag is checked before theshowactionflag and target id’s will always be output in this mode.
Changes in the old core package
Changes in ll-core 0.3 (released 05/24/2005)
Functions will now no longer be turned into
staticmethod()objects automatically when used in aNamespace.The iterator tools from
ll.xist.xfind(item(),first(),last(),count()andIterator) have been move here, as they are in no way specific to XIST.A test suite has been added.
The wrapper function returned by
notimplemented()will now have an attribute__wrapped__that points back to the original function.
Changes in ll-core 0.2.1 (released 01/21/2005)
__getitem__()now raises a KeyError if the attribute doesn’t exist.
Changes in ll-core 0.2 (released 01/11/2005)
Namespacenow has a__getitem__()method, so aNamespaceclass can be used in a call to theeval()function.
Changes in ll-core 0.1 (released 01/03/2005)
Initial release
Changes in ll-ansistyle
Changes in ll-ansistyle 1.1 (released 06/28/2005)
The methods
pushcolor()andpopcolor()have been resurrected. Without them switching to a new color and back would have to be done in a single call tofeed().
Changes in ll-ansistyle 1.0 (released 06/08/2005)
ll.ansistylehas been completely reimplemented to use an iterator interface instead of a stream interface.Support for underlined and blinking text has been added.
A py.test based test suite has been added.
Changes in ll-ansistyle 0.6.1 (released 03/22/2005)
Added a note about the package init file to the installation documentation.
Changes in ll-ansistyle 0.6 (released 01/03/2005)
ansistylerequires the core module and Python 2.4 now.
Changes in ll-ansistyle 0.5 (released 05/21/2004)
Texthas been derived fromlistdirectly, so it inherits all list methods.The method
getcolor()has been dropped. The class attributecoloris used now instead.
Changes in ll-ansistyle 0.4 (released 07/31/2003)
The names of the methods
pushColor(),popColor(),getColor()andescapeChar()have been changed to lowercase.ansistylerequires Python 2.3 now.
Changes in ll-ansistyle 0.3.1 (released 11/14/2002)
Added source code encodings to all Python files.
Changes in ll-ansistyle 0.3 (released 08/27/2002)
ansistylehas been moved to thellpackage.
Changes in ll-ansistyle 0.2.2 (released 02/12/2002)
Fixed a bug in
Text.insert().
Changes in ll-ansistyle 0.2.1 (released 04/11/2001)
ansistyle now compiles under Windows with Visual C++. A binary distribution archive is available from the FTP directory.
Changes in ll-ansistyle 0.2 (released 04/02/2001)
ansistyle now supports background colors. You can specify the background color via the bits 4-7 of the color, i.e. for the background color b = 0,…,7, and the foreground color f=0,…,15 the color value is
(b<<4)|f.
Changes in ll-ansistyle 0.1.1 (released 03/21/2001)
Fixed a minor bug in
ansistyle.Text.__repr__()
Changes in ll-ansistyle 0.1 (released 02/18/2001)
Initial release
Changes in ll-color
Changes in ll-color 0.3.1 (released 03/22/2005)
Added a note about the package init file to the installation documentation.
Changes in ll-color 0.3 (released 01/21/2005)
Two new methods (
abslum()andrellum()) have been added that return a color with modified luminosity.
Changes in ll-color 0.2 (released 01/03/2005)
colorrequires the core module and Python 2.4 now.Various bug fixes.
Changes in ll-color 0.1.1 (released 05/07/2004)
Fixed a bug in the
cssproperty.
Changes in ll-color 0.1 (released 05/07/2004)
Initial release.
Changes in ll-make
Changes in ll-make 1.1.2 (released 10/04/2005)
Fixed a bug in the handling of color environment variables.
Changes in ll-make 1.1.1 (released 09/02/2005)
Specifying colors via environment variables now works.
It’s possible to specify a default for the
show...options via environment variables.CacheActionnow drops the data in itsclear()method.
Changes in ll-make 1.1 (released 09/01/2005)
New action classes have been added:
PickleAction,UnpickleAction,NullActionandCacheAction.During calls to
Target.clear()andTarget.dirty()the action methods with the same name are now called.
Changes in ll-make 1.0 (released 08/29/2005)
Targetobjects may now cache the objects that they create, so it can be reused for different outputs.The
Actionchain has been split into four chains that will be used in different situations. Each target has an internal and external representation (e.g. the Pythonstrobject (the internal representation), that is the content of a file (the external representation). The read chain creates the internal representation from the external one, the write chain creates the external representation from the internal one. The convert chain converts between different internal representations. The use chain is called when external and internal representation exist and are up to date.The internal representation of a target is now available via the method
getdata().Importing Python modules is now done via an
ImportAction.ImportActionandUseModuleActioncan be used to automatically track module dependencies.During build operations the currently “running” project is available as
ll.make.currentproject.Two new action classes are available:
SelectMainActionandJoinOrderedAction, which can be used to select the input data at the start of a convert chain.
Changes in ll-make 0.26 (released 05/29/2005)
Uses
ansistyle1.1 now.Introduced a new
Actionclass namedChainedActionthat consists of a list of other actions. EachTargetnow only has one action to update this target, but this action might be aChainedAction.Actionobjects can be added (which results in aChainedAction).
Changes in ll-make 0.25 (released 05/20/2005)
makeis compatible with XIST 2.10 now.
Changes in ll-make 0.24 (released 04/11/2005)
XPITActionnow works if there is no namespace available. In this case only the global namespace will be passed to the expressions.
Changes in ll-make 0.23.1 (released 03/22/2005)
Added a note about the package init file to the installation documentation.
Changes in ll-make 0.23 (released 02/14/2005)
Actions can now be displayed during the make process in two ways: a short name (this uses the method
desc()) and a longer description (using the methodfulldesc()). You can activate the full description via the command line option-vfand deactivate it with-vF. In interactive mode you can use the attributeshowactionsfull.
Changes in ll-make 0.22 (released 01/21/2005)
XPITActionwill now pass the project, target and action to the embedded Python expression as global variables.
Changes in ll-make 0.21 (released 01/19/2005)
An action class
XPITActionhas been added for use withll.xpit.Setting a project dirty (so that out-of-dateness will be rechecked) has been factored into a separate method.
Changes in ll-make 0.20 (released 01/03/2005)
makerequires the core module and Python 2.4 now.
Changes in ll-make 0.19.1 (released 11/26/2004)
Fixed print of tracebacks when
ignoreerrorsis true.
Changes in ll-make 0.19 (released 10/29/2004)
ll.makeis compatible with XIST 2.6 now (and incompatible with XIST 2.5).
Changes in ll-make 0.18.2 (released 10/12/2004)
Retry with absolute and real URLs in
__candidates()even if the argument is already anll.url.URLobject. This works around an URL normalization bug under Windows.
Changes in ll-make 0.18.1 (released 08/27/2004)
Target.actionsis now a list instead of a tuple.
Changes in ll-make 0.18 (released 07/06/2004)
Added a new action class
TOXICPrettifyActionthat uses the newprettify()function introduced inll.toxicversion 0.3.
Changes in ll-make 0.17 (released 06/02/2004)
Renamed
OracleTargettoDBTarget.Reporting
PhonyTargetobjects has been moved to a separate method namedreportphonytargets().
Changes in ll-make 0.16 (released 05/31/2004)
The method
buildWithArgs()has been dropped. Usebuildwithargs()now.Argument parsing has been made extensible. The method
optionparser()must return an instance ofoptparse.OptionParser. The methodparseoptions()parses the argument sequence passed in (defaults tosys.argv[1:]and returns a tuple with(values, args)(just likeoptparse.OptionParser.parse_args()does).The arguments
ignoreerrors,color,maxinputreporthave been removed from theProjectconstructor. If you really need different values for these, simply change the attributes after creating theProjectobject.Project.__getitem__()andProject.__contains__()now recognize database ids.
Changes in ll-make 0.15.1 (released 05/25/2004)
Fixed formatting bugs in
OracleReadResource.
Changes in ll-make 0.15 (released 05/25/2004)
There’s a new option
-vlthat reports the recursion level as an indentation during the build process. This makes it easier to see, what depends on what. The indentation per level can be specified with the environment variableLL_MAKE_INDENT.The environment variable
MAKE_REPRANSIhas been renamed toLL_MAKE_REPRANSI.
Changes in ll-make 0.14.2 (released 05/25/2004)
If a target has prerequisites, the time to rebuild those will be reported in the progress report too (if time reporting is on (via the option
-vt)).Fix a bug in
XISTPublishAction.
Changes in ll-make 0.14.1 (released 05/21/2004)
The default color for output has been removed.
In the progress report URLs relative to the home directory are now tried too to find the shortest URL for display.
Fix a bug in
JoinedReadActionand various other bugs.
Changes in ll-make 0.14 (released 05/20/2004)
Actions have been made much more atomic and flexible. For each target a chain of actions will be executed. The first action loads the file. The next actions transform the content, after that an action will save the result to a file. Finally other actions can modify this file (what has formerly been known as “secondary actions”).
For example: to transform an XIST file now you need a
ReadAction, aXISTParseAction, aXISTConvertAction, aXISTPublishActionand aWriteAction. The baseURL`s for parsing and publishing have been moved from :class:`XISTTargettoXISTParseActionandXISTPublishAction.DBIDhas been rewritten. For OracleDBIDobjects it’s possible to read and write functions and procedures via a file-like interface.Support for Apache FOP and ll-toxic has been added.
The
Targetmethodssources()andtargets()have been renamed toinputs()andoutputs()(related methods have been renamed too).The options for selecting the verbosity of the progress report have been combined into one option
-v.The progress report tries to shorten URLs by displaying relative URLs (relative to the current directory) if those are shorter (which they usually are).
Changes in ll-make 0.13.1 (released 05/05/2004)
Fixed a small bug in
Project.__contains__().
Changes in ll-make 0.13 (released 01/12/2004)
Now after the build the import cache
ll.url.importcachewill be restored to the state before the call. This fixes a bug, where a module that was loaded from another module (not as aPythonTarget), didn’t get cleared from the import cache.
Changes in ll-make 0.12 (released 01/02/2004)
Adapted to XIST 2.4.
XISTTargetnow has two attributesparserandpublisherwhich will be used byXISTActionfor parsing and publishing targets.Changed the assertions that check that
XISTAction,CopyActionandSplatActionhave only one source into exceptions.Project.__getitem__()and related methods will now only try absolute file paths, if the URL really is local.Dropped the deprecated project method
has().For parsing the command line option
optparseis used now instead ofgetopt.
Changes in ll-make 0.11.7 (released 12/15/2003)
When building a target fails, the file will now only be removed if it exists.
Changes in ll-make 0.11.6 (released 12/08/2003)
Remove the module from the import cache in
PythonTarget.clear(), so that the module will be reloaded whenProject.recreate()is used.Made compatible with XIST 2.3.
Changes in ll-make 0.11.5 (released 12/06/2003)
Now when a project is rebuilt, all loaded Python modules will be removed from the import cache before rebuilding commences. This should fix intermodule dependencies.
Changes in ll-make 0.11.4 (released 12/06/2003)
Added methods
itersources(),itertargets(),itersourcedeps()anditertargetdeps()to theTargetclass.
Changes in ll-make 0.11.3 (released 11/22/2003)
__getitem__()and__contains__()of theProjectclass now first try with an absolute filename and then with the real filename (i.e. all links resolved).
Changes in ll-make 0.11.2 (released 08/06/2003)
A few of the
Projectattributes have been renamed to avoid name clashes when a class was derived fromProjectandll.sisyphus.Job.
Changes in ll-make 0.11.1 (released 08/01/2003)
Fixed a bug in
Project.build(): Timestamps were not cleared on the second call tobuild()when the first one had failed.Timestamp handling was broken. Timestamps from the filesystem were in UTC, but the timestamp set after calls to
Target.update()were in local time. This has been fixed now.
Changes in ll-make 0.11 (released 07/31/2003)
Calling the XIST conversion in
XISTActionhas been moved fromexecute()to a new methodconvert()to be easier to customize.makerequires Python 2.3 now.
Changes in ll-make 0.10 (released 07/02/2003)
Targets will now be removed when building them fails.
Changes in ll-make 0.9.5 (released 05/02/2003)
Project.__getitem__()now retries with a canonical filename (i.e. the result of thereal()) before giving up.
Changes in ll-make 0.9.4 (released 04/24/2003)
All primary actions now make sure that the output file is removed when an error happens. The next call to a make script will again try to generate the output instead of silently skipping the half finished (but seemingly up to date) file.
Changes in ll-make 0.9.3 (released 04/23/2003)
Use the enhanced
import_()method fromll.url0.7.Add a
docattribute toPhonyTargetwhich can be used in help messages (e.g. whenbuildWithArgs()is called without arguments).
Changes in ll-make 0.9.2 (released 04/15/2003)
Fixed a small bug in the deprecated
Project.has().
Changes in ll-make 0.9.1 (released 03/11/2003)
Fixed a small bug in
Target.lastmodified().
Changes in ll-make 0.9 (released 03/10/2003)
Generating a
Publisherin anXISTActionhas been moved to a separate methodpublisher().Each target can now be assigned a sequence of actions. There are new action classes
ModeActionandOwnerActionthat change the access permissions or owner of a file that has been created by a previous action in an action sequence.Updated the timestamp functionality so that with Python 2.3 the
datetimemodule will be used for timestamps.
Changes in ll-make 0.8 (released 03/03/2003)
The project method
has()has been deprecated. Usehas_key()or the new__contains__()for that. This means that all dictionary access method try strings, URLs and absolute URLs now.Populating a project can now be done in the overwritable method
create(). There is a new methodclear()which removes all targets from the project. Use the methodrecreate()to recreate a project, i.e. callclear()andcreate().
Changes in ll-make 0.7 (released 02/26/2003)
Made compatible with XIST 1.5 again:
prefixesis only passed to the parser, when it is notNone.has()andhas_key()have been changed to do the same as__getitem__(), i.e. retry with an URL or absolute URL in case of an error.build()can now be called multiple times and will reset timestamp information on all subsequent calls. This makes it possible to rerun a build process without having to recreate the project with its targets and dependencies (provided that no targets have to be added or removed).
Changes in ll-make 0.6.1 (released 02/14/2003)
XISTTargethas new attributesparser,handlerandprefixesthat can be specified in the constructor and will be used for parsing.
Changes in ll-make 0.6 (released 11/20/2002)
Project.__getitem__()now raises anUndefinedTargetErrorexception with the original key if retrying with anURLobject fails.The methods
Target.sources()andTarget.targets()have been changed to return theTargetobjects instead of theDepobjects. The old functionality is still available asTarget.sourcedeps()andTarget.targetdeps(). The same has been done for the methodTarget.newerSources()(and the method name has been made lowercase).
Changes in ll-make 0.5 (released 11/13/2002)
Projectis derived fromdictnow.Calling
Project.buildWithArgs()with an empty argument list now lists allPhonyTargetobjects.
Changes in ll-make 0.4.2 (released 11/11/2002)
Added a new target class
JavaPropAction, for Java property files.Added a
__len__()to theProjectclass.
Changes in ll-make 0.4.1 (released 10/25/2002)
Added a new action class
SplatAction, that can be used for replacing strings in files.Speed up dependency creation by adding slot declarations.
Changes in ll-make 0.4 (released 08/27/2002)
Adapted to XIST 2.0.
Changes in ll-make 0.3.2 (released 06/16/2002)
Work around a problem with unicode objects in
sys.path. This workaround will disappear as soon as Python 2.3 is released.Use the method
doPublication()for publishing nodes. (This requires XIST 1.4.4.)
Changes in ll-make 0.3.1 (released 03/28/2002)
Added a warning when the id of a new target already exists in the project, i.e. when the target is redefined.
Added a warning for file modification timestamps from the future.
Changes in ll-make 0.3 (released 03/18/2002)
Now
url.URLis used everywhere instead offileutils.Filename
Changes in ll-make 0.2.3 (released 02/22/2002)
Added a new class
DBIDthat can be used as an id for database content.Ported to Python 2.2
Changes in ll-make 0.2.2 (released 01/25/2001)
Verbosity can now be specified via several
Projectconstructor arguments.Action.converter()now sets the attributemakeactionon the returnedConverterobject.
Changes in ll-make 0.2.1 (released 10/03/2001)
Support for the
rootparamenter for theconvert()method inXISTAction.
Changes in ll-make 0.2 (released 10/02/2001)
Dependencies now have a type (a subclass of
Dep). This allows to mark certain dependencies as “special”.Project.build()can now be called with aTargetor a filename as a string.
Changes in ll-make 0.1 (released 07/27/2001)
Initial release.
Changes in ll-sisyphus
Changes in ll-sisyphus 0.10.1 (released 03/22/2005)
Added a note about the package init file to the installation documentation.
Changes in ll-sisyphus 0.10 (released 01/03/2005)
sisyphusrequires the core module and Python 2.4 now.
Changes in ll-sisyphus 0.9.1 (released 04/28/2004)
Fixed a bug related to logging empty strings.
Changes in ll-sisyphus 0.9 (released 11/13/2003)
Lowercased the constructor arguments
maxRuntime,raiseErrorsandprintKills.When the job is started it checks whether it’s predecessor is still running (i.e. it checks whether the pid from the run file really exists).
Added a method
logErrorOnly()that writes to the error log only (this is used when the message about a job still running is written to the error log, so the progress log from the previous job execution won’t be disturbed).The loop log now contains the exception value in case of an error.
Changes in ll-sisyphus 0.8 (released 07/31/2003)
sisyphusnow uses and requires Python 2.3.The logging methods can now log everything. If the logged object is not a string,
pprintis used for formatting.The number of seconds is now properly formatted with hours, minutes and seconds in the logfiles.
A few methods have been lowercased.
When a job fails the method
failed()is called now. This gives the job the change to clean up.
Changes in ll-sisyphus 0.7 (released 03/11/2003)
sisyphusnow uses thell.urlmodule,ll.fileutilsis no longer required.
Changes in ll-sisyphus 0.6.2 (released 12/03/2002)
error reports are now logged to the process log too.
Changes in ll-sisyphus 0.6.1 (released 09/10/2002)
The
Jobconstructor has a new argumentprintKillswhich specifies whether killing a previous job should be printed (i.e. mailed from cron).
Changes in ll-sisyphus 0.6 (released 08/27/2002)
sisyphushas been moved to thellpackage.
Changes in ll-sisyphus 0.5.3 (released 05/07/2002)
Derive
Jobfromobjectto be able to use new style classes in mixins in subclasses.
Changes in ll-sisyphus 0.5.2 (released 07/19/2001)
Made compatible with fileutils 0.2.
Changes in ll-sisyphus 0.5.1 (released 04/12/2001)
Fixed a severe bug (missing call to
os.path.expanduser()), that preventedJobfrom working.
Changes in ll-sisyphus 0.5 (released 03/29/2001)
The
Jobconstructor has a new parameterraiseErrors. When set to true exceptions will not only be written to the logfile but raised, which results in a output to the terminal and an email from the cron daemon.
Changes in ll-sisyphus 0.4 (released 03/26/2001)
The class
LogFilehas been moved to a seperate module namedfileutils.
Changes in ll-sisyphus 0.3 (released 02/16/2001)
Initial public release
Changes in ll-url
Changes in ll-url 0.15.1 (released 03/22/2005)
Added a note about the package init file to the installation documentation.
Changes in ll-url 0.15 (released 02/24/2005)
The
mimetypeproperty ofReadResourceis no longer a tuple, but a plain string.ReadResourcehas a new propertyencoding, which is the character encoding of the resource.A bug in the
lastmodifiedproperty ofWriteResourcehas been fixed.
Changes in ll-url 0.14.2 (released 02/22/2005)
url.URL("file:foo/").local()will now always end in a directory separator. This didn’t work on Windows before.
Changes in ll-url 0.14.1 (released 01/13/2005)
On Windows
url.File("c:\\foo").abs()generatedURL('file:///C|/foo'). Now the result will always beURL('file:/C|/foo'). The same fix has been made forreal()and the constructor.
Changes in ll-url 0.14 (released 01/03/2005)
urlrequires the core module and Python 2.4 now.
Changes in ll-url 0.13 (released 11/25/2004)
The helper function
_unescape()will now interpret%uescapes (produced by Microsoft software). The patch has been contributed by Artiom Morozov.
Changes in ll-url 0.12.1 (released 11/03/2004)
Fixed a bug in the C helper function
_unescape()(forget to clear the exception).Dropped the system default encoding from the list of encodings that will be tried when UTF-8 fails in
_unescape().
Changes in ll-url 0.12 (released 01/12/2004)
removefromimportcache()has been dropped, now you can assign the import cache directly (as the module level attributeimportcache. Removing modules from the import cache can now be done viaurl.importcache.remove(mod).
Changes in ll-url 0.11.7 (released 12/23/2003)
Fixed a bug in
Path.real()that only surfaced on Windows.
Changes in ll-url 0.11.6 (released 12/06/2003)
Added a function
removefromimportcache().
Changes in ll-url 0.11.5 (released 11/22/2003)
Fixed a bug with the
schemeargument of the methodsreal()andabs().
Changes in ll-url 0.11.4 (released 11/19/2003)
realurlhas been renamed tofinalurland now works for local URLs too (it will be the same as the original URL).
Changes in ll-url 0.11.3 (released 11/17/2003)
Added an attribute
realurltoReadResourcewhich contains the real URL (which might be different from the URL passed to the constructor, because of a redirect).
Changes in ll-url 0.11.2 (released 11/17/2003)
URLs that have an authority part but a relative path will be properly formatted, i.e. the leading
/will be included.
Changes in ll-url 0.11.1 (released 08/13/2003)
The
URLmethodrename()has been fixed.A bug has been fixed that created relative paths for HTTP URLs that didn’t have a trailing
/.
Changes in ll-url 0.11 (released 08/04/2003)
A method
withoutfrag()has been added.withFragment()has been renamed towithfrag()and the propertyfragmenthas been renamed tofrag.
Changes in ll-url 0.10 (released 07/31/2003)
urlrequires Python 2.3 now.The method
inserthas been fixed.
Changes in ll-url 0.9.1 (released 07/17/2003)
Fixed a bug that drops the filename in
relative()when both URLs have the same filenames but a different query.The fragment is now properly escaped when the URL is regenerated.
Changes in ll-url 0.9 (released 07/09/2003)
withExt()and friends have been lowercased.The
pathhas been changed from a string to an object of the new classPath. This new class provides many of the path related functionality of URLs.The method
URL.import_()no longer uses the import machinery (from theimpmodule), butexecfile(). This has the following consequences:You can only import files with the extension
.py.The imported module no longer retains deleted attributes of the previous version.
The file will be compiled even if a bytecode file exists.
Changes in ll-url 0.8 (released 06/04/2003)
Added methods
abs()and__rdiv__()toURL.The method
real()now has an argumentschemethat specifies which scheme should the use for the resulting URL.Now the query part of an
URLwill be parsed into the attributequery_parts(which is a dictionary). If the query can’t be parsed,query_partswill beFalse, butquerywill still contain the complete query part.
Changes in ll-url 0.7.1 (released 05/01/2003)
Made
clearimportcache()a class method.
Changes in ll-url 0.7 (released 04/23/2003)
Introduced
local()as a synonym forasFilename(),Dir()as a synonym forDirname()andFile()as a synonym forFilename().Added functions
first(),firstdir()andfirstfile(), that returns the first URL from a list that exists, is a directory or a file.The method
import_()uses a cache now. Different caching strategies can be chosen through themodeparameter.
Changes in ll-url 0.6.2 (released 03/07/2002)
The method
real()checked whether the referenced file really is a directory. This has the problem that the directory/file must exist. Now the directoryness of the URL itself is used.
Changes in ll-url 0.6.1 (released 03/06/2002)
Fixed a bug in
chown(): Attributes are not available forpwd.getpwnam()andgrp.getgrnam()results under Python 2.2. Use the tuple entry instead.Added methods
mtime(),atime()andsize()toURL.
Changes in ll-url 0.6 (released 03/05/2002)
Now all arguments for
walk()default toFalse.Added new convenience methods
walkfiles()andwalkdirs().An
URLcan now be iterated. This is equivalent towalk(dirsbefore=True, files=True).Many functions from
osandos.pathhave been added as methods toll.url. This was inspired by Jason Orendorff’spathmodule.The method
import_()is now available in theURLclass too.When Python 2.3 is used timestamp will now be
datetime.datetimeobjects andmx.DateTimeis no longer required. With Python 2.2mx.DateTimewill still be used.
Changes in ll-url 0.5.1 (released 01/07/2002)
Added a
LICENSEfile.
Changes in ll-url 0.5 (released 11/14/2002)
WriteResourcehas been largely rewritten to elminate the overhead of calls thewrite(). Access to properties might be a little slower now, becauseWriteResourcehas been optimized for maximum writing speed.Added source code encoding statements to the Python files.
Changes in ll-url 0.4.3 (released 11/11/2002)
Fixed a refcounting leak in the new version of
_normalizepath().
Changes in ll-url 0.4.2 (released 11/08/2002)
_normalizepath()has been reimplemented in C for performance reasons.
Changes in ll-url 0.4.1 (released 10/29/2002)
ReadResourceandWriteResourcenow have a methodimport_(), that imports the file as a Python module (ignoring the file extension).
Changes in ll-url 0.4 (released 10/18/2002)
Added a
HOWTOfile.Made the docstrings compatible with XIST 2.0.
The
imagesizeproperty now raises anIOErrorif the PIL is not available.
Changes in ll-url 0.3.1 (released 09/09/2002)
WriteResourcewill now generate an empty file, even ifwrite()is never called. This is checked inclose().WriteResourcegained a destructor that will callclose().
Changes in ll-url 0.3 (released 08/27/2002)
urlhas been moved to thellpackage.
Changes in ll-url 0.2 (released 06/18/2002)
_escape()now always uses unicode strings. 8bit strings will be converted to unicode before the UTF-8 version will be encoded._unescape()now always emits unicode strings. If the UTF-8 decoding does not work, the system default encoding will be tried, and finally Latin-1 will be used._escape()and_unescape()have been rewritten in C for performance reasons.
Changes in ll-url 0.1.8 (released 05/07/2002)
Illegal
%escapes now only issue a warning and will be used literally when the warning framework doesn’t raise an exception.
Changes in ll-url 0.1.7 (released 04/30/2002)
Removed the illegal scheme handling change from 0.1.6 again. Now this has to be done before constructing an
URL.
Changes in ll-url 0.1.6 (released 04/26/2002)
Now when the parser discovers an illegal scheme, you get another chance: Beginning whitespace will be stripped and it will be retried.
Changes in ll-url 0.1.5 (released 04/25/2002)
Fixed a bug in
__div__(): NowURL("http://foo/bar")/"/baz"works.
Changes in ll-url 0.1.4 (released 04/15/2002)
When assigning to the
urlproperty, the scheme will now only be set when it consists of legal characters. This means that parsing/foo.php?x=http://www.bar.comwon’t try to set a scheme/foo.php?x=http, but will use an empty scheme.
Changes in ll-url 0.1.3 (released 04/09/2002)
Make
extandfilework with opaqueURLs.Forgot the make
resdataassignable. Fixed.Now the scheme to be used can be specified for the various filename functions.
Added a method
withFragment()that returns a copy of theURLwith a new fragment.Use the
emailpackage instead ofrfc822forformatdate().No longer quote
[and]to be compatible with the ezt templates from ViewCVS.When joining URLs the right hand URL no longer inherits the scheme, if it has not scheme, but the path is absolute:
>>> url.URL("root:foo.html")/url.URL("/cgi-bin/") URL('/cgi-bin/')
Changes in ll-url 0.1.2 (released 03/26/2002)
Fixed a bug in
URL.__eq__()andURL.__hash__():queryandfragmentwere not used. This has been fixed.
Changes in ll-url 0.1.1 (released 03/20/2002)
Fixed a bug in
ReadResource.contentlength, which tried to convert thestat()result to aDateTimeobject.
Changes in ll-url 0.1 (released 03/18/2002)
Initial release
Changes in ll-xpit
Changes in ll-xpit 0.2.1 (released 03/22/2005)
Added a note about the package init file to the installation documentation.
Changes in ll-xpit 0.2 (released 01/21/2005)
convert()now takes both a global and a local namespace and will raise an exception when an unknown processing instruction target is encountered.
Changes in ll-xpit 0.1 (released 01/19/2005)
Initial release.
Changes to ll-orasql
Changes in ll-orasql 1.27.1 (released 03/31/2009)
Fixed a bug in the dependency checking for
Connnection.itertables().oradeletenow has a new option to usetruncate tableinstead ofdelete from.
Changes in ll-orasql 1.27 (released 03/31/2009)
Added a new script
oradeletethat can be used to delete all records from all tables and to reset all sequences.Connectionhas a new methoditersequences().Fixed a bug in the generated SQl code for triggers (the name always included the name of the original schema).
Changes in ll-orasql 1.26 (released 03/27/2009)
ll.orasqlnow requires cx_Oracle 5.0 compiled in Unicode mode (i.e. withWITH_UNICODE=1). Lots of unicode handling stuff has been rewritten to take advantage of Unicode mode.orafindhas a new option--encodingto decode the searchstring on the commandline.The
Poolconstructor now supports the additional argumentsgetmodeandhomogeneousfrom cx_Oracle 5.0.Fix a typo in
Privilege.grantddl().
Changes in ll-orasql 1.25.4 (released 01/21/2009)
Procedures and functions with timestamp arguments can now be called.
Changes in ll-orasql 1.25.3 (released 11/07/2008)
Procedures and functions now should handle arguments of type
BLOBcorrectly.
Changes in ll-orasql 1.25.2 (released 08/29/2008)
Recordhas a new methodget()which works like the dictionary methodget().
Changes in ll-orasql 1.25.1 (released 07/21/2008)
orafind.pynow has an additional optionsreadlobs(defaulting to false). If this option is set, the value of LOBs in the records found, will be printed.
Changes in ll-orasql 1.25 (released 06/17/2008)
A new script has been added:
orafind.pywill search for a specified string in all columns of all tables in a schema.
Changes in ll-orasql 1.24.1 (released 05/30/2008)
Fixed two bugs in
Callable._calcargs()andConnection.getobject().
Changes in ll-orasql 1.24 (released 05/20/2008)
Connection.getobject(),ProcedureandFunctionnow support functions and procedures in packages.Added
__repr__()to the exception classes.
Changes in ll-orasql 1.23.4 (released 04/04/2008)
All database scripts now have an additional option
encodingthat specifies the encoding for the output script.
Changes in ll-orasql 1.23.3 (released 04/03/2008)
Fixed a regression in the scripts
oracreate.py,oradrop.pyandoragrant.py.
Changes in ll-orasql 1.23.2 (released 04/01/2008)
When calling functions/procedures, arguments are now wrapped in variable objects for their real type instead of ones for the type the function or procedure expects.
Changes in ll-orasql 1.23.1 (released 03/25/2008)
Added a
__contains__()toRecordfor checking the existence of a field.
Changes in ll-orasql 1.23 (released 03/25/2008)
Calling procedures and functions has been rewritten:
ll.orasqlwill only pass those parameters to the procedure/function that are passed to the call (or variables for out parameters). Internally this is handled by executing the call as a parameterized query calling the procedure/function with named arguments.FetchRecordhas been renamed toRecord(and is used for the result of procedure and function calls now, which required some internal changes toFetchRecord). The formerRecordhas been renamed toArgsas its only use now is collecting arguments for procedure/function calls. (The methodfromdata()has been dropped.)The
__repr__()output ofArgumentobjects now shows the datatype.
Changes in ll-orasql 1.22 (released 03/19/2008)
Added a new method
_getobject()toConnectionthat does whatgetobject()does, but is case sensitive (This is used internally bySynonym.getobject()).The methods
xfetchone(),xfetchmany(),xfetchall(),xfetch(),xexecute()andxexecutemany()have been dropped again. Fetch result objects are now of typeFetchRecord. Field access is available via index (i.e.row[0]), key (row["name"]) and attribute (row.name). These result objects are generated via therowfactoryattribute (which was added in cx_Oracle 4.3.2). All fetch and execute methods support unicode values.
Changes in ll-orasql 1.21.1 (released 03/17/2008)
Updated the scripts to work with the new execute methods.
Changes in ll-orasql 1.21 (released 03/13/2008)
Connectionhas a new methodgetobject(), which returns the schema object with a specified name.Synonymhas a new methodgetobject(), that returns the object for which theSynonymobject is a synonym.The name of
ProcedureandFunctionobjects now is case sensitive when calling the procedure or function.
Changes in ll-orasql 1.20 (released 02/07/2008)
The fancy fetch methods have been renamed to
xfetchone(),xfetchmany(),xfetchall()andxfetch().__iter__()no longer gets overwritten. New methodsxexecute()andxexecutemany()have been added, that support passing unicode parameters.
Changes in ll-orasql 1.19 (released 02/01/2008)
All docstrings use ReST now.
Changes in ll-orasql 1.18 (released 01/07/2008)
Updated the docstrings to XIST 3.0.
Added ReST versions of the documentation.
Changes in ll-orasql 1.17.5 (released 08/09/2007)
Fixed a bug in the error handling of wrong arguments when calling functions or procedures.
Changes in ll-orasql 1.17.4 (released 04/30/2007)
The threshold for string length for procedure and function arguments has been reduced to 4000.
Changes in ll-orasql 1.17.3 (released 03/08/2007)
BLOBarguments for procedures and functions are always passed as variables now.
Changes in ll-orasql 1.17.2 (released 03/07/2007)
Arguments for procedures and functions that are longer that 32000 characters are passed as variables now (the threshold was 32768 before and didn’t work).
Changes in ll-orasql 1.17.1 (released 03/02/2007)
Fix an inverted logic bug in
Record.fromdata()that surfaced in unicode mode:BLOBs were treated as string andCLOBs as binary data.
Changes in ll-orasql 1.17 (released 02/23/2007)
The
readlobsandunicodeparameters are now honored when calling procedures and functions viaProcedureandFunctionobjects.
Changes in ll-orasql 1.16 (released 02/21/2007)
A parameter
unicodehas been added to various constructors and methods. This parameter can be used to get strings (i.e.VARCHAR2andCLOBs) asunicodeobject instead ofstrobjects.
Changes in ll-orasql 1.15 (released 02/17/2007)
Fixed an output bug in
oradiff.pywhen running in full output mode.A parameter
readlobshas been added to various constructors and methods that can be used to get small (or all)LOBvalues as strings in cursor fetch calls.
Changes in ll-orasql 1.14 (released 02/01/2007)
A new method
iterprivileges()has been added toConnection.A script
oragrant.pyhas been added for copying privileges.
Changes in ll-orasql 1.13 (released 11/06/2006)
Two new methods (
itertables()anditerfks()) have been added toConnection. They yield all table definitions or all foreign keys respectively.A new method
isenabled()has been added toForeignKey.A
__str__()method has been added toObject.A bug in
oramerge.pyhas been fixed: In certain situationsoramerge.pyused merging actions that were meant to be used for the preceeding object.
Changes in ll-orasql 1.12.2 (released 10/18/2006)
Fixed a bug that showed up when an index and a foreign key of the same name existed.
Changes in ll-orasql 1.12.1 (released 09/19/2006)
Fixed a bug in
Index.__xattrs__().
Changes in ll-orasql 1.12 (released 09/06/2006)
Functionobjects are now callable too. They return the return value and aRecordcontaining the modified input parameters.
Changes in ll-orasql 1.11.1 (released 08/29/2006)
Fixed a bug in
Column.modifyddl().
Changes in ll-orasql 1.11 (released 08/22/2006)
The class
Columnhas gained a few new methods:datatype(),default(),nullable()andcomment().Calling a procedure will now raise a
SQLObjectNotFoundErrorerror, if the procedure doesn’t exist.
Changes in ll-orasql 1.10 (released 08/11/2006)
The classes
ProcandLLProchave been removed. The functionality ofProchas been merged intoProcedureDefinition(with has been renamed toProcedure). Information about the procedure arguments is provided by theiteraguments()method.All other subclasses of
Definitionhave been renamed to remove the “Definition” for the name to reduce typing. (Methods have been renamed accordingly too.)</li>oramerge.main()andoradiff.main()now accept option arrays as arguments.oradiff.pyhas finally been fixed.
Changes in ll-orasql 1.9.4 (released 08/09/2006)
Fixed a bug in
oradiff.py.
Changes in ll-orasql 1.9.3 (released 08/08/2006)
Fixed a bug in
oramerge.py.
Changes in ll-orasql 1.9.2 (released 08/04/2006)
Fixed a bug in
TableDefinition.iterdefinitions().
Changes in ll-orasql 1.9.1 (released 08/02/2006)
Fixed a bug in
oracreate.py.
Changes in ll-orasql 1.9 (released 07/24/2006)
Dependencies involving
MaterializedViewDefinitionandIndexDefinitionobjects generated by constraints work properly now, so that iterating all definitions in create order really results in a working SQL script.A method
table()has been added toPKDefinition,FKDefinition,UniqueDefinitionandIndexDefinition. This method returns theTableDefinitionto object belongs to.A method
pk()has been added toFKDefinition. It returns the primary key that this foreign key references.Indexes and constraints belonging to skipped tables are now skipped too in
oracreate.py.Arguments other than
sys.argv[1:]can now be passed to theoracreate.pyandoradrop.pymain()functions.
Changes in ll-orasql 1.8.1 (released 07/17/2006)
ll.orasqlcan now handle objects name that are not in uppercase.
Changes in ll-orasql 1.8 (released 07/14/2006)
Connection.iterobjects()has been renamed toiterdefinitions().Each
Definitionsubclass has a new classmethoditerdefinitions()that iterates through all definitions of this type in a schema (or all schemas).Each
Definitionsubclass has new methodsiterreferences()anditerreferencedby()that iterate through related definitions. The methodsiterreferencesall()anditerreferencedbyall()do this recursively. The methoditerdependent()is gone now.The method
iterschema()ofConnectionnow has an additional parameterschema. Passing"all"forschemawill give you statistics for the complete database not just one schema.A new definition class
MaterializedViewDefinitionhas been added that handles materialized views. Handling of create options is rudimentary though. Patches are welcome.TableDefinitionhas a three new methods:ismview()returns whether the table is a materialized view;itercomments()iterates through comments anditerconstraints()iterates through primary keys, foreign keys and unique constraints.The method
getcursor()will now raise aTypeErrorif it can’t get a cursor.
Changes in ll-orasql 1.7.2 (released 07/05/2006)
RAWfields in tables are now output properly inTableDefinition.createddl().A class
PackageBodyDefinitionhas been added.oracreate.pywill output package body definitions andoradrop.pywill drop them.
Changes in ll-orasql 1.7.1 (released 07/04/2006)
Duplicate code in the scripts has been removed.
Fixed a bug in
oramerge.py: If the source to be diffed was long enough the call todiff3deadlocked.
Changes in ll-orasql 1.7 (released 06/29/2006)
The method
iterobjects()has been moved fromCursortoConnection.The method
itercolumns()has been moved fromCursortoTableDefinition.LLProcnow recognizes thec_outparameter used byll.toxic0.8.Support for positional arguments has been added for
ProcandLLProc. Error messages for calling procedures have been enhanced.SequenceDefinitionnow has a new methodcreateddlcopy()that returns code that copies the sequence value.oracreate.pyhas a new option-s/--seqcopythat uses this feature.setuptoolsis now supported for installation.
Changes in ll-orasql 1.6 (released 04/26/2006)
Added a
SessionPool(a subclass ofSessionPoolincx_Oracle) whoseacquire()method returnsll.orasql.Connectionobjects.
Changes in ll-orasql 1.5 (released 04/05/2006)
Added a class
IndexDefinitionfor indexes.oracreate.pywill now issue create statements for indexes.
Changes in ll-orasql 1.4.3 (released 12/07/2005)
Fixed a bug with empty lines in procedure sources.
Remove spurious spaces at the start of procedure and function definitions.
Changes in ll-orasql 1.4.2 (released 12/07/2005)
Fixed a bug that the DDL output of Java source.
Trailing whitespace in each line of procedures, functions etc. is now stripped.
Changes in ll-orasql 1.4.1 (released 12/06/2005)
Fixed a bug that resulted in omitted field lengths.
Changes in ll-orasql 1.4 (released 12/05/2005)
The option
-m/--modehas been dropped from the scriptoramerge.py.A new class
ColumnDefinitionhas been added toll.orasql. TheCursorclass has a new methoditercolumns()that iterates theColumnDefinitionobjects of a table.oramerge.pynow doesn’t output a mergedcreate tablestatement, but the appropriatealter tablestatements.
Changes in ll-orasql 1.3 (released 11/24/2005)
Added an option
-itooracreate.pyandoradrop.pyto ignore errors.The argument
allof the cursor methoditerobjects()is now namedschemaand may have three values:"own","dep"and"all".Added an script
oramerge.pythat does a three way merge of three database schemas and outputs the resulting script.DB links are now copied over in
SynonymDefinitionobjects.
Changes in ll-orasql 1.2 (released 10/24/2005)
Added a argument to
createddl()anddropddl()to specify if terminated or unterminated DDL is wanted (i.e. add;or/or not).CommentsDefinitionhas been renamed toCommentDefinitionand holds the comment for one field only.JavaSourceDefinitionhas been added.The scripts
oracreate.py,oradrop.pyandoradiff.pynow skip objects with"$"in their name by default. This can be changed with the-koption (but this will lead to unexecutable scripts).oradiff.pyhas a new options-b: This allows you to specify how whitespace should be treated.Added an option
-xtooracreate.pyto make it possible to directly execute the DDL in another database.Fixed a bug in
SequenceDefinitionwhen theCACHEfield was0.
Changes in ll-orasql 1.1 (released 10/20/2005)
A script
oradiff.pyhas been added which can be used for diffing Oracle schemas.Definition classes now have two new methods
cdate()andudate()that give the creation and modification time of the schema object (if available).A
"flat"iteration mode has been added toCursor.iterobjects()that returns objects unordered.Connectionhas a new methodconnectstring().A class
LibraryDefinitionhas been added.CommentsDefinition.createddl()returns""instead of"\n"now if there are no comments.SQLObjectNotfoundErrorhas been renamed toSQLObjectNotFoundError.
Changes in ll-orasql 1.0 (released 10/13/2005)
ll.orasqlrequires version 1.0 of the core package now.A new generator method
iterobjects()has been added to theCursorclass. This generator returns “definition objects” for all the objects in a schema in topological order (i.e. if the name of an object (e.g. a table) is generated it will only depend on objects whose name has been yielded before). SQL for recreating and deleting these SQL objects can be generated from the definition objects.Two scripts (
oracreate.pyandoradrop.py) have been added, that create SQL scripts for recreating or deleting the content of an Oracle schema.
Changes in ll-orasql 0.7 (released 08/09/2005)
The commands generated by
iterdrop()no longer have a terminating;, as this seems to confuse Oracle/cx_Oracle.
Changes in ll-orasql 0.6 (released 06/20/2005)
Two new functions have been added:
iterdrop()is a generator that yields information about how to clear the schema (i.e. drop all table, sequences, etc.).itercreate()yields information about how to recreate a schema.
Changes in ll-orasql 0.5 (released 06/07/2005)
Date values are now supported as
OUTparameters.
Changes in ll-orasql 0.4.1 (released 03/22/2005)
Added a note about the package init file to the installation documentation.
Changes in ll-orasql 0.4 (released 01/03/2005)
ll.orasqlnow requires ll-core.Procedures can now be called with string arguments longer that 32768 characters. In this case the argument will be converted to a variable before the call. The procedure argument must be a
CLOBin this case.Creating
Recordinstances from database data is now done by the class methodRecord.fromdata(). This means it’s now possible to use any other class as long as it provides this method.
Changes in ll-orasql 0.3 (released 12/09/2004)
ll.orasqlrequires cx_Oracle 4.1 now.
Changes in ll-orasql 0.2.1 (released 09/09/2004)
Fixed a regression bug in
Proc._calcrealargs()as cursors will now always returnRecordobjects.
Changes in ll-orasql 0.2 (released 09/08/2004)
Now generating
Recordobject is done automatically in a subclass ofcx_Oracle.Cursor. So now it’s possible to usell.orasqlas an extendedcx_Oracle.
Changes in ll-orasql 0.1 (released 07/15/2004)
Initial release.
Changes to ll-nightshade
Changes in ll-nightshade 0.14.1 (released 03/09/2009)
ll.nightshade.Callnow commits any changes that might have been done by the function or procedure.
Changes in ll-nightshade 0.14 (released 01/14/2009)
ll.nightshade.Connectionhas new methodscommit(),rollback(),close()andcancel().
Changes in ll-nightshade 0.13.1 (released 08/29/2008)
Connect.cursor()now passes keyword arguments through toll.orasql.Connection.cursor().
Changes in ll-nightshade 0.13 (released 02/15/2008)
CherryPy 3.0 is required now.
The
conditional()decorator has been removed. You can use CherryPy’stools.etagstool.The
cache()decorator has been removed. You can use CherryPy’stools.cachingtool.
Changes in ll-nightshade 0.12 (released 02/01/2008)
All docstrings use ReST now.
Changes in ll-nightshade 0.11 (released 01/07/2008)
Updated the docstrings to XIST 3.0.
Added ReST versions of the documentation.
Changes in ll-nightshade 0.10 (released 09/04/2007)
When a
Connectobject is used as a decorator the database connection is no longer passed to the decorated function. This means that there will no longer be any signature mismatch between the original function and the decorated function. However theConnectobject must be stored somewhere else and the user must call the newcursor()method to get a cursor.Keyword argument in the
Connectconstructor are passed on to theconnect()call.
Changes in ll-nightshade 0.9 (released 07/18/2007)
Added support for the
Cache-Controlheader.
Changes in ll-nightshade 0.8.1 (released 06/26/2007)
Fixed a bug in
Call.__call__()(calling the procedure wasn’t retried after the connection got lost).
Changes in ll-nightshade 0.8 (released 06/21/2007)
withconnectionhas been renamed toConnectand the implementation of__call__()has been fixed.Callnow needs aConnectobject as the second argument in the constructor (instead of takingconnectstring,poolandretryarguments).
Changes in ll-nightshade 0.7.1 (released 05/12/2007)
Fixed a bug that surfaced after the connection to the database was lost.
Changes in ll-nightshade 0.7 (released 03/16/2007)
A new decorator
withconnectionhas been added. This can be used to retry database operations in case of stale connections.
Changes in ll-nightshade 0.6 (released 03/12/2007)
Initial public release.