Andrew M. Kuchling
e81866e7c6
Remove unneeded continuation chars
2003-04-24 17:27:53 +00:00
Andrew M. Kuchling
f64509e348
Move all the imports to the top; use md5.new()
2003-04-24 17:26:56 +00:00
Andrew M. Kuchling
30dd9bc0bf
Run this demo script through reindent.py; output has been verified to remain the same
2003-04-24 17:26:22 +00:00
Andrew M. Kuchling
9b12d9d0d2
Modernize the code a bit:
...
use re module
make chomp() use rstrip()
2003-04-24 17:22:04 +00:00
Andrew M. Kuchling
b7878d09e5
Modernize the code a bit:
...
use re module
use .split() string method
Doesn't use 'for line in sys.stdin'; that ends up changing its interactive
behaviour.
2003-04-24 17:17:56 +00:00
Andrew M. Kuchling
946c53ed7f
Run these demo scripts through reindent.py to give them 4-space indents. I've verified that their output is unchanged.
2003-04-24 17:13:18 +00:00
Andrew M. Kuchling
4f237b6870
Modernize code by using isinstance() instead of type() checks
2003-04-24 17:04:45 +00:00
Andrew M. Kuchling
64b3c830d4
Avoid TypeError by not comparing complex numbers
2003-04-24 16:59:45 +00:00
Skip Montanaro
2cfc4725d5
add find-uname.py
2003-01-01 20:27:13 +00:00
Skip Montanaro
f2c47114e7
Search for Unicode character names using regular expressions.
2003-01-01 20:26:47 +00:00
Neal Norwitz
d8b5e3fda1
Tix update from Mike Clarkson (maintainer)
2002-12-30 23:52:01 +00:00
Neal Norwitz
731a986dfa
Upgrade to Tix-8.1.4 from Mike Clarkson (the maintainer)
2002-12-10 02:18:49 +00:00
Martin v. Löwis
468742878f
Patch #649184 : Update to tix-8.1.4 RC3.
2002-12-06 10:33:45 +00:00
Neal Norwitz
ac30eadc0d
Sync tixwidgets from Mike Clarkson, a maintainer
2002-11-14 02:44:08 +00:00
Guido van Rossum
065627e15c
Add "select all" by clicking on (0,0) cell.
...
Redo setting the selection and setting the beacon to deal better
with rows or columns -- these are now expressed by range (1, sys.maxint).
2002-11-02 22:18:46 +00:00
Guido van Rossum
bfcd6533e4
Add ESC key binding -- undo current cell editing.
2002-11-02 06:50:05 +00:00
Guido van Rossum
3669242ac9
Major breakthrough in selection -- drag-select multiple cells now
...
works. Also row and column selection works (sort of). The DEL
key deletes the selected rectangle. sys.argv[1] used by test_gui().
2002-11-02 06:25:51 +00:00
Guido van Rossum
69ccfcc8da
Spreadsheet demo that I used in the advanced talk at Linux Lunacy II.
2002-10-28 01:06:37 +00:00
Guido van Rossum
eeb7827cad
Remove reference to deleted 'www' directory.
2002-10-18 18:54:22 +00:00
Guido van Rossum
b50e1dee86
Note lack of speedup. Remove Irix reference. Remove silly extra
...
'/tmp' arg. Change predicate to look for world-writable non-symlink
files.
2002-10-18 18:20:33 +00:00
Guido van Rossum
ecbb0eaa43
Update docs. Remove old classes.doc.
2002-10-18 15:40:13 +00:00
Guido van Rossum
989ea8d4eb
Add description of the cgi directory.
2002-10-18 15:36:31 +00:00
Guido van Rossum
cc44ccccb2
Add description of what's here.
2002-10-18 15:35:42 +00:00
Guido van Rossum
154c08894b
Refactor cmd_view(): move line formatting to a helper method.
2002-10-17 21:43:47 +00:00
Guido van Rossum
9c3848b39b
In cmd_create(), use a redirect directive instead of viewing the page;
...
this avoids resubmitting POST data.
Remove redundant 'Page' from label passed from cmd_new().
2002-10-17 21:41:42 +00:00
Guido van Rossum
3296dcc65d
Remove redundant load() call.
2002-10-17 19:30:39 +00:00
Guido van Rossum
a55dda6773
Grammar repair in comment.
2002-10-17 16:33:40 +00:00
Guido van Rossum
c9776bd8dd
Use tempfile.gettempdir() to get the temp directory rather than
...
hardcoding "/tmp".
2002-10-17 16:26:45 +00:00
Guido van Rossum
f66cccf506
Restructure: move all wiki code into a separate module.
2002-10-17 15:53:02 +00:00
Guido van Rossum
26a1ac462c
Add trailing newline when saving.
2002-10-17 13:34:01 +00:00
Guido van Rossum
48123b266c
Security fixes: reject non-wiki-word page names; set homedir to /tmp.
...
Show errors returned by store().
A few nits.
2002-10-17 11:45:54 +00:00
Guido van Rossum
68077210c2
Some really simple cgi examples. cgi3 is a MiniWiki.
2002-10-16 21:01:27 +00:00
Guido van Rossum
b0c87b956c
Remove the SGI demos. These were all ancient and nobody cared enough.
2002-09-17 20:55:57 +00:00
Guido van Rossum
16aac45fc2
Remove the SGI demos. These were all ancient and nobody cared enough.
2002-09-17 20:36:40 +00:00
Guido van Rossum
3b0a3293c3
Massive changes from SF 589982 (tempfile.py rewrite, by Zack
...
Weinberg). This changes all uses of deprecated tempfile functions to
the recommended ones.
2002-08-09 16:38:32 +00:00
Fred Drake
ead36d7874
- Make number in comment match the targets in that section of the
...
Makefile.
- Update the Python version number so we're using the library built
from the current working sources.
2002-07-25 16:23:21 +00:00
Jeremy Hylton
98013be797
Get the meta class inheritance right.
2002-07-12 15:42:10 +00:00
Jeremy Hylton
1808fbc46d
move make_eiffel_method() out of base metaclass
2002-07-11 21:17:26 +00:00
Jeremy Hylton
a70c3bd2c8
Remove list prenpost. It's not used any longer.
2002-07-11 21:14:14 +00:00
Jeremy Hylton
c9329cae53
Add a call to a Sub() method that actually works.
2002-07-11 21:09:34 +00:00
Jeremy Hylton
a00331636b
Add Enum and Eiffel examples using new-style classes.
2002-07-11 21:08:06 +00:00
Jeremy Hylton
425a8ec05e
Repair example code in doc string.
...
Bug fix candiadte.
2002-07-11 20:22:11 +00:00
Andrew M. Kuchling
a90a3b471d
Use md5.new() constructor
2002-04-17 21:53:21 +00:00
Andrew M. Kuchling
9a62448d2f
Use random module instead of whrandom
...
Move imports to top
2002-04-10 14:50:16 +00:00
Martin v. Löwis
d1a3c8117d
Move knee.py from Lib/ to Demo/imputil/. Fixes #515745 .
2002-04-07 16:29:36 +00:00
Guido van Rossum
72118e5bc7
Fix a typo in Tim's fix.
2002-04-04 23:03:47 +00:00
Tim Peters
bc0e910826
Convert a pile of obvious "yes/no" functions to return bool.
2002-04-04 22:55:58 +00:00
Fred Drake
71cc46e7e1
Slight modernization.
2002-04-03 21:47:47 +00:00
Tim Peters
4843eb400b
Remove bug.py. This is something I sent to Guido via email in or before
...
'94, demonstrating a thread bug that was later repaired via Python growing
an internal import lock. It's of no current interest, and the now-std
test_threaded_import.py is pretty much the same test.
2002-03-25 06:55:57 +00:00
Martin v. Löwis
8ec03e0528
Patch #485959 : Various changes to Tix demos.
2002-03-17 18:19:13 +00:00