[PYTHON DOC-SIG] Oops...
Ouch; I suppose this is what I get for being an "early adopter," but... it turns out I released a module in the version of the modified docco which doesn't have everything needed when running Python 1.3. Specifically, the file v1.3/token.py is missing some predicates that are defined in the v1.4/token.py module. These functions can simply be copied over from the 1.4 version of the file, or you can fetch the (fixed) version of the archive file. Sorry! (Yes, at least one person has actually downloaded the package, so I really had to announce this fix....) -Fred -- Fred L. Drake, Jr. fdrake@cnri.reston.va.us Corporation for National Research Initiatives 1895 Preston White Drive Reston, VA 20191-5434 ================= DOC-SIG - SIG for the Python Documentation Project send messages to: doc-sig@python.org administrivia to: doc-sig-request@python.org =================
Fred L. Drake wrote:
Ouch; I suppose this is what I get for being an "early adopter," but... it turns out I released a module in the version of the modified docco which doesn't have everything needed when running Python 1.3. Specifically, the file v1.3/token.py is missing some predicates that are defined in the v1.4/token.py module. These functions can simply be copied over from the 1.4 version of the file, or you can fetch the (fixed) version of the archive file. Sorry! (Yes, at least one person has actually downloaded the package, so I really had to announce this fix....)
-Fred
I also noticed that due to the change you did in class ASTWalker where you walk over symbol.sym_name to fill in self.d_node_map, the former module() method should now be called file_input(). This needs to be fixed in the Doc.py too (it is correct in FancyDoc.py though). -- Daniel Larsson, ABB Industrial Systems AB ================= DOC-SIG - SIG for the Python Documentation Project send messages to: doc-sig@python.org administrivia to: doc-sig-request@python.org =================
I also noticed that due to the change you did in class ASTWalker where you walk over symbol.sym_name to fill in self.d_node_map, the former module() method should now be called file_input(). This needs to be fixed in the Doc.py too (it is correct in
Daniel, Thanks! It's now fixed in the archive. I should probably separate the DocString class into a separate module, and move some of the logic from FancyDoc.funcdef() to a base class so the ASCII output can use it as well. Much of what's going on in there is fairly independent of HTML generation. -Fred -- Fred L. Drake, Jr. fdrake@cnri.reston.va.us Corporation for National Research Initiatives 1895 Preston White Drive Reston, VA 20191-5434 ================= DOC-SIG - SIG for the Python Documentation Project send messages to: doc-sig@python.org administrivia to: doc-sig-request@python.org =================
participants (2)
-
Daniel Larsson -
Fred L. Drake