File: TODO.txt

package info (click to toggle)
codespeak-lib 0.9.1-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,212 kB
  • ctags: 5,409
  • sloc: python: 33,390; ansic: 961; xml: 582; makefile: 90
file content (480 lines) | stat: -rw-r--r-- 22,584 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
Things to do for 0.9.0 
========================= 

* (XXX not done, but the documentation is marked accordingly)
  make "_" namespace:  py.log -> py._log (pypy!) 

packaging
-------------------------------------

* debian and TAR/zip packages for py lib, 
  particularly look into C module issues (greenlet most importantly) 

* do something about c-extensions both on unix-ish 
  versus win32 systems 

* ensure compatibility with Python 2.3 - 2.5, 
  see what is missing for 2.2 

* optional: support setuptools (eggs?) installs, and instally
  from pypi (and register pylib there) 

* (DONE/c-modules don't) see if things work on Win32 (partially done) 

* (partly DONE) refine and implement releasescheme/download


APIGEN / source viewer
-------------------------------------

* (DONE, XXX functions/methods?) integrate rest directive into 
  py/documentation/conftest.py 
  with help code from py.__.rest.directive.... 
  make sure that the txt files in py/documentation/ use it

testing
-----------

* these should all work on 0.9 and on the py lib and pypy:
    - running "py.test -s" 
    - running "py.test --pdb" 
    - running "py.test --looponfailing" 
    - running "py.test" distributed on some hosts

  (guido tested all on win32, everything works except --dist (requires
  os.fork to work))

distributed testing / RSession
------------------------------------

* (optional) see if more of py/test/session.py's Session can be reused 

code quality
-----------------

* no function implementation longer than 30 lines 

* no lines longer than 80 characters 

* review the pylib issue tracker
  (cfbolz: done: what has a 0.8.0 or a 0.9.0 tag should be looked at again)


py.test
-------

* (needs review) adjust py.test documentation to reflect new
  collector/session architecture 

* (in-progress, NOT DONE) document py.test's conftest.py approach

* (postponed, likely) py.test fails to parse strangely formatted code after assertion failure

Missing docstrings
------------------

::

    code.Traceback.recursionindex misses a docstring
    code.Traceback.filter misses a docstring
    code.Traceback.cut misses a docstring
    code.Traceback.__getitem__ misses a docstring
    code.Traceback.Entry misses a docstring
    code.Traceback.Entry.ishidden misses a docstring
    code.Traceback.Entry.getfirstlinesource misses a docstring
    code.Traceback.Entry.__str__ misses a docstring
    code.Traceback.Entry.__repr__ misses a docstring
    code.Traceback.Entry.__init__ misses a docstring
    code.Source.getblockend misses a docstring
    code.Source.__str__ misses a docstring
    code.Source.__len__ misses a docstring
    code.Source.__init__ misses a docstring
    code.Source.__getslice__ misses a docstring
    code.Source.__getitem__ misses a docstring
    code.Source.__eq__ misses a docstring
    code.Frame.repr misses a docstring
    code.Frame.is_true misses a docstring
    code.Frame.getargs misses a docstring
    code.Frame.exec_ misses a docstring
    code.Frame.eval misses a docstring
    code.Frame.__init__ misses a docstring
    code.ExceptionInfo.exconly misses a docstring
    code.ExceptionInfo.errisinstance misses a docstring
    code.ExceptionInfo.__str__ misses a docstring
    code.ExceptionInfo.__init__ misses a docstring
    code.Code misses a docstring
    code.Code.source misses a docstring
    code.Code.getargs misses a docstring
    code.Code.__init__ misses a docstring
    code.Code.__eq__ misses a docstring
    execnet.SshGateway misses a docstring
    execnet.SshGateway.join misses a docstring
    execnet.SshGateway.exit misses a docstring
    execnet.SshGateway.__repr__ misses a docstring
    execnet.SshGateway.__init__ misses a docstring
    execnet.SshGateway.ThreadOut.write misses a docstring
    execnet.SshGateway.ThreadOut.setwritefunc misses a docstring
    execnet.SshGateway.ThreadOut.setdefaultwriter misses a docstring
    execnet.SshGateway.ThreadOut.resetdefault misses a docstring
    execnet.SshGateway.ThreadOut.isatty misses a docstring
    execnet.SshGateway.ThreadOut.flush misses a docstring
    execnet.SshGateway.ThreadOut.delwritefunc misses a docstring
    execnet.SshGateway.ThreadOut.deinstall misses a docstring
    execnet.SocketGateway misses a docstring
    execnet.SocketGateway.join misses a docstring
    execnet.SocketGateway.exit misses a docstring
    execnet.SocketGateway.__repr__ misses a docstring
    execnet.SocketGateway.__init__ misses a docstring
    execnet.PopenGateway misses a docstring
    execnet.PopenGateway.remote_bootstrap_gateway misses a docstring
    execnet.PopenGateway.join misses a docstring
    execnet.PopenGateway.exit misses a docstring
    execnet.PopenGateway.__repr__ misses a docstring
    execnet.PopenGateway.__init__ misses a docstring
    initpkg misses a docstring
    log.setconsumer misses a docstring
    log.get misses a docstring
    log.Syslog misses a docstring
    log.STDOUT misses a docstring
    log.STDERR misses a docstring
    log.Producer.set_consumer misses a docstring
    log.Producer.get_consumer misses a docstring
    log.Producer.__repr__ misses a docstring
    log.Producer.__init__ misses a docstring
    log.Producer.__getattr__ misses a docstring
    log.Producer.__call__ misses a docstring
    log.Producer.Message misses a docstring
    log.Producer.Message.prefix misses a docstring
    log.Producer.Message.content misses a docstring
    log.Producer.Message.__str__ misses a docstring
    log.Producer.Message.__init__ misses a docstring
    log.Path misses a docstring
    log.Path.__init__ misses a docstring
    log.Path.__call__ misses a docstring
    magic.View.__viewkey__ misses a docstring
    magic.View.__repr__ misses a docstring
    magic.View.__new__ misses a docstring
    magic.View.__matchkey__ misses a docstring
    magic.View.__getattr__ misses a docstring
    magic.AssertionError misses a docstring
    path.svnwc.visit misses a docstring
    path.svnwc.mkdir misses a docstring
    path.svnwc.dump misses a docstring
    path.svnwc.check misses a docstring
    path.svnwc.add misses a docstring
    path.svnwc.__str__ misses a docstring
    path.svnwc.__repr__ misses a docstring
    path.svnwc.__new__ misses a docstring
    path.svnwc.__iter__ misses a docstring
    path.svnwc.__hash__ misses a docstring
    path.svnwc.__eq__ misses a docstring
    path.svnwc.__div__ misses a docstring
    path.svnwc.__contains__ misses a docstring
    path.svnwc.__cmp__ misses a docstring
    path.svnwc.__add__ misses a docstring
    path.svnwc.Checkers misses a docstring
    path.svnurl.visit misses a docstring
    path.svnurl.check misses a docstring
    path.svnurl.__repr__ misses a docstring
    path.svnurl.__new__ misses a docstring
    path.svnurl.__ne__ misses a docstring
    path.svnurl.__iter__ misses a docstring
    path.svnurl.__hash__ misses a docstring
    path.svnurl.__div__ misses a docstring
    path.svnurl.__contains__ misses a docstring
    path.svnurl.__cmp__ misses a docstring
    path.svnurl.__add__ misses a docstring
    path.svnurl.Checkers misses a docstring
    path.local.visit misses a docstring
    path.local.sysexec has an 'XXX' in its docstring
    path.local.check misses a docstring
    path.local.__repr__ misses a docstring
    path.local.__iter__ misses a docstring
    path.local.__hash__ misses a docstring
    path.local.__eq__ misses a docstring
    path.local.__div__ misses a docstring
    path.local.__contains__ misses a docstring
    path.local.__cmp__ misses a docstring
    path.local.__add__ misses a docstring
    path.local.Checkers misses a docstring
    test.rest.RestReporter misses a docstring
    test.rest.RestReporter.summary misses a docstring
    test.rest.RestReporter.skips misses a docstring
    test.rest.RestReporter.repr_traceback misses a docstring
    test.rest.RestReporter.repr_source misses a docstring
    test.rest.RestReporter.repr_signal misses a docstring
    test.rest.RestReporter.repr_failure misses a docstring
    test.rest.RestReporter.report_unknown misses a docstring
    test.rest.RestReporter.report_TestStarted misses a docstring
    test.rest.RestReporter.report_TestFinished misses a docstring
    test.rest.RestReporter.report_SkippedTryiter misses a docstring
    test.rest.RestReporter.report_SendItem misses a docstring
    test.rest.RestReporter.report_RsyncFinished misses a docstring
    test.rest.RestReporter.report_ReceivedItemOutcome misses a docstring
    test.rest.RestReporter.report_Nodes misses a docstring
    test.rest.RestReporter.report_ItemStart misses a docstring
    test.rest.RestReporter.report_ImmediateFailure misses a docstring
    test.rest.RestReporter.report_HostReady misses a docstring
    test.rest.RestReporter.report_HostRSyncing misses a docstring
    test.rest.RestReporter.report_FailedTryiter misses a docstring
    test.rest.RestReporter.report misses a docstring
    test.rest.RestReporter.print_summary misses a docstring
    test.rest.RestReporter.prepare_source misses a docstring
    test.rest.RestReporter.hangs misses a docstring
    test.rest.RestReporter.get_rootpath misses a docstring
    test.rest.RestReporter.get_path_from_item misses a docstring
    test.rest.RestReporter.get_linkwriter misses a docstring
    test.rest.RestReporter.get_item_name misses a docstring
    test.rest.RestReporter.get_host misses a docstring
    test.rest.RestReporter.failures misses a docstring
    test.rest.RestReporter.add_rest misses a docstring
    test.rest.RestReporter.__init__ misses a docstring
    test.rest.RelLinkWriter misses a docstring
    test.rest.RelLinkWriter.get_link misses a docstring
    test.rest.NoLinkWriter misses a docstring
    test.rest.NoLinkWriter.get_link misses a docstring
    test.rest.LinkWriter misses a docstring
    test.rest.LinkWriter.get_link misses a docstring
    test.rest.LinkWriter.__init__ misses a docstring
    test.exit misses a docstring
    test.deprecated_call misses a docstring
    test.collect.Module misses a docstring
    test.collect.Module.tryiter has an 'XXX' in its docstring
    test.collect.Module.teardown misses a docstring
    test.collect.Module.startcapture misses a docstring
    test.collect.Module.skipbykeyword misses a docstring
    test.collect.Module.setup misses a docstring
    test.collect.Module.run misses a docstring
    test.collect.Module.makeitem misses a docstring
    test.collect.Module.listnames misses a docstring
    test.collect.Module.join misses a docstring
    test.collect.Module.haskeyword misses a docstring
    test.collect.Module.getsortvalue misses a docstring
    test.collect.Module.getpathlineno misses a docstring
    test.collect.Module.getouterr misses a docstring
    test.collect.Module.getitembynames misses a docstring
    test.collect.Module.funcnamefilter misses a docstring
    test.collect.Module.finishcapture misses a docstring
    test.collect.Module.classnamefilter misses a docstring
    test.collect.Module.buildname2items misses a docstring
    test.collect.Module.__repr__ misses a docstring
    test.collect.Module.__ne__ misses a docstring
    test.collect.Module.__init__ misses a docstring
    test.collect.Module.__hash__ misses a docstring
    test.collect.Module.__eq__ misses a docstring
    test.collect.Module.__cmp__ misses a docstring
    test.collect.Module.Skipped misses a docstring
    test.collect.Module.Passed misses a docstring
    test.collect.Module.Outcome misses a docstring
    test.collect.Module.Failed misses a docstring
    test.collect.Module.ExceptionFailure misses a docstring
    test.collect.Instance misses a docstring
    test.collect.Instance.tryiter has an 'XXX' in its docstring
    test.collect.Instance.teardown misses a docstring
    test.collect.Instance.startcapture misses a docstring
    test.collect.Instance.skipbykeyword misses a docstring
    test.collect.Instance.setup misses a docstring
    test.collect.Instance.run misses a docstring
    test.collect.Instance.makeitem misses a docstring
    test.collect.Instance.listnames misses a docstring
    test.collect.Instance.join misses a docstring
    test.collect.Instance.haskeyword misses a docstring
    test.collect.Instance.getsortvalue misses a docstring
    test.collect.Instance.getpathlineno misses a docstring
    test.collect.Instance.getouterr misses a docstring
    test.collect.Instance.getitembynames misses a docstring
    test.collect.Instance.funcnamefilter misses a docstring
    test.collect.Instance.finishcapture misses a docstring
    test.collect.Instance.classnamefilter misses a docstring
    test.collect.Instance.buildname2items misses a docstring
    test.collect.Instance.__repr__ misses a docstring
    test.collect.Instance.__ne__ misses a docstring
    test.collect.Instance.__init__ misses a docstring
    test.collect.Instance.__hash__ misses a docstring
    test.collect.Instance.__eq__ misses a docstring
    test.collect.Instance.__cmp__ misses a docstring
    test.collect.Generator misses a docstring
    test.collect.Generator.tryiter has an 'XXX' in its docstring
    test.collect.Generator.teardown misses a docstring
    test.collect.Generator.startcapture misses a docstring
    test.collect.Generator.skipbykeyword misses a docstring
    test.collect.Generator.setup misses a docstring
    test.collect.Generator.run misses a docstring
    test.collect.Generator.listnames misses a docstring
    test.collect.Generator.join misses a docstring
    test.collect.Generator.haskeyword misses a docstring
    test.collect.Generator.getsortvalue misses a docstring
    test.collect.Generator.getpathlineno misses a docstring
    test.collect.Generator.getouterr misses a docstring
    test.collect.Generator.getitembynames misses a docstring
    test.collect.Generator.getcallargs misses a docstring
    test.collect.Generator.finishcapture misses a docstring
    test.collect.Generator.buildname2items misses a docstring
    test.collect.Generator.__repr__ misses a docstring
    test.collect.Generator.__ne__ misses a docstring
    test.collect.Generator.__init__ misses a docstring
    test.collect.Generator.__hash__ misses a docstring
    test.collect.Generator.__eq__ misses a docstring
    test.collect.Generator.__cmp__ misses a docstring
    test.collect.DoctestFile misses a docstring
    test.collect.DoctestFile.tryiter has an 'XXX' in its docstring
    test.collect.DoctestFile.teardown misses a docstring
    test.collect.DoctestFile.startcapture misses a docstring
    test.collect.DoctestFile.skipbykeyword misses a docstring
    test.collect.DoctestFile.setup misses a docstring
    test.collect.DoctestFile.run misses a docstring
    test.collect.DoctestFile.makeitem misses a docstring
    test.collect.DoctestFile.listnames misses a docstring
    test.collect.DoctestFile.join misses a docstring
    test.collect.DoctestFile.haskeyword misses a docstring
    test.collect.DoctestFile.getsortvalue misses a docstring
    test.collect.DoctestFile.getpathlineno misses a docstring
    test.collect.DoctestFile.getouterr misses a docstring
    test.collect.DoctestFile.getitembynames misses a docstring
    test.collect.DoctestFile.funcnamefilter misses a docstring
    test.collect.DoctestFile.finishcapture misses a docstring
    test.collect.DoctestFile.classnamefilter misses a docstring
    test.collect.DoctestFile.buildname2items misses a docstring
    test.collect.DoctestFile.__repr__ misses a docstring
    test.collect.DoctestFile.__ne__ misses a docstring
    test.collect.DoctestFile.__init__ misses a docstring
    test.collect.DoctestFile.__hash__ misses a docstring
    test.collect.DoctestFile.__eq__ misses a docstring
    test.collect.DoctestFile.__cmp__ misses a docstring
    test.collect.Directory misses a docstring
    test.collect.Directory.tryiter has an 'XXX' in its docstring
    test.collect.Directory.teardown misses a docstring
    test.collect.Directory.startcapture misses a docstring
    test.collect.Directory.skipbykeyword misses a docstring
    test.collect.Directory.setup misses a docstring
    test.collect.Directory.run misses a docstring
    test.collect.Directory.recfilter misses a docstring
    test.collect.Directory.makeitem misses a docstring
    test.collect.Directory.listnames misses a docstring
    test.collect.Directory.join misses a docstring
    test.collect.Directory.haskeyword misses a docstring
    test.collect.Directory.getsortvalue misses a docstring
    test.collect.Directory.getpathlineno misses a docstring
    test.collect.Directory.getouterr misses a docstring
    test.collect.Directory.getitembynames misses a docstring
    test.collect.Directory.finishcapture misses a docstring
    test.collect.Directory.filefilter misses a docstring
    test.collect.Directory.buildname2items misses a docstring
    test.collect.Directory.__repr__ misses a docstring
    test.collect.Directory.__ne__ misses a docstring
    test.collect.Directory.__init__ misses a docstring
    test.collect.Directory.__hash__ misses a docstring
    test.collect.Directory.__eq__ misses a docstring
    test.collect.Directory.__cmp__ misses a docstring
    test.collect.Collector misses a docstring
    test.collect.Collector.tryiter has an 'XXX' in its docstring
    test.collect.Collector.teardown misses a docstring
    test.collect.Collector.startcapture misses a docstring
    test.collect.Collector.skipbykeyword misses a docstring
    test.collect.Collector.setup misses a docstring
    test.collect.Collector.run misses a docstring
    test.collect.Collector.listnames misses a docstring
    test.collect.Collector.join misses a docstring
    test.collect.Collector.haskeyword misses a docstring
    test.collect.Collector.getsortvalue misses a docstring
    test.collect.Collector.getpathlineno misses a docstring
    test.collect.Collector.getouterr misses a docstring
    test.collect.Collector.getitembynames misses a docstring
    test.collect.Collector.finishcapture misses a docstring
    test.collect.Collector.buildname2items misses a docstring
    test.collect.Collector.__repr__ misses a docstring
    test.collect.Collector.__ne__ misses a docstring
    test.collect.Collector.__init__ misses a docstring
    test.collect.Collector.__hash__ misses a docstring
    test.collect.Collector.__eq__ misses a docstring
    test.collect.Collector.__cmp__ misses a docstring
    test.collect.Class misses a docstring
    test.collect.Class.tryiter has an 'XXX' in its docstring
    test.collect.Class.teardown misses a docstring
    test.collect.Class.startcapture misses a docstring
    test.collect.Class.skipbykeyword misses a docstring
    test.collect.Class.setup misses a docstring
    test.collect.Class.run misses a docstring
    test.collect.Class.makeitem misses a docstring
    test.collect.Class.listnames misses a docstring
    test.collect.Class.join misses a docstring
    test.collect.Class.haskeyword misses a docstring
    test.collect.Class.getsortvalue misses a docstring
    test.collect.Class.getpathlineno misses a docstring
    test.collect.Class.getouterr misses a docstring
    test.collect.Class.getitembynames misses a docstring
    test.collect.Class.funcnamefilter misses a docstring
    test.collect.Class.finishcapture misses a docstring
    test.collect.Class.classnamefilter misses a docstring
    test.collect.Class.buildname2items misses a docstring
    test.collect.Class.__repr__ misses a docstring
    test.collect.Class.__ne__ misses a docstring
    test.collect.Class.__init__ misses a docstring
    test.collect.Class.__hash__ misses a docstring
    test.collect.Class.__eq__ misses a docstring
    test.collect.Class.__cmp__ misses a docstring
    test.cmdline.main misses a docstring
    test.Item misses a docstring
    test.Item.tryiter has an 'XXX' in its docstring
    test.Item.teardown misses a docstring
    test.Item.startcapture misses a docstring
    test.Item.skipbykeyword misses a docstring
    test.Item.setup misses a docstring
    test.Item.run misses a docstring
    test.Item.listnames misses a docstring
    test.Item.join misses a docstring
    test.Item.haskeyword misses a docstring
    test.Item.getsortvalue misses a docstring
    test.Item.getpathlineno misses a docstring
    test.Item.getouterr misses a docstring
    test.Item.getitembynames misses a docstring
    test.Item.finishcapture misses a docstring
    test.Item.buildname2items misses a docstring
    test.Item.__repr__ misses a docstring
    test.Item.__ne__ misses a docstring
    test.Item.__init__ misses a docstring
    test.Item.__hash__ misses a docstring
    test.Item.__eq__ misses a docstring
    test.Item.__cmp__ misses a docstring
    test.Function.tryiter has an 'XXX' in its docstring
    test.Function.teardown misses a docstring
    test.Function.startcapture misses a docstring
    test.Function.skipbykeyword misses a docstring
    test.Function.setup misses a docstring
    test.Function.run misses a docstring
    test.Function.listnames misses a docstring
    test.Function.join misses a docstring
    test.Function.haskeyword misses a docstring
    test.Function.getsortvalue misses a docstring
    test.Function.getpathlineno misses a docstring
    test.Function.getouterr misses a docstring
    test.Function.getitembynames misses a docstring
    test.Function.finishcapture misses a docstring
    test.Function.buildname2items misses a docstring
    test.Function.__repr__ misses a docstring
    test.Function.__ne__ misses a docstring
    test.Function.__init__ misses a docstring
    test.Function.__hash__ misses a docstring
    test.Function.__eq__ misses a docstring
    test.Function.__cmp__ misses a docstring
    test.Config.__init__ misses a docstring
    xml.raw.__init__ misses a docstring
    xml.html misses a docstring
    xml.html.__tagclass__ misses a docstring
    xml.html.__tagclass__.unicode misses a docstring
    xml.html.__tagclass__.__unicode__ misses a docstring
    xml.html.__tagclass__.__repr__ misses a docstring
    xml.html.__tagclass__.__init__ misses a docstring
    xml.html.__tagclass__.Attr misses a docstring
    xml.html.__tagclass__.Attr.__init__ misses a docstring
    xml.html.__metaclass__ misses a docstring
    xml.html.__metaclass__.__getattr__ misses a docstring
    xml.html.Style misses a docstring
    xml.html.Style.__init__ misses a docstring
    xml.escape misses a docstring
    xml.Tag misses a docstring
    xml.Tag.unicode misses a docstring
    xml.Tag.__unicode__ misses a docstring
    xml.Tag.__repr__ misses a docstring
    xml.Tag.__init__ misses a docstring
    xml.Namespace misses a docstring