Show More
@@ -15,20 +15,15 b' details on the PSF (Python Software Foundation) standard license, see:' | |||||
15 |
|
15 | |||
16 | http://www.python.org/2.2.3/license.html |
|
16 | http://www.python.org/2.2.3/license.html | |
17 |
|
17 | |||
18 |
$Id: Debugger.py 22 |
|
18 | $Id: Debugger.py 2902 2007-12-28 12:28:01Z vivainio $""" | |
19 |
|
19 | |||
20 | #***************************************************************************** |
|
20 | #***************************************************************************** | |
21 | # |
|
21 | # | |
22 | # Since this file is essentially a modified copy of the pdb module which is |
|
22 | # This file is licensed under the PSF license. | |
23 | # part of the standard Python distribution, I assume that the proper procedure |
|
|||
24 | # is to maintain its copyright as belonging to the Python Software Foundation |
|
|||
25 | # (in addition to my own, for all new code). |
|
|||
26 | # |
|
23 | # | |
27 | # Copyright (C) 2001 Python Software Foundation, www.python.org |
|
24 | # Copyright (C) 2001 Python Software Foundation, www.python.org | |
28 | # Copyright (C) 2005-2006 Fernando Perez. <fperez@colorado.edu> |
|
25 | # Copyright (C) 2005-2006 Fernando Perez. <fperez@colorado.edu> | |
29 | # |
|
26 | # | |
30 | # Distributed under the terms of the BSD License. The full license is in |
|
|||
31 | # the file COPYING, distributed as part of this software. |
|
|||
32 | # |
|
27 | # | |
33 | #***************************************************************************** |
|
28 | #***************************************************************************** | |
34 |
|
29 |
@@ -1,12 +1,21 b'' | |||||
1 | __all__ = ["generic"] |
|
1 | #Name: simplegeneric | |
2 |
|
2 | #Version: 0.6 | ||
3 | from types import ClassType, InstanceType |
|
3 | #Summary: Simple generic functions (similar to Python's own len(), pickle.dump(), etc.) | |
4 | classtypes = type, ClassType |
|
4 | #Home-page: http://cheeseshop.python.org/pypi/simplegeneric | |
|
5 | #Author: Phillip J. Eby | |||
|
6 | #Author-email: peak@eby-sarna.com | |||
|
7 | #License: PSF or ZPL | |||
5 |
|
8 | |||
6 | # This is version 0.6 of Philip J. Eby's simplegeneric module |
|
9 | # This is version 0.6 of Philip J. Eby's simplegeneric module | |
7 | # (http://cheeseshop.python.org/pypi/simplegeneric) patched to work |
|
10 | # (http://cheeseshop.python.org/pypi/simplegeneric) patched to work | |
8 | # with Python 2.3 (which doesn't support assigning to __name__) |
|
11 | # with Python 2.3 (which doesn't support assigning to __name__) | |
9 |
|
12 | |||
|
13 | __all__ = ["generic"] | |||
|
14 | ||||
|
15 | ||||
|
16 | from types import ClassType, InstanceType | |||
|
17 | classtypes = type, ClassType | |||
|
18 | ||||
10 | def generic(func): |
|
19 | def generic(func): | |
11 | """Create a simple generic function""" |
|
20 | """Create a simple generic function""" | |
12 |
|
21 |
@@ -2,6 +2,10 b'' | |||||
2 |
|
2 | |||
3 | * ipy_server.py: TCP socket server for "remote control" of an IPython |
|
3 | * ipy_server.py: TCP socket server for "remote control" of an IPython | |
4 | instance. |
|
4 | instance. | |
|
5 | ||||
|
6 | * Debugger.py: Change to PSF license | |||
|
7 | ||||
|
8 | * simplegeneric.py: Add license & author notes. | |||
5 |
|
9 | |||
6 | 2007-12-28 Fernando Perez <Fernando.Perez@colorado.edu> |
|
10 | 2007-12-28 Fernando Perez <Fernando.Perez@colorado.edu> | |
7 |
|
11 |
General Comments 0
You need to be logged in to leave comments.
Login now