eric6/Documentation/Source/eric6.Globals.compatibility_fixes.html

Wed, 13 Jul 2022 15:34:50 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 13 Jul 2022 15:34:50 +0200
branch
with_python2
changeset 9225
bf799f79455c
parent 6942
2602857055c5
permissions
-rw-r--r--

Revisions <no_multi_processing, Variables Viewer, with_python2> closed.

4343
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1 <!DOCTYPE html>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2 <html><head>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
3 <title>eric6.Globals.compatibility_fixes</title>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
4 <meta charset="UTF-8">
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
5 <style>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
6 body {
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
7 background: #EDECE6;
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
8 margin: 0em 1em 10em 1em;
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
9 color: black;
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
10 }
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
11
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
12 h1 { color: white; background: #85774A; }
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
13 h2 { color: white; background: #85774A; }
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
14 h3 { color: white; background: #9D936E; }
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
15 h4 { color: white; background: #9D936E; }
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
16
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
17 a { color: #BA6D36; }
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
18
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
19 </style>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
20 </head>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
21 <body><a NAME="top" ID="top"></a>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
22 <h1>eric6.Globals.compatibility_fixes</h1>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
23 <p>
4397
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
24 Module implementing some workarounds to let eric6 run under Python 2.
4343
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
25 </p>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
26 <h3>Global Attributes</h3>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
27 <table>
4397
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
28 <tr><td>__find_module</td></tr><tr><td>__join</td></tr><tr><td>__load_source</td></tr>
4343
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
29 </table>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
30 <h3>Classes</h3>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
31 <table>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
32 <tr>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
33 <td><a href="#File">File</a></td>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
34 <td></td>
4397
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
35 </tr><tr>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
36 <td><a href="#PlainStrList">PlainStrList</a></td>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
37 <td>Keep track that all added paths to sys.path are str.</td>
4343
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
38 </tr>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
39 </table>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
40 <h3>Functions</h3>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
41 <table>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
42 <tr>
4397
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
43 <td><a href="#find_moduleAsStr">find_moduleAsStr</a></td>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
44 <td>Convert none str parameter of the imp.find_module into str.</td>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
45 </tr><tr>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
46 <td><a href="#joinAsUnicode">joinAsUnicode</a></td>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
47 <td>Convert none unicode parameter of the os.path.join into unicode.</td>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
48 </tr><tr>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
49 <td><a href="#load_sourceAsStr">load_sourceAsStr</a></td>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
50 <td>Convert none str parameter of the imp.load_source into str.</td>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
51 </tr><tr>
4343
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
52 <td><a href="#open">open</a></td>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
53 <td>Replacement for the build in open function.</td>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
54 </tr>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
55 </table>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
56 <hr /><hr />
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
57 <a NAME="File" ID="File"></a>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
58 <h2>File</h2>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
59
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
60 <h3>Derived from</h3>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
61 file
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
62 <h3>Class Attributes</h3>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
63 <table>
4569
8ff785ae7ae6 Regenerated source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4397
diff changeset
64 <tr><td>None</td></tr>
4343
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
65 </table>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
66 <h3>Class Methods</h3>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
67 <table>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
68 <tr><td>None</td></tr>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
69 </table>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
70 <h3>Methods</h3>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
71 <table>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
72 <tr>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
73 <td><a href="#File.__init__">File</a></td>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
74 <td>Constructor</td>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
75 </tr><tr>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
76 <td><a href="#File.next">next</a></td>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
77 <td>Public method used in an iterator.</td>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
78 </tr><tr>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
79 <td><a href="#File.read">read</a></td>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
80 <td>Public method to read n bytes or all if n=-1 from file.</td>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
81 </tr><tr>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
82 <td><a href="#File.readline">readline</a></td>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
83 <td>Public method to read one line from file.</td>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
84 </tr><tr>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
85 <td><a href="#File.readlines">readlines</a></td>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
86 <td>Public method to read all lines from file.</td>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
87 </tr><tr>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
88 <td><a href="#File.write">write</a></td>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
89 <td>Public method to write given data to file and encode if needed.</td>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
90 </tr>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
91 </table>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
92 <h3>Static Methods</h3>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
93 <table>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
94 <tr><td>None</td></tr>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
95 </table>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
96 <a NAME="File.__init__" ID="File.__init__"></a>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
97 <h4>File (Constructor)</h4>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
98 <b>File</b>(<i>filein, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True</i>)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
99 <p>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
100 Constructor
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
101 </p><p>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
102 It checks for unimplemented parameters.
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
103 </p><dl>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
104 <dt><i>filein</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
105 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
106 filename or file descriptor (string)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
107 </dd><dt><i>mode=</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
108 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
109 access mode (string)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
110 </dd><dt><i>buffering=</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
111 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
112 size of the read buffer (string)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
113 </dd><dt><i>encoding=</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
114 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
115 character encoding for reading/ writing (string)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
116 </dd><dt><i>errors=</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
117 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
118 behavior for the character encoding ('strict',
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
119 'explicit', ...) (string)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
120 </dd><dt><i>newline=</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
121 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
122 controls how universal newlines works (string)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
123 </dd><dt><i>closefd=</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
124 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
125 close underlying file descriptor if given as file
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
126 parameter (boolean)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
127 </dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
128 </dl><dl>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
129 <dt>Raises <b>NotImplementedError</b>:</dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
130 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
131 for not implemented method parameters
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
132 </dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
133 </dl><a NAME="File.next" ID="File.next"></a>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
134 <h4>File.next</h4>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
135 <b>next</b>(<i></i>)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
136 <p>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
137 Public method used in an iterator.
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
138 </p><dl>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
139 <dt>Returns:</dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
140 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
141 decoded data read
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
142 </dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
143 </dl><a NAME="File.read" ID="File.read"></a>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
144 <h4>File.read</h4>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
145 <b>read</b>(<i>n=-1</i>)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
146 <p>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
147 Public method to read n bytes or all if n=-1 from file.
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
148 </p><dl>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
149 <dt><i>n=</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
150 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
151 bytecount or all if n=-1 (int)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
152 </dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
153 </dl><dl>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
154 <dt>Returns:</dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
155 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
156 decoded bytes read
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
157 </dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
158 </dl><a NAME="File.readline" ID="File.readline"></a>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
159 <h4>File.readline</h4>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
160 <b>readline</b>(<i>limit=-1</i>)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
161 <p>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
162 Public method to read one line from file.
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
163 </p><dl>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
164 <dt><i>limit=</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
165 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
166 maximum bytes to read or all if limit=-1 (int)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
167 </dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
168 </dl><dl>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
169 <dt>Returns:</dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
170 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
171 decoded line read
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
172 </dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
173 </dl><a NAME="File.readlines" ID="File.readlines"></a>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
174 <h4>File.readlines</h4>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
175 <b>readlines</b>(<i>hint=-1</i>)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
176 <p>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
177 Public method to read all lines from file.
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
178 </p><dl>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
179 <dt><i>hint=</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
180 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
181 maximum bytes to read or all if hint=-1 (int)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
182 </dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
183 </dl><dl>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
184 <dt>Returns:</dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
185 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
186 decoded lines read
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
187 </dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
188 </dl><a NAME="File.write" ID="File.write"></a>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
189 <h4>File.write</h4>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
190 <b>write</b>(<i>txt</i>)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
191 <p>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
192 Public method to write given data to file and encode if needed.
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
193 </p><dl>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
194 <dt><i>txt</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
195 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
196 data to write. (str, bytes)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
197 </dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
198 </dl>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
199 <div align="right"><a href="#top">Up</a></div>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
200 <hr /><hr />
4397
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
201 <a NAME="PlainStrList" ID="PlainStrList"></a>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
202 <h2>PlainStrList</h2>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
203 <p>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
204 Keep track that all added paths to sys.path are str.
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
205 </p>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
206 <h3>Derived from</h3>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
207 list
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
208 <h3>Class Attributes</h3>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
209 <table>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
210 <tr><td>None</td></tr>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
211 </table>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
212 <h3>Class Methods</h3>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
213 <table>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
214 <tr><td>None</td></tr>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
215 </table>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
216 <h3>Methods</h3>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
217 <table>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
218 <tr>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
219 <td><a href="#PlainStrList.__init__">PlainStrList</a></td>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
220 <td>Constructor</td>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
221 </tr><tr>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
222 <td><a href="#PlainStrList.__convert">__convert</a></td>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
223 <td>Private method to convert unicode to file system encoding.</td>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
224 </tr><tr>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
225 <td><a href="#PlainStrList.__setitem__">__setitem__</a></td>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
226 <td>Special method to overwrite a specific list item.</td>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
227 </tr><tr>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
228 <td><a href="#PlainStrList.insert">insert</a></td>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
229 <td>Public method to insert a specific list item.</td>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
230 </tr>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
231 </table>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
232 <h3>Static Methods</h3>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
233 <table>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
234 <tr><td>None</td></tr>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
235 </table>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
236 <a NAME="PlainStrList.__init__" ID="PlainStrList.__init__"></a>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
237 <h4>PlainStrList (Constructor)</h4>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
238 <b>PlainStrList</b>(<i>*args</i>)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
239 <p>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
240 Constructor
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
241 </p><dl>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
242 <dt><i>args</i></dt>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
243 <dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
244 list of paths to start with (list)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
245 </dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
246 </dl><a NAME="PlainStrList.__convert" ID="PlainStrList.__convert"></a>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
247 <h4>PlainStrList.__convert</h4>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
248 <b>__convert</b>(<i>element</i>)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
249 <p>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
250 Private method to convert unicode to file system encoding.
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
251 </p><dl>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
252 <dt><i>element</i></dt>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
253 <dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
254 to convert from unicode to file system encoding (any)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
255 </dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
256 </dl><dl>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
257 <dt>Returns:</dt>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
258 <dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
259 converted element
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
260 </dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
261 </dl><a NAME="PlainStrList.__setitem__" ID="PlainStrList.__setitem__"></a>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
262 <h4>PlainStrList.__setitem__</h4>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
263 <b>__setitem__</b>(<i>idx, value</i>)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
264 <p>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
265 Special method to overwrite a specific list item.
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
266 </p><dl>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
267 <dt><i>idx</i></dt>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
268 <dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
269 index of the item (int)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
270 </dd><dt><i>value</i></dt>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
271 <dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
272 the new value (any)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
273 </dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
274 </dl><a NAME="PlainStrList.insert" ID="PlainStrList.insert"></a>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
275 <h4>PlainStrList.insert</h4>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
276 <b>insert</b>(<i>idx, value</i>)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
277 <p>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
278 Public method to insert a specific list item.
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
279 </p><dl>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
280 <dt><i>idx</i></dt>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
281 <dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
282 index of the item (int)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
283 </dd><dt><i>value</i></dt>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
284 <dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
285 the new value (any)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
286 </dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
287 </dl>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
288 <div align="right"><a href="#top">Up</a></div>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
289 <hr /><hr />
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
290 <a NAME="find_moduleAsStr" ID="find_moduleAsStr"></a>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
291 <h2>find_moduleAsStr</h2>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
292 <b>find_moduleAsStr</b>(<i>*args</i>)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
293 <p>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
294 Convert none str parameter of the imp.find_module into str.
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
295 </p><dl>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
296 <dt><i>args</i></dt>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
297 <dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
298 (str, unicode)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
299 </dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
300 </dl><dl>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
301 <dt>Returns:</dt>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
302 <dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
303 list of args converted to str (list)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
304 </dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
305 </dl>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
306 <div align="right"><a href="#top">Up</a></div>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
307 <hr /><hr />
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
308 <a NAME="joinAsUnicode" ID="joinAsUnicode"></a>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
309 <h2>joinAsUnicode</h2>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
310 <b>joinAsUnicode</b>(<i>*args</i>)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
311 <p>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
312 Convert none unicode parameter of the os.path.join into unicode.
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
313 </p><dl>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
314 <dt><i>args</i></dt>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
315 <dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
316 paths which should be joined (str, unicode)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
317 </dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
318 </dl><dl>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
319 <dt>Returns:</dt>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
320 <dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
321 unicode str of the path (unicode)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
322 </dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
323 </dl>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
324 <div align="right"><a href="#top">Up</a></div>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
325 <hr /><hr />
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
326 <a NAME="load_sourceAsStr" ID="load_sourceAsStr"></a>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
327 <h2>load_sourceAsStr</h2>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
328 <b>load_sourceAsStr</b>(<i>*args</i>)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
329 <p>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
330 Convert none str parameter of the imp.load_source into str.
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
331 </p><dl>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
332 <dt><i>args</i></dt>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
333 <dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
334 (str, unicode)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
335 </dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
336 </dl><dl>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
337 <dt>Returns:</dt>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
338 <dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
339 list of args converted to str (list)
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
340 </dd>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
341 </dl>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
342 <div align="right"><a href="#top">Up</a></div>
64d36562c391 Updated translations and source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4343
diff changeset
343 <hr /><hr />
4343
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
344 <a NAME="open" ID="open"></a>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
345 <h2>open</h2>
5606
da305d172769 Regenerated source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4569
diff changeset
346 <b>open</b>(<i>filein, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True</i>)
4343
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
347 <p>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
348 Replacement for the build in open function.
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
349 </p><dl>
5606
da305d172769 Regenerated source docu.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 4569
diff changeset
350 <dt><i>filein</i></dt>
4343
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
351 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
352 filename or file descriptor (string)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
353 </dd><dt><i>mode=</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
354 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
355 access mode (string)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
356 </dd><dt><i>buffering=</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
357 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
358 size of the read buffer (string)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
359 </dd><dt><i>encoding=</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
360 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
361 character encoding for reading/ writing (string)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
362 </dd><dt><i>errors=</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
363 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
364 behavior for the character encoding ('strict',
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
365 'explicit', ...) (string)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
366 </dd><dt><i>newline=</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
367 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
368 controls how universal newlines works (string)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
369 </dd><dt><i>closefd=</i></dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
370 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
371 close underlying file descriptor if given as file
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
372 parameter (boolean)
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
373 </dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
374 </dl><dl>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
375 <dt>Returns:</dt>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
376 <dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
377 Returns the new file object
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
378 </dd>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
379 </dl>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
380 <div align="right"><a href="#top">Up</a></div>
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
381 <hr />
afe0da217745 Added the '--settings=' command line switch to store the settings files in a non-standard directory.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
382 </body></html>

eric ide

mercurial