[PATCH 4 of 7 WIPv2] cli: convert 'gearbox ishell' into 'kallithea-cli ishell'

Mads Kiilerich mads at kiilerich.com
Tue Oct 9 10:02:36 UTC 2018


On 10/8/18 9:57 PM, Thomas De Schampheleire wrote:
> # HG changeset patch
> # User Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
> # Date 1538422696 -7200
> #      Mon Oct 01 21:38:16 2018 +0200
> # Node ID 14d0a7fc45f3c5dd7333d3f93335d5b556e7c4f0
> # Parent  4208df04508892ce4612b0a392345176fe946e6c
> cli: convert 'gearbox ishell' into 'kallithea-cli ishell'
>
> --
>
> Question: what is the purpose of the imports 'used in IPython shell' ?
> I don't see a difference when e.g. removing the import of datetime.


I guess it is to explicitly make sure datetime can be used in ishell 
without importing it first. datetime is probably already imported 
through other dependencies. So, perhaps nice to have explicit ... but it 
also doesn't seem like a very essential module, so perhaps not worth it 
to have explicit ...

/Mads



More information about the kallithea-general mailing list