Skip to content

Define __all__ in the top level package#494

Merged
pganssle merged 1 commit into
dateutil:masterfrom
mariocj89:406_import_all
Nov 5, 2017
Merged

Define __all__ in the top level package#494
pganssle merged 1 commit into
dateutil:masterfrom
mariocj89:406_import_all

Conversation

@mariocj89

Copy link
Copy Markdown
Member

Even if using import * is discouraged in general and considered a bad practice, it is considered by convention to define the public API of a module. That combined with some users asking for it lead to this commit.

Closes #406

Even if using import * is discouraged in general and considered a bad
practice, it is considered by convention to define the public API of a
module. That combined with some users asking for it lead to this commit.

Closes #406
@pganssle

pganssle commented Nov 5, 2017

Copy link
Copy Markdown
Member

Thanks, Mario!

@pganssle
pganssle merged commit 89baa22 into dateutil:master Nov 5, 2017
@pganssle pganssle added this to the 2.7.0 milestone Nov 5, 2017
@pganssle pganssle added the style label Nov 5, 2017
@tebriel

tebriel commented Nov 5, 2017

Copy link
Copy Markdown

Thanks!

@mariocj89
mariocj89 deleted the 406_import_all branch November 5, 2017 15:05
@pganssle pganssle mentioned this pull request Mar 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants