99b032e | Greg Ward | 25 September 2000, 01:41:15 UTC | Added 'boolean_options' list to support config file parsing. | 25 September 2000, 01:41:15 UTC |
817dc09 | Greg Ward | 25 September 2000, 01:25:06 UTC | Added 'strtobool()' function: convert strings like "yes", "1", "no", "0", etc. to true/false. | 25 September 2000, 01:25:06 UTC |
ceb9e22 | Greg Ward | 25 September 2000, 01:23:52 UTC | Fixed some bugs and mis-features in handling config files: * options can now be spelled "foo-bar" or "foo_bar" (handled in 'parse_config_files()', just after we parse a file) * added a "[global]" section so there's a place to set global options like verbose/quiet and dry-run * respect the "negative alias" dictionary so (eg.) "quiet=1" is the same as "verbose=0" (this had to be done twice: once in 'parse_config_file()' for global options, and once in '_set_command_options()' for per-command options) * the other half of handling boolean options correctly: allow commands to list their boolean options in a 'boolean_options' class attribute, and use it to translate strings (like "yes", "1", "no", "0", etc) to true or false | 25 September 2000, 01:23:52 UTC |
84da8aa | Thomas Wouters | 25 September 2000, 00:11:37 UTC | Fix inconsistent use of space/tabs. | 25 September 2000, 00:11:37 UTC |
f367cac | Fredrik Lundh | 24 September 2000, 23:18:31 UTC | unicode database compression, step 1: - use unidb compression for the unicodedata module. on Windows, the new unidatabase module is 120k, down from nearly 600k. | 24 September 2000, 23:18:31 UTC |
51dc968 | Tim Peters | 24 September 2000, 22:12:45 UTC | Repaired damaged string. | 24 September 2000, 22:12:45 UTC |
28adf52 | Fred Drake | 24 September 2000, 22:07:59 UTC | xmlparse_ExternalEntityParserCreate(): Add required cast to return to avoid compiler warnings. | 24 September 2000, 22:07:59 UTC |
46e1302 | Jack Jansen | 24 September 2000, 22:01:53 UTC | Readme and relnotes for intermediate 2.0b1+ release. | 24 September 2000, 22:01:53 UTC |
55a0bde | Jack Jansen | 24 September 2000, 22:00:11 UTC | Handle the ****/**** appleevent wildcard when called as a main program, so that it becomes a handy debugging tool (BuildApplet, copy aete resource, apply applescript to it). | 24 September 2000, 22:00:11 UTC |
486f138 | Jack Jansen | 24 September 2000, 21:56:43 UTC | Added a workaround for shortcomings in the OSA support: there can be class/property conflicts and passing classes as arguments doesn't work. The package now seems to work. | 24 September 2000, 21:56:43 UTC |
a13a9dc | Martin v. Löwis | 24 September 2000, 21:54:14 UTC | Use SAX2 namespace support. | 24 September 2000, 21:54:14 UTC |
a4287c2 | Fredrik Lundh | 24 September 2000, 21:45:34 UTC | unicode database compression, step 1: - use unidb compression for the unicodedata module. on Windows, the new unidatabase module is 120k, down from nearly 600k. | 24 September 2000, 21:45:34 UTC |
58af43f | Martin v. Löwis | 24 September 2000, 21:31:06 UTC | [Patch 101634] xml.sax: Fix parse and parseString not to rely on ExpatParser Greatly simplify import logic by using __import__ saxutils: Support Unicode strings and files as parameters to prepare_input_source | 24 September 2000, 21:31:06 UTC |
eedb576 | Fredrik Lundh | 24 September 2000, 21:28:28 UTC | unicode database compression, step 1: - use unidb compression for the unicodedata module. on Windows, the new unidatabase module is 120k, down from nearly 600k. | 24 September 2000, 21:28:28 UTC |
2066fa0 | Martin v. Löwis | 24 September 2000, 21:17:39 UTC | Find feature names in handler. | 24 September 2000, 21:17:39 UTC |
424980f | Lars Gustäbel | 24 September 2000, 20:57:04 UTC | Enabled EntityResolver test again now that pyexpat.c has been fixed. | 24 September 2000, 20:57:04 UTC |
3a361f4 | Lars Gustäbel | 24 September 2000, 20:55:01 UTC | Fixed another bug. | 24 September 2000, 20:55:01 UTC |
4a30a07 | Lars Gustäbel | 24 September 2000, 20:50:52 UTC | Added ExternalEntityParserCreate method (patch 101635). | 24 September 2000, 20:50:52 UTC |
bb75713 | Lars Gustäbel | 24 September 2000, 20:38:18 UTC | Improvements to doco strings. Tiny bug fix to expatreader.py (endDocument was only called after errors). | 24 September 2000, 20:38:18 UTC |
33315b1 | Martin v. Löwis | 24 September 2000, 20:30:24 UTC | Use findfile to locate input and output files. | 24 September 2000, 20:30:24 UTC |
e292a24 | Lars Gustäbel | 24 September 2000, 20:19:45 UTC | Added EntityResolver and DTDHandler (patch 101631) with test cases. | 24 September 2000, 20:19:45 UTC |
bc1c1c9 | Martin v. Löwis | 24 September 2000, 19:57:18 UTC | Install xml/parsers, not xml/parser. | 24 September 2000, 19:57:18 UTC |
05a65d6 | Martin v. Löwis | 24 September 2000, 19:40:25 UTC | If dbopen is not in libc, checking whether it is in libdb will fail if db_185.h has renamed that function to __db185_open, which it does in DB 3.1. So don't check whether the function is in -ldb. | 24 September 2000, 19:40:25 UTC |
716efea | Lars Gustäbel | 24 September 2000, 18:57:26 UTC | Added necessary test input file for test_sax.py | 24 September 2000, 18:57:26 UTC |
523b0a6 | Lars Gustäbel | 24 September 2000, 18:54:49 UTC | Added back the InputSource class (patch 101630). | 24 September 2000, 18:54:49 UTC |
b7536d5 | Lars Gustäbel | 24 September 2000, 18:53:56 UTC | Added test cases for the InputSource class. | 24 September 2000, 18:53:56 UTC |
b49f88b | Fredrik Lundh | 24 September 2000, 18:51:25 UTC | - Improved handling of win32 proxy settings (addresses bug #114256). The earlier code assumed "protocol=host;protocol=host;..." or "host", but Windows may also use "protocol=host" (just one entry), as well as "protocol://host". This code needs some more work, so I'll leave the bug open for now. | 24 September 2000, 18:51:25 UTC |
ab64787 | Lars Gustäbel | 24 September 2000, 18:40:52 UTC | Added test cases for the Attributes interface. | 24 September 2000, 18:40:52 UTC |
32bf12e | Lars Gustäbel | 24 September 2000, 18:39:23 UTC | Updated to final Attributes interface (patch 101632). | 24 September 2000, 18:39:23 UTC |
e84bf75 | Lars Gustäbel | 24 September 2000, 18:31:37 UTC | Updated to new SAX method signatures (*NS, patch 101573). | 24 September 2000, 18:31:37 UTC |
f43cf31 | Lars Gustäbel | 24 September 2000, 18:29:24 UTC | Updated to new *NS signatures (patch 101573). | 24 September 2000, 18:29:24 UTC |
1258049 | Guido van Rossum | 24 September 2000, 16:47:19 UTC | Stupid typo in the pthread_t test | 24 September 2000, 16:47:19 UTC |
19f977b | Fredrik Lundh | 24 September 2000, 14:46:23 UTC | - don't hang if group id is followed by whitespace (closes bug #114660) | 24 September 2000, 14:46:23 UTC |
96753b3 | Lars Gustäbel | 24 September 2000, 12:24:24 UTC | Added first start on SAX 2.0 tests. | 24 September 2000, 12:24:24 UTC |
358f4da | Lars Gustäbel | 24 September 2000, 11:06:27 UTC | Added back missing argument to ignorableWhitespace signature. | 24 September 2000, 11:06:27 UTC |
fc643c3 | Lars Gustäbel | 24 September 2000, 10:53:31 UTC | Bug fix to namespace handling in XMLGenerator (now adds declarations). Bug fixes to XMLFilterBase (wrong ignorableWhitespace signature and did not inherit set*Handler methods from XMLReader.) | 24 September 2000, 10:53:31 UTC |
9a580c4 | Nicholas Riley | 24 September 2000, 06:29:50 UTC | Fixes for Python 1.6 compatibility - socket bind and connect get a tuple instead two arguments. | 24 September 2000, 06:29:50 UTC |
21afd01 | Nicholas Riley | 24 September 2000, 06:28:47 UTC | Change for Python 1.6 compatibility - UNIX's 'os' module defines 'spawnv' now, so we check for 'fork' first. | 24 September 2000, 06:28:47 UTC |
1f54902 | Fred Drake | 24 September 2000, 05:21:58 UTC | Conform to the Python style guide. | 24 September 2000, 05:21:58 UTC |
ddb4867 | Fred Drake | 23 September 2000, 05:32:26 UTC | Conform more closely with the Python style guide. | 23 September 2000, 05:32:26 UTC |
7be3115 | Fred Drake | 23 September 2000, 05:22:07 UTC | Added explanation of the use of the first program argument passed to the exec*() family of functions. | 23 September 2000, 05:22:07 UTC |
93adb69 | Fred Drake | 23 September 2000, 04:55:48 UTC | Change the name of the exception from "pyexpat.error" to "xml.parsers.expat.error", so it will reflect the public name of the exception rather than the internal name. Also change some of the initialization to use the new PyModule_Add*() convenience functions. | 23 September 2000, 04:55:48 UTC |
96ea196 | Fred Drake | 23 September 2000, 04:49:30 UTC | Use the public name for the Expat parser; "pyexpat" is deprecated. | 23 September 2000, 04:49:30 UTC |
7fbc85c | Fred Drake | 23 September 2000, 04:47:56 UTC | Rename the public interface from "pyexpat" to "xml.parsers.expat". | 23 September 2000, 04:47:56 UTC |
003b925 | Fred Drake | 23 September 2000, 04:44:43 UTC | Add a wrapper around the pyexpat module, making the "public" name of the module "xml.parsers.expat". | 23 September 2000, 04:44:43 UTC |
c32741d | Fred Drake | 23 September 2000, 04:36:14 UTC | Added warnings about platform vagaries to the strptime() documentation. This closes SourceForge bug #115146. | 23 September 2000, 04:36:14 UTC |
ef14d73 | Tim Peters | 23 September 2000, 03:39:17 UTC | Fix for SF bug 110624: float literals behave inconsistently. I fixed the specific complaint but left the (many) large issues untouched. See the (very long) bug report discussion for why: http://sourceforge.net/bugs/?func=detailbug&group_id=5470&bug_id=110624 Note that while I left the interface to the undocumented public API function PyFloat_FromString alone, its 2nd argument is useless. From a comment block in the code: RED_FLAG 22-Sep-2000 tim PyFloat_FromString's pend argument is braindead. Prior to this RED_FLAG, 1. If v was a regular string, *pend was set to point to its terminating null byte. That's useless (the caller can find that without any help from this function!). 2. If v was a Unicode string, or an object convertible to a character buffer, *pend was set to point into stack trash (the auto temp vector holding the character buffer). That was downright dangerous. Since we can't change the interface of a public API function, pend is still supported but now *officially* useless: if pend is not NULL, *pend is set to NULL. | 23 September 2000, 03:39:17 UTC |
891150b | Fred Drake | 23 September 2000, 03:25:42 UTC | Added documentation for the new PyModule_*() convenience functions. This closes SourceForge patch #101233. | 23 September 2000, 03:25:42 UTC |
9e28515 | Fred Drake | 23 September 2000, 03:24:27 UTC | Andrew Kuchling <akuchlin@mems-exchange.org>: Add three new convenience functions to the PyModule_*() family: PyModule_AddObject(), PyModule_AddIntConstant(), PyModule_AddStringConstant(). This closes SourceForge patch #101233. | 23 September 2000, 03:24:27 UTC |
f84fb66 | Greg Ward | 23 September 2000, 01:20:19 UTC | Split 'run()' up into 'build()', 'install()', and 'bytecompile()' (for easier extensibility). | 23 September 2000, 01:20:19 UTC |
7b87c0e | Greg Ward | 23 September 2000, 01:10:10 UTC | Whitespace tweaks. | 23 September 2000, 01:10:10 UTC |
9e3dc4e | Greg Ward | 23 September 2000, 00:59:34 UTC | Reformat docstrings. Standardize use of whitespace on function calls. | 23 September 2000, 00:59:34 UTC |
4a75158 | Jack Jansen | 22 September 2000, 23:54:07 UTC | mkcwproject now works, but for one thing: the import of the XML document as a project through AppleEvents. | 22 September 2000, 23:54:07 UTC |
9a8df7d | Jack Jansen | 22 September 2000, 23:28:40 UTC | Test files for mkcwproject | 22 September 2000, 23:28:40 UTC |
07642c3 | Jack Jansen | 22 September 2000, 23:26:55 UTC | More bits and pieces of project generation. | 22 September 2000, 23:26:55 UTC |
7760cff | Neil Schemenauer | 22 September 2000, 22:35:36 UTC | Fix some long/"l" int/"i" mismatches. Fixes bug #113779. | 22 September 2000, 22:35:36 UTC |
4a5eb96 | Jack Jansen | 22 September 2000, 21:50:11 UTC | Keepconsole is now a 4-way option: never/errorexit/unseen output/always. Default is "unseen output". Upped the Popt version number. | 22 September 2000, 21:50:11 UTC |
e126233 | Guido van Rossum | 22 September 2000, 19:41:56 UTC | Poke-and-hope attempt to fix Bugs #115006 and #114324: fix the test for pthread_t (to calculate its size) to work even if pthread_t is a struct. | 22 September 2000, 19:41:56 UTC |
d9a8dec | Fred Drake | 22 September 2000, 18:41:50 UTC | Maildir.__init__(): Use the correct filter for filenames, so that this class conforms to the maildir specification. | 22 September 2000, 18:41:50 UTC |
1fa9365 | Fred Drake | 22 September 2000, 18:19:37 UTC | Added refcount information for the *_InPlace*() API series. This closes SourceForge bug #114287. | 22 September 2000, 18:19:37 UTC |
c0e6c5b | Fred Drake | 22 September 2000, 18:17:49 UTC | PyNumber_Coerce() returns an int, not a PyObject *. | 22 September 2000, 18:17:49 UTC |
3764b6b | Fred Drake | 22 September 2000, 17:55:32 UTC | Fix the way we found relevant cfuncdesc lines; PREFIX was not a regular expression! | 22 September 2000, 17:55:32 UTC |
7f58e2e | Guido van Rossum | 22 September 2000, 17:26:14 UTC | It's better to test for __hpux rather than __hppa, and hpux or hppa is unnecessary. Sez edg@SF | 22 September 2000, 17:26:14 UTC |
38178fd | Fred Drake | 22 September 2000, 17:05:04 UTC | use_sans_serif(), use_italics(): Remove both functions, inlining use_italics() at its only call site. init_myformat(): Uncomment line so that some internal markup does not get generated, since it is not properly removed later. (Fix on aspect of SourceForge bug #114749.) Modified call to process_commands_wrap_deferred(), removing \code from the list since it had a bad interaction with other changes in some contexts. | 22 September 2000, 17:05:04 UTC |
a9dd2ee | Fred Drake | 22 September 2000, 16:20:23 UTC | Update versioning for the next Python release. | 22 September 2000, 16:20:23 UTC |
e71912c | Fred Drake | 22 September 2000, 16:18:19 UTC | Update RELEASE for the next Python release. | 22 September 2000, 16:18:19 UTC |
cd5ff9f | Guido van Rossum | 22 September 2000, 16:15:54 UTC | Change HP=UX compiler options from -Aa to -Ae, which implies -D_HPUX_SOURCE and also turns on long long support. Suggestion by stnor@sweden.hp.com (Stefan Norberg). Please test this if you have access to HP-UX!!! | 22 September 2000, 16:15:54 UTC |
ecc23b0 | Guido van Rossum | 22 September 2000, 16:01:05 UTC | Hopefully fix the problem with undeclared fdatasync() on HP-UX that was reported twice so far. Someone with access to HP-UX, please test this! (Is '__hppa' or 'hppa' really the correct symbol to test for?) | 22 September 2000, 16:01:05 UTC |
4c6d21a | Fred Drake | 22 September 2000, 15:46:35 UTC | Fix some minor nits about the use of \optional in parameter lists. | 22 September 2000, 15:46:35 UTC |
ff555e3 | Guido van Rossum | 22 September 2000, 15:38:21 UTC | Address Bug #115057: add a --with-suffix option to set the EXE variable in the Makefiles from the configure script. Usefil for Cygwin and Mac OS X builds. | 22 September 2000, 15:38:21 UTC |
ef5f2b9 | Neil Schemenauer | 22 September 2000, 15:30:16 UTC | - plug a memory leak due to circular lists | 22 September 2000, 15:30:16 UTC |
d569f23 | Neil Schemenauer | 22 September 2000, 15:29:28 UTC | - Replace debugleak flag with findleaks flag. The new SAVEALL GC option is used to find cyclic garbage produced by tests. | 22 September 2000, 15:29:28 UTC |
faae266 | Neil Schemenauer | 22 September 2000, 15:26:20 UTC | - Add test for new SAVEALL debugging flag - Use exceptions rather than asserts for failing tests. - Reorganize tests and produce some output if verbose option is set. | 22 September 2000, 15:26:20 UTC |
544de1e | Neil Schemenauer | 22 September 2000, 15:22:38 UTC | - Add DEBUG_SAVEALL option. When enabled all garbage objects found by the collector will be saved in gc.garbage. This is useful for debugging a program that creates reference cycles. - Fix else statements in gcmodule.c to conform to Python coding standards. | 22 September 2000, 15:22:38 UTC |
676940b | Fred Drake | 22 September 2000, 15:21:31 UTC | When PyInt_FromLong() returns NULL, you do not need to check PyErr_Occurred(). Removed the extra test and setting of a bogus exception. | 22 September 2000, 15:21:31 UTC |
d35509a | Jack Jansen | 22 September 2000, 12:46:19 UTC | Contributed modules by Riccardo Trocca. Extended pixmap wrapper, NumPy visualiser and QuickTime to images. | 22 September 2000, 12:46:19 UTC |
fdd2269 | Jack Jansen | 22 September 2000, 12:17:14 UTC | Allow lists of files/fsspecs as the source for copy() and move(). By Bill Bedford, slightly edited by me. | 22 September 2000, 12:17:14 UTC |
f58a7aa | Tim Peters | 22 September 2000, 10:05:54 UTC | Implemented new os.startfile function, unique to Windows, exposing a subset of Win32 ShellExecute's functionality. Guido wants this because IDLE's Help -> Docs function currently crashes his machine because of a conflict between his version of Norton AntiVirus (6.10.20) and MS's _popen. Docs for startfile are being mailed to Fred (or just read the docstring -- it tells the whole story). Changed webbrowser.py to use os.startfile instead of os.popen on Windows. Changed IDLE's EditorWindow.py to pass an absolute path for the docs (hardcoding ShellExecute's "directory" arg to "." as used to be done let IDLE work, but made the startfile command exceedingly obscure for other uses -- the MS docs are terrible, of course, & still not sure I understand it). Note that Windows Python must link with shell32.lib now! That's where ShellExecute lives. | 22 September 2000, 10:05:54 UTC |
7fa7da8 | Guido van Rossum | 22 September 2000, 09:30:29 UTC | More whitespace cleanup, to satisfy tabnanny.py. Don't trust -tt! | 22 September 2000, 09:30:29 UTC |
c77593d | Guido van Rossum | 22 September 2000, 09:23:08 UTC | Get rid of the one tab in the file. Closes Bug #115054. | 22 September 2000, 09:23:08 UTC |
954eef7 | Tim Peters | 22 September 2000, 06:01:11 UTC | Fix for SF bug 115051: Dodgy use of PyTuple_SET_ITEM in pyexpat.c | 22 September 2000, 06:01:11 UTC |
7422b6b | Fred Drake | 22 September 2000, 05:07:56 UTC | White space cleanup, including one item that was an error under -tt. | 22 September 2000, 05:07:56 UTC |
0f6dcb3 | Fred Drake | 22 September 2000, 04:49:50 UTC | Remove debugging print. ;( | 22 September 2000, 04:49:50 UTC |
343ad7a | Fred Drake | 22 September 2000, 04:12:27 UTC | Correct some bitrot; some things have become inaccurate in the tutorial. <file>.readlines() does not call <file>.readline() internally anymore, and the sizehint parameter should be mentioned briefly. Some displays of floating point numbers needed to be updated due to the change in the repr() of floats (from 1.6). Both issues were noted by Aahz <aahz@panix.com>. | 22 September 2000, 04:12:27 UTC |
ab79839 | Greg Ward | 22 September 2000, 01:32:34 UTC | Tweak what happens when run on non-Windows platforms: set install prefix as well as scheme, and don't convert all installation paths (that's now done by the "install" command for us). | 22 September 2000, 01:32:34 UTC |
379a02f | Greg Ward | 22 September 2000, 01:31:08 UTC | Changed all paths in the INSTALL_SCHEMES dict to Unix syntax, and added 'convert_paths()' method to convert them all to the local syntax (backslash or colon or whatever) at the appropriate time. Added SCHEME_KEYS to get rid of one hard-coded list of attributes (in 'select_scheme()'). Default 'install_path_file' to true, and never set it false (it's just there in case some outsider somewhere wants to disable installation of the .pth file for whatever reason). Toned down the warning emitted when 'install_path_file' is false, since we no longer know why it might be false. Added 'warn_dir' flag to suppress warning when installing to a directory not in sys.path (again, we never set this false -- it's there for outsiders to use, specifically the "bdist_*" commands). Pulled the loop of 'change_root()' calls out to new method 'change_roots()'. Comment updates/deletions/additions. | 22 September 2000, 01:31:08 UTC |
7ec0535 | Greg Ward | 22 September 2000, 01:05:43 UTC | Fix 'convert_path()' so it returns immediately under Unix -- prevents blowing up when the pathname starts with '/', which is needed when converting installation directories in the "install" command. | 22 September 2000, 01:05:43 UTC |
f892597 | Fred Drake | 21 September 2000, 22:27:16 UTC | Denis S. Otkidach <ods@users.sourceforge.net>: Show how code can be written to handle __getslice__ & friends in a way that is compatible with pre-2.0 versions of Python while still working with the "new" way of handling slicing. Additional explanation added by Fred Drake. This closes SourceForge patch #101388. | 21 September 2000, 22:27:16 UTC |
1a5e583 | Guido van Rossum | 21 September 2000, 22:15:29 UTC | Untested patch by Ty Sarna to make TELL64 work on older NetBSD systems. According to Justin Pettit, this also works on OpenBSD, so I've added that symbol as well. | 21 September 2000, 22:15:29 UTC |
d7bf974 | Martin v. Löwis | 21 September 2000, 22:09:47 UTC | Indent _connection_class so that it becomes HTTPS._connection_class. | 21 September 2000, 22:09:47 UTC |
d68442b | Fred Drake | 21 September 2000, 22:01:36 UTC | Lots of minor fixes, many suggested by Detlef Lannert <lannert@uni-duesseldorf.de>. | 21 September 2000, 22:01:36 UTC |
0bb0a90 | Jack Jansen | 21 September 2000, 22:01:08 UTC | Various tweaks and bugfixes to GetArgv. It now appears good enough for Distutils. | 21 September 2000, 22:01:08 UTC |
00fb416 | Fred Drake | 21 September 2000, 21:37:09 UTC | Added dependencies on the bug-reporting text. | 21 September 2000, 21:37:09 UTC |
ed773ef | Fred Drake | 21 September 2000, 21:35:22 UTC | Include the new text on reporting bugs in a few useful places. This closes SourceForge bug #114792. | 21 September 2000, 21:35:22 UTC |
cb0a0b3 | Fred Drake | 21 September 2000, 21:32:14 UTC | New text about how to report bugs in Python and the documentation. | 21 September 2000, 21:32:14 UTC |
5cd2f0d | Marc-André Lemburg | 21 September 2000, 21:21:59 UTC | Updated according to the changes made to the "s#" parser marker and bumped the version number to 1.7. | 21 September 2000, 21:21:59 UTC |
b425f5e | Marc-André Lemburg | 21 September 2000, 21:09:45 UTC | Added a true unicode_internal_encode function and fixed the unicode_internal_decode function to support Unicode objects directly rather than by generating a copy of the object. | 21 September 2000, 21:09:45 UTC |
0afff38 | Marc-André Lemburg | 21 September 2000, 21:08:30 UTC | Special case the "s#" PyArg_Parse() token for Unicode objects: "s#" will now return a pointer to the default encoded string data of the Unicode object instead of a pointer to the raw UTF-16 data. The latter is still available via PyObject_AsReadBuffer(). The patch also adds an optimization for string objects which is based on the fact that string objects return the raw character data for getreadbuffer access and are always single-segment. | 21 September 2000, 21:08:30 UTC |
3578b77 | Marc-André Lemburg | 21 September 2000, 21:08:08 UTC | Special case the "s#" PyArg_Parse() token for Unicode objects: "s#" will now return a pointer to the default encoded string data of the Unicode object instead of a pointer to the raw UTF-16 data. The latter is still available via PyObject_AsReadBuffer(). | 21 September 2000, 21:08:08 UTC |
265a804 | Fred Drake | 21 September 2000, 20:32:13 UTC | Revise the test case for pyexpat to avoid using asserts. Conform better to the Python style guide, and remove unneeded imports. | 21 September 2000, 20:32:13 UTC |