Guido van Rossum
92794e30cb
don't print Cannot open/stat messages
1995-08-10 19:32:22 +00:00
Guido van Rossum
baf642ed16
exec() -> exec
1995-08-10 19:31:20 +00:00
Guido van Rossum
9f824a7984
Initial revision
1995-08-10 19:29:28 +00:00
Guido van Rossum
fda5c1a807
redefined normcase()
1995-08-10 19:27:42 +00:00
Guido van Rossum
3b8e1604e8
upgdaded the test program
1995-08-10 19:26:37 +00:00
Guido van Rossum
4ac0050304
revamped somewhat
1995-08-10 19:24:30 +00:00
Guido van Rossum
3e7a697c55
temporarily disabled the access statements
1995-08-10 19:23:37 +00:00
Guido van Rossum
0ec3126222
added normpath() and splitdrive()
1995-08-10 18:09:16 +00:00
Guido van Rossum
f68ec3924e
added note about obsolescence
1995-08-10 18:00:03 +00:00
Guido van Rossum
9d8fe6483d
rather ugly temporary hacks to make it work in grail & restricted mode
1995-08-09 02:33:38 +00:00
Guido van Rossum
6a0691aee4
fix bug in reload
1995-08-09 02:32:49 +00:00
Guido van Rossum
bebe5157a5
add module binascii; add r_unload/s_unload; don't change 'rb' to 'r' in open
1995-08-09 02:32:08 +00:00
Guido van Rossum
aa7634476f
change blank line insertion at a few places and fix recursion bug for </var>
1995-08-09 02:31:00 +00:00
Guido van Rossum
1383356039
added sys.std files, read-only open, reload
1995-08-07 20:19:27 +00:00
Guido van Rossum
221df24940
add splitdrive()
1995-08-07 20:17:55 +00:00
Guido van Rossum
971ee13835
pass the command to sh -c
1995-08-07 20:17:23 +00:00
Guido van Rossum
e0bfd50d76
correct typo (persis*ent)
1995-08-07 20:16:58 +00:00
Guido van Rossum
ec8fd94aab
use new "single" compile option
1995-08-07 20:16:05 +00:00
Guido van Rossum
b7677095d4
make sure os.environ exists (maybe empty)
1995-08-07 20:15:23 +00:00
Guido van Rossum
8755582ef1
add seekable option to __init__
1995-08-07 20:13:56 +00:00
Guido van Rossum
65ab98c427
use mimetools; add close()
1995-08-07 20:13:02 +00:00
Guido van Rossum
e7808778d6
added parse_qs(query_string)
1995-08-07 20:12:09 +00:00
Guido van Rossum
f54d967fec
new formatter module; redid htmllib module to use it
1995-08-07 20:07:44 +00:00
Guido van Rossum
a0eab1d367
Initial revision
1995-08-07 20:07:36 +00:00
Jack Jansen
0a2eaac867
Use binascii module for inner loop
1995-08-07 14:37:38 +00:00
Jack Jansen
fcdffeaaa1
Implement binhex protocol.
...
Note: binhex works, hexbin does not work yet.
1995-08-07 14:36:51 +00:00
Jack Jansen
a68bfe29ec
Added missing walk() function
1995-08-07 14:09:27 +00:00
Guido van Rossum
221ec0b97a
new sendport() interface; add test() program call
1995-08-04 04:39:30 +00:00
Guido van Rossum
28e99fe96f
added format_* functions (suggestion by Ken M)
1995-08-04 04:30:30 +00:00
Guido van Rossum
fb1a0cd74f
subtle changes to relative rurl joins
1995-08-04 04:29:32 +00:00
Guido van Rossum
bbb0a05972
use mimetools; add error handling and authentication
1995-08-04 04:29:05 +00:00
Guido van Rossum
7ff5d7f7c7
major rewrite using different formatting paradigm
1995-08-04 04:23:30 +00:00
Guido van Rossum
145b2e0168
changed comment parsing
1995-08-04 04:22:39 +00:00
Guido van Rossum
e7e578ffe0
Initial revision
1995-08-04 04:00:20 +00:00
Guido van Rossum
40d1ea3b9c
new package support, import hooks, restricted execution support
1995-08-04 03:59:03 +00:00
Guido van Rossum
a22a70aaff
added some missing constants
1995-08-04 03:51:48 +00:00
Guido van Rossum
35f67fb552
keyword arguments; redid Photo image class; other goodies
1995-08-04 03:50:29 +00:00
Guido van Rossum
9455063d1e
keyword parameter changes
1995-08-04 03:49:39 +00:00
Sjoerd Mullender
8cb4b1f707
Module with one function to read Python modules and extract class and
...
method definitions. See __doc__ string for more information.
1995-07-28 09:30:01 +00:00
Sjoerd Mullender
2e5168c9fc
Get magic number from interpreter (using module imp).
1995-07-19 11:21:47 +00:00
Sjoerd Mullender
aa3e163fa1
Added flush() method.
1995-07-19 11:21:21 +00:00
Guido van Rossum
761c5aba8e
Tk 4.0 and Tcl 7.4 are now standard
1995-07-14 15:29:10 +00:00
Guido van Rossum
677dfc37b5
Tommy's mail explaining status
1995-07-14 15:28:00 +00:00
Guido van Rossum
7f64e2497c
Official version 1.26 directly from Ken
1995-07-12 15:34:34 +00:00
Guido van Rossum
b89ab8c6d2
something close to Ken's latest version ...
1995-07-12 02:17:51 +00:00
Guido van Rossum
92457b9f8d
added seekable option; save unix from lines; speed up islast()
1995-06-22 19:06:57 +00:00
Guido van Rossum
6cb15a0572
add User-agent hdr; read and close the file upon http error
1995-06-22 19:00:13 +00:00
Guido van Rossum
2ab19920fc
make split and splitfields, join and joinfields synonyms
1995-06-22 18:58:00 +00:00
Guido van Rossum
efe5ac404f
make reporting unbalanced tags an overridable method
1995-06-22 18:56:36 +00:00
Guido van Rossum
b47281539a
use imp.new_module(), not new.module(); and /usr/local
1995-06-22 18:55:10 +00:00
Guido van Rossum
8afa8245bb
functions don't have a __name__ attribute
1995-06-22 18:52:35 +00:00
Guido van Rossum
f71c79bb85
test other name variable
1995-06-22 18:51:23 +00:00
Guido van Rossum
f4ef7e6a0b
doctor the exception
1995-06-22 18:50:15 +00:00
Guido van Rossum
4cdcef7e29
discard endrequest(); minor stuff; rfc822 no seek flag
1995-06-22 18:48:48 +00:00
Guido van Rossum
2d95706f68
support <HTML>, remove <HEADER>
1995-06-22 18:46:12 +00:00
Guido van Rossum
0daa13b188
set softspace to 0 in __init__
1995-06-22 18:45:04 +00:00
Guido van Rossum
303c179b92
add bind(0,''); better way of guessing our fully qualified hostname
1995-06-20 17:21:42 +00:00
Jack Jansen
e5e2cdde15
Removed >From stuff
1995-06-16 10:57:14 +00:00
Guido van Rossum
f1945466e8
two mime encoding schemes
1995-06-14 23:43:44 +00:00
Jack Jansen
3a15dca1a0
Skip old-style 'From name time' lines at beginning of message.
1995-06-13 11:19:48 +00:00
Sjoerd Mullender
c8718c3ddd
Backward compatibity module for constants from cl.h include file. The
...
values are gotten from the cl module. CL_old is there in case cl
doesn't exist.
1995-05-17 11:18:22 +00:00
Guido van Rossum
ebaf104665
don't show print passwords in debug output
1995-05-05 15:54:14 +00:00
Guido van Rossum
b1c1315ba3
new release by Ken, fix handling of from
1995-05-05 15:50:56 +00:00
Jack Jansen
2db6bfcd1d
For anonymous ftp, make sure local hostname is fully qualified.
1995-05-04 15:02:18 +00:00
Jack Jansen
e99c824bad
Mac-specific code for setting filetype was outdated.
1995-04-23 22:06:57 +00:00
Guido van Rossum
48aa82e2df
correct typo in example
1995-04-10 11:34:46 +00:00
Guido van Rossum
96044da680
first update from Ken
1995-04-07 09:06:50 +00:00
Guido van Rossum
fa486a2d53
call test() when run as script
1995-04-07 09:04:01 +00:00
Guido van Rossum
5232590bf1
original received from Ken
1995-04-07 09:03:10 +00:00
Guido van Rossum
9a707e8c76
added Linux specific files
1995-04-05 09:44:56 +00:00
Guido van Rossum
86dc1e696d
added TERMIOS.py
1995-03-31 11:34:23 +00:00
Guido van Rossum
cf5394f88e
rename debug() to set_debuglevel()
1995-03-30 10:42:34 +00:00
Guido van Rossum
189f8fb8f7
added "pystone" benchmark
1995-03-30 09:42:43 +00:00
Guido van Rossum
28aa229fa3
optional mode, bufsize for global function open()
1995-03-23 10:39:49 +00:00
Guido van Rossum
fefbbe5085
fix bogus hasttr usage
1995-03-22 10:10:31 +00:00
Guido van Rossum
903abee9c4
fix typo in tag_nextrange
1995-03-20 15:09:13 +00:00
Guido van Rossum
7e9394ab97
add TkVersion,TclVersion; don't drop in debugger
1995-03-17 16:21:33 +00:00
Guido van Rossum
13c503e93b
default mode="r" and add optional bufsize
1995-03-16 15:58:12 +00:00
Guido van Rossum
4f17e3e2f9
test signal module
1995-03-16 15:07:38 +00:00
Guido van Rossum
4c7fa4b774
set mac path separator to newline
1995-03-14 17:53:54 +00:00
Guido van Rossum
8c1688e132
add dummy base to atoi/atol; careful about negative start indices in find/count
1995-03-14 17:43:02 +00:00
Guido van Rossum
55d2f3997e
rename copy.Error to copy.error
1995-03-14 17:41:36 +00:00
Guido van Rossum
030afb1d3a
add execvpe -- mix of execvp and execve
1995-03-14 17:27:18 +00:00
Guido van Rossum
dcce73af48
fix typos in escape() and print_form()
1995-03-14 17:22:28 +00:00
Guido van Rossum
0c891ce61a
pickle classes; add format_version, load(s)/dump(s) shortcuts
1995-03-14 15:09:05 +00:00
Guido van Rossum
7849da8631
added PicklingError exception
1995-03-09 14:08:35 +00:00
Guido van Rossum
51b1c1c145
avoid math, don't abort when overflow check fails
1995-03-04 22:30:54 +00:00
Guido van Rossum
1dba24eeca
remove redundant backslashes; some cosnetics
1995-03-04 22:28:49 +00:00
Guido van Rossum
7b5430f2e8
raise EOFError when load() hits EOF, instead of KeyError
1995-03-04 22:25:21 +00:00
Guido van Rossum
b5f9460556
allow safe_import to be called with up to 4 args and check for . in name
1995-03-02 15:30:15 +00:00
Sjoerd Mullender
d9b6b5c756
Write track artist info if given.
1995-03-01 10:03:08 +00:00
Guido van Rossum
7c750e1e09
added html parser and supporting cast
1995-02-27 13:16:55 +00:00
Guido van Rossum
eb9e9d2b2a
layout changes; quote & as well
1995-02-27 13:16:11 +00:00
Guido van Rossum
c7acf2a106
handle class exceptions
1995-02-27 13:15:45 +00:00
Guido van Rossum
cebfa70a79
fix stupid bug (db should be dict)
1995-02-27 13:15:29 +00:00
Guido van Rossum
780620f2fd
added DictType as alias for DictionaryType
1995-02-27 13:14:15 +00:00
Guido van Rossum
5e38b6fda1
handle class exceptions; added runeval; made runctx obsolete
1995-02-27 13:13:40 +00:00
Guido van Rossum
256cbd7487
minute comment changes
1995-02-16 16:30:50 +00:00
Guido van Rossum
42e193605d
add class exceptions
1995-02-13 14:39:19 +00:00
Guido van Rossum
cc6764c1ba
added __doc__ strings etc.
1995-02-09 17:18:10 +00:00
Guido van Rossum
6de668f3aa
test class exceptions
1995-02-09 10:28:43 +00:00
Guido van Rossum
b6aa92ebf1
fix formatting of stack entries
1995-02-03 12:50:04 +00:00
Sjoerd Mullender
992ff06e98
Made play method more robust by adding a try-finally.
1995-02-01 14:24:32 +00:00
Sjoerd Mullender
3d697ce447
Support for album.notes and trackN.artist via notes and trackartist
...
instance variables.
1995-02-01 14:23:37 +00:00
Guido van Rossum
7e4b2def34
changes for the Mac
1995-01-27 02:41:45 +00:00
Guido van Rossum
ea8ee1dfc5
fix bogus test for regex match
1995-01-26 00:45:20 +00:00
Jack Jansen
40b9835e98
Always use 'anonymous' if os.environ doesn't exist
1995-01-19 12:24:45 +00:00
Guido van Rossum
8e8a525f22
evolution
1995-01-17 15:58:37 +00:00
Guido van Rossum
9a22de101f
new files
1995-01-12 12:29:47 +00:00
Guido van Rossum
8d2080d043
use getattr() instead of eval(), fix string representations
1995-01-12 12:29:17 +00:00
Guido van Rossum
be9f212f7e
fix comments for list command
1995-01-10 10:35:55 +00:00
Guido van Rossum
1f97612e64
Fix exec test so presence of __builtins__ doesn't break it
1995-01-10 10:34:21 +00:00
Guido van Rossum
409780f8f2
shallow and deep copy operations
1995-01-10 00:34:21 +00:00
Guido van Rossum
a48061a580
shelve.py: database of persistent objects, on top of pickle.py and anydbm.py
...
pickle.py: new low-level persistency module (used to be called flatten)
dbmac.py: stupid dbm clone for the Mac
anydbm.py: generic dbm interface (should be extended to support gdbm)
1995-01-10 00:31:14 +00:00
Guido van Rossum
e1130a49cd
Added clarifying comment
1995-01-04 19:20:00 +00:00
Guido van Rossum
824de25fe2
* Lib/test/test_b1.py: test eval() and execfile() with globals,
...
locals arguments
1995-01-02 18:38:42 +00:00
Guido van Rossum
40b2cfb3f3
* Lib/mhlib.py: added movemessage(), copymessage(), added copy
...
fallback for refilemessages(), and updated the docs
1995-01-02 18:38:23 +00:00
Guido van Rossum
a1124700f8
Add hacks for switching protocol and path but leaving host unchanged
1994-12-30 17:18:59 +00:00
Guido van Rossum
eecf035aa2
Test new __import__ module, test reload of built-in module, test
...
has_key() on empty dictionary
1994-12-30 17:17:46 +00:00
Guido van Rossum
5505d56f08
Fixed 'propagate' method
1994-12-30 17:16:35 +00:00
Sjoerd Mullender
4359860517
Let extensions start at the last period after the last slash in the
...
name.
1994-12-14 15:29:17 +00:00
Guido van Rossum
a558e37eb4
improved prompt format
1994-11-10 22:27:35 +00:00
Guido van Rossum
e23b62f288
more complete tests of built-in functions
1994-11-10 22:25:26 +00:00
Guido van Rossum
780044f27a
added option interface
1994-10-20 22:02:27 +00:00
Guido van Rossum
971dc53f0e
fix bug in poly.minus
1994-10-20 22:02:03 +00:00
Guido van Rossum
e5e73b96e1
initial commit
1994-10-09 23:03:12 +00:00
Guido van Rossum
74233b34e1
fix buffer size
1994-10-09 22:34:40 +00:00
Guido van Rossum
ca9321e6d0
Import posixpath for freeze script
1994-10-05 15:17:55 +00:00
Sjoerd Mullender
ebea896e20
Ignore empty markers.
1994-10-03 10:21:06 +00:00
Guido van Rossum
adc940eabf
Cosmetic changes
1994-09-29 10:04:43 +00:00
Guido van Rossum
fa59e83813
Fix bug if tmpcache is None
1994-09-21 11:36:19 +00:00
Guido van Rossum
e174c1500f
audiodev.py: Mac port.
...
Audio_mac.py: Mac specific class for audiodev.py.
aifc.py: open files for reading/writing in binary mode ('rb', 'wb').
1994-09-16 10:55:53 +00:00
Guido van Rossum
14a6e3d5e8
* Lib/whrandom.py: if seed is (0,0,0), initialize from current
...
time; default seed's arguments to (0,0,0)
1994-09-14 13:33:57 +00:00
Guido van Rossum
73b20df99e
Added TERMIOS module
1994-09-12 10:39:08 +00:00
Guido van Rossum
23cb2a83a5
New tty/pty modules by Steen; new urlparser.
1994-09-12 10:36:35 +00:00
Guido van Rossum
853474194f
mhlib.py: delay opening of sequences file so we don't overwrite it when
...
putsequences is called with a bad argument
rfc822.py: better handling of dates with no or bad timezones
uu.py: contributed by Lance -- uu{en,de}code
1994-09-09 11:10:15 +00:00
Sjoerd Mullender
e202c38d76
Can now also give a hashed ID to Cddb.
1994-09-06 16:19:03 +00:00
Sjoerd Mullender
1f05754640
Added support for ADPCM compression.
1994-09-06 16:17:51 +00:00
Guido van Rossum
f023ab0471
Dialog.py: d.num should be numeric, not string
...
Tkinter.py: on destroy(), remove self from master's dict of children
1994-08-30 12:13:44 +00:00
Guido van Rossum
3bb5448767
New way of generating .pyc files, thanks to Sjoerd.
...
urllib.py: '+' is not always safe (even though the RFC says so :-( )
whrandom.py: throw away top bits of time to avoid overflow on Mac
(where times can be negative)
1994-08-29 10:52:58 +00:00
Guido van Rossum
7aeb4b9ce8
* Lib/linecache.py: don't crash on empty filename
...
* Lib/macpath.py: don't return trailing colon for dirname()
(XXX won't do for volume names -- but otherwise glob(':*:*.py')
loops forever)
* Lib/traceback.py: print SyntaxError correctly
* Lib/stat.py: moved to posixstat.py; added macstat.py which has
the constants for the Mac; and created new stat.py which includes
the right one
* Lib/urllib.py: fix caching bug (by disabling the cache)
1994-08-23 13:32:20 +00:00
Guido van Rossum
9e1e149a5f
* Lib/sgi/flp.py: fix caching bug (always write the whole file to
...
the cache!)
1994-08-23 13:29:21 +00:00
Guido van Rossum
710c352d05
* Lib/string.py: find/rfind is now the main implementation and
...
index/rindex is a wrapper that raises index_error (which is now
always ValueError)
1994-08-17 13:16:11 +00:00
Guido van Rossum
a28f2dc321
do fake "import posix" for freeze.py script
1994-08-17 12:33:28 +00:00
Guido van Rossum
3f9a6ec9e6
* Lib/rfc822.py: fix two bugs: error in readheaders interpreting
...
regex.match() result, and wrong logic in getfirstmatchingheader()
when the same header occurs twice consecutively
1994-08-12 13:16:50 +00:00
Guido van Rossum
dc1cdca10b
Test set for new pow() function
1994-08-12 13:14:22 +00:00
Guido van Rossum
ef8f88101a
Add Widget.unbind and {Canvas,Text}.tag_unbind.
...
In Widget.__init__, call config only if cnf not empty.
1994-08-08 12:47:33 +00:00
Guido van Rossum
d7b19488d7
Use new packing and 'name' in cnf dict
1994-08-03 08:08:26 +00:00
Guido van Rossum
b6775db241
Merge alpha100 branch back to main trunk
1994-08-01 11:34:53 +00:00
Guido van Rossum
2979b01ff8
Merge changes
1994-08-01 11:18:30 +00:00