[geany/geany] 29f0d0: Add a warning about running this script with its potential side effects
Enrico Tröger
git-noreply at xxxxx
Wed Aug 29 20:40:54 UTC 2012
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Wed, 29 Aug 2012 20:40:54
Commit: 29f0d02be3072c25e1ccc27258621703830cc623
https://github.com/geany/geany/commit/29f0d02be3072c25e1ccc27258621703830cc623
Log Message:
-----------
Add a warning about running this script with its potential side effects
Modified Paths:
--------------
scripts/create_py_tags.py
Modified: scripts/create_py_tags.py
11 files changed, 11 insertions(+), 0 deletions(-)
===================================================================
@@ -11,6 +11,17 @@
# Parses all files given on command line for Python classes or functions and write
# them into data/python.tags (internal tagmanager format).
# If called without command line arguments, a preset of common Python libs is used.
+#
+# WARNING
+# Be aware that running this script will actually *import* modules in the specified directory
+# or in the standard library path of your Python installation. Dependent on what Python modules
+# you have installed, this might not be want you want and can have weird side effects.
+# You have been warned.
+#
+# It should be however relatively safe to execute this script from a fresh Python installation
+# installed into a dedicated prefix. Then nothing else is necessary as to change the interpreter
+# with which you start this script.
+#
import datetime
import imp
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list