aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/editor.py
Commit message (Collapse)AuthorAgeFilesLines
* Merged with Trevor's -rr branchGianluca Montecchi2009-10-021-1/+8
|
* Fixed the mergeGianluca Montecchi2009-10-021-0/+101
|
* Merged with head branchGianluca Montecchi2009-10-011-103/+0
|
* Updated copyright blurbs and AUTHORS and included script for future updatesW. Trevor King2009-07-011-1/+1
|
* Added libbe/encoding.py to wrap input/output/file access appropriately.W. Trevor King2008-11-251-0/+103
I borrowed most of the code for this. get_encoding() is from Trac http://trac.edgewall.org/browser/trunk/trac/util/datefmt.py format_datetime() Trac has a BSD license http://trac.edgewall.org/wiki/TracLicense I don't know if such a small snippet requires us to "reproduce the above copyright" or where we need to reproduce it if it is needed. The stdout/stdin replacement code follows http://wiki.python.org/moin/ShellRedirectionFails Because of the stdout replacement, the doctests executes now need an optional 'test' argument to turn off replacement during the doctests, otherwise doctest flips out (since it had set up stdout to catch output, and then we clobbered it's setup). References: http://wiki.python.org/moin/Unicode http://www.amk.ca/python/howto/unicode http://www.python.org/dev/peps/pep-0100/ I also split libbe/editor.py off from libbe.utility.py and started explaining the motivation for the BugDir init flags in it's docstring.