Commit Graph

5310 Commits

Author SHA1 Message Date
Guido van Rossum 27cb8a4884 Added support for timezone in date field. getdate_tz() and
parsedate_tz() return a 10-tuple, the last field is the tz offset in
seconds (e.g. -18000 or -5 hours for EST).
1996-11-20 22:12:26 +00:00
Guido van Rossum 3c8484e866 When re-raising an exception raised by a module used internally as
IOError, keep the traceback.
1996-11-20 22:02:24 +00:00
Barry Warsaw 3ffc503682 Removed the USA'isms that aren't really true 1996-11-20 18:43:05 +00:00
Jack Jansen 3d919c4d5b Added reference to pdf documentation and bbpy, correctly explained
difference between aetools.Error and MacOS.Error for appletscript
programs.
1996-11-20 15:40:42 +00:00
Barry Warsaw 7081a69b24 /usr/bin/env is slightly more portable 1996-11-20 15:19:10 +00:00
Barry Warsaw 00bf8efe0b Added a few meta info 1996-11-20 15:17:50 +00:00
Jack Jansen 0fb1d82698 Added reference to pdf documentation and bbpy, correctly explained
difference between aetools.Error and MacOS.Error for appletscript
programs.
1996-11-20 15:13:24 +00:00
Jack Jansen e1d8c9bade Fixed FSSpec->pathname code to add colon if the fsspec points to a disk. 1996-11-20 14:58:27 +00:00
Jack Jansen 56c3c7632e Fixed bundle to allow any object (file, folder, disk) to be dropped on
an applet.
1996-11-20 14:57:27 +00:00
Jack Jansen a918b8c4f6 Fixed to allow sys.path initializer to be longer than 255 chars. 1996-11-20 14:55:26 +00:00
Barry Warsaw 2a6e68f693 Output original address 1996-11-19 17:59:07 +00:00
Barry Warsaw de0e8f763b Updated country codes as per ISO3166 10-Feb-1994 1996-11-18 23:22:34 +00:00
Barry Warsaw cb2b672015 implementation complete. need to update country codes 1996-11-18 22:57:43 +00:00
Barry Warsaw 3a7212c86a Added `ru' --> Russia 1996-11-18 22:03:36 +00:00
Barry Warsaw f6d53448e5 A rewrite for better Python-ish style 1996-11-18 21:26:56 +00:00
Guido van Rossum e41d00bb6a Fixed a bug: files that no longer exist remotely would never be
removed from .mirrorinfo.  Now they are (even if -r is not specified
-- the files are not removed, just their .mirrorinfo entry).

Added a feature: the -s pattern option is also used to skip local
files when removing (i.e. -r won't remove local files matching the -s
patterns).
1996-11-14 18:24:47 +00:00
Guido van Rossum c59120ba17 Added os.remove()/unlink(), rmdir(), rename(), and [f]truncate(). 1996-11-14 14:10:11 +00:00
Guido van Rossum caa83c4b9e Added Q. about enabling *shared* on Linux. 1996-11-13 15:06:24 +00:00
Guido van Rossum 3508d60f99 When removing a messge from all sequences, don't remove from 'cur',
which needs to stay unless explicitly set.
1996-11-12 04:15:47 +00:00
Fred Drake 3e1fe89a0d (myformat.perl): Fixed handling of "\e" -- argh! 1996-11-11 23:03:36 +00:00
Fred Drake b4d4e25a62 (Makefile): Updated comments about using LaTeX2HTML for the library
reference.  Made the extension to the input files for makeindex
	explicit; if not made explicit a directory of the given base
	name can cause makeindex to blow up.  Specifically, if there is
	a directory ./lib/ created by LaTeX2HTML, "makeindex lib" will
	fail, but "makeindex lib.idx" will not.

	l2h{tut,ext,lib} are now dependent on myformat.perl.

	l2h adds ls2lib and removes the non-existant l2href.
1996-11-11 21:03:01 +00:00
Fred Drake 4464022799 (myformat.perl): Simplify generated HTML for "\optional{...}". 1996-11-11 20:51:09 +00:00
Fred Drake b33021b572 (fix_libaux.sed): Hackish little sed script to modify lib.aux to get section
numbers right for latex2html for section titles which include
	"\sectcode{__.*__}" in the name.  Perhaps less general than it should
	be, but sufficient.
1996-11-11 20:49:27 +00:00
Fred Drake 784c6d3684 (.latex2html-init): Perform some limited setup for the reference manuals;
some defaults are set here, but mostly this allows the "\," command
	to be used the way it is in the Python documentation.

	All future documentation should probably be written with only ","
	in the argument lists and not "\,".
1996-11-11 20:46:44 +00:00
Fred Drake 9b550d992a (myformat.sty): Simplify \varvars definition. 1996-11-11 20:43:46 +00:00
Guido van Rossum e08c04c387 Added 'strict_parsing' option to all parsing functions. This causes a
ValueError exception when the query string contains fields that don't
contain exactly one '=' sign.  (By default, such fields are simply
ignored.)  Added this to the doc string describing parse() and
parse_qs().

Also changed the default for keep_blank_values from None to 0 (the
preferred way to spell 'FALSE').
1996-11-11 19:29:11 +00:00
Guido van Rossum 73eba25f5f Don't require leading '-' on option name to Text.tag_cget 1996-11-11 19:10:58 +00:00
Guido van Rossum c5d7e80739 Fix the way the Authorization header is sent (how could this have worked?). 1996-11-11 19:01:17 +00:00
Fred Drake c384d7560e (myformat.perl): Updated to allow library reference manual to be handled by
latex2html.  Mostly added support for custom environments and some
	of the smaller commands used in the library reference (\e, \optional).
1996-11-11 16:04:35 +00:00
Jack Jansen d8597858a9 Add twit "home" location to sys.path (so you can put the applet on the
desktop)
1996-11-11 15:40:45 +00:00
Guido van Rossum 052b7e1cfb Make Py_ReturnNullError() statis as it should be. 1996-11-11 15:08:19 +00:00
Guido van Rossum 08ef9d98b2 Only call sq_length in Sequence_GetItem for negative index. 1996-11-09 22:32:05 +00:00
Jack Jansen 115c1144ea Changed project segment structure to (more-or-less) match directory
structure.
1996-11-09 19:12:03 +00:00
Jack Jansen abc2db7b68 Updated (which should have been done before the 1.4 distribution). 1996-11-09 18:48:49 +00:00
Jack Jansen 6c11f7444c Added PyMac_GetFullPath(), PyMac_ApplicationPath and PyMac_ApplicationFSSpec 1996-11-09 18:48:06 +00:00
Jack Jansen 84fb1fab1f Got rid of nfullpath() 1996-11-09 18:46:57 +00:00
Jack Jansen 26ee1260a2 Got rid of nfullpath in favor of PyMac_GetFullPath (which was pretty
much identical anyway).
Initialize PyMac_ApplicationPath and PyMac_ApplicationFSSpec to point
to the current application.
1996-11-09 18:45:18 +00:00
Jack Jansen 8096daad4f When loading a PYC resource check whether the filename is the
application, and if so take a shortcut. This should speedup loading
PYC resources when running off a CDROM quite a bit.
1996-11-09 18:43:44 +00:00
Jack Jansen 6c06590305 More sensible default sys.path 1996-11-09 18:42:13 +00:00
Jack Jansen 297d7dd2c9 Keep the folder structure in Mac:mwerks:projects similar to the
toplevel build folder structure.
1996-11-09 18:36:00 +00:00
Jack Jansen 612db8f679 Removed addpack calls 1996-11-09 18:34:30 +00:00
Jack Jansen 7b6aa0a78c Removed old project file, als restructured projects directory to
reflect build directory structure (the latter done by hand)
1996-11-09 18:29:30 +00:00
Guido van Rossum 7d42d95bd7 Fix syntax of commented-out variables 1996-11-06 16:39:12 +00:00
Guido van Rossum b54f4dea73 Added 'Introduction' section head and 'Memory Management' subsection. 1996-11-06 15:47:58 +00:00
Guido van Rossum 8dbcdd0a4c correct typo in return variable for PySequence_Index() 1996-11-06 15:31:46 +00:00
Guido van Rossum 0b1ff66920 Should compare errno to 0, not NULL 1996-11-02 17:31:22 +00:00
Guido van Rossum 76e47f3d75 Change last Ellipses to Ellipsis :-( 1996-11-02 17:05:21 +00:00
Fred Drake f93f101450 (Makefile): Updated latex2html support. 1996-10-29 16:07:46 +00:00
Fred Drake 7a7480dc84 (myformat.perl): Added handler for cfuncdesc environment. This is needed
for the extending & embedding manual.
1996-10-29 15:56:57 +00:00
Fred Drake eb33c781f3 (myformat.sty, extref.tex): Moved definition of cfuncdesc environment to
myformat.sty; having it in extref.tex confuses LaTeX2HTML.
1996-10-29 15:55:08 +00:00