Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup (get rid py26 stuff) #2214

Merged
merged 6 commits into from
Oct 5, 2018
Merged

Cleanup (get rid py26 stuff) #2214

merged 6 commits into from
Oct 5, 2018

Conversation

menshikh-iv
Copy link
Contributor

Just small cleanup

  • Remove ez_setup.py (no more relevant)
  • Fix loggers (use __name__ everywhere)
  • Add 3.7 to classifier
  • Use built-in bit_length

Copy link
Owner

@piskvorky piskvorky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice clean up! Not sure about the CLI logging… do we want consistency (users see __main__), or do we want more descriptive log names (users see gensim.models.XYZ)?

@@ -74,7 +74,7 @@
from gensim.models.lda_worker import LDA_WORKER_PREFIX


logger = logging.getLogger("gensim.models.lda_dispatcher")
logger = logging.getLogger(__name__)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a good idea in CLI scripts (__name__ will be just __main__ there).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed: ee87342

@menshikh-iv menshikh-iv merged commit 2891861 into develop Oct 5, 2018
@menshikh-iv menshikh-iv deleted the cleanup branch October 5, 2018 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants