-
Notifications
You must be signed in to change notification settings - Fork 4
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
symbiose #3
base: master
Are you sure you want to change the base?
symbiose #3
Conversation
with argument parser !
add versionoption
régler le problème de suffixe dans getaddoption
excepté la traduction, ajout de l'utilisation de argparse à la place optionparse.
Fixed an infinite loop issue in fs_poller.py with base.py.
try to change with starofrainning's code
@@ -289,13 +304,14 @@ def _get_modpkg_path(dotted_name, pathlist=None): | |||
extension module. | |||
""" | |||
# split off top-most name | |||
parts = dotted_name.split('.', 1) | |||
parts = dotted_name.split(".", 1) | |||
|
|||
if len(parts) > 1: | |||
# we have a dotted path, import top-level package | |||
try: | |||
file, pathname, description = imp.find_module(parts[0], pathlist) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why imp.find_module() is not changed.
https://docs.python.org/3.11/library/imp.html :
Deprecated since version 3.3: Use importlib.util.find_spec() instead unless Python 3.3 compatibility is required, in which case use importlib.find_loader(). For example usage of the former case, see the Examples section of the importlib documentation.
need docstring
not NewUdRef but ID_ANY
TODO : a revoir unicode/byte lecture/écriture.
To obtain a usable taskcoach