Neal Norwitz
71dad72ebe
SF patch #1157027 , cookielib mis-handles RFC 2109 cookies in Netscape mode
2005-12-23 21:43:48 +00:00
Neal Norwitz
a2c110b13a
Add missing dep for cookielib doc
2005-12-23 21:42:39 +00:00
Neal Norwitz
338e7866e6
Patch #1117398 : fix cookielib LoadError
2005-12-23 21:27:46 +00:00
Neal Norwitz
3e7de59bd2
Fix SF #1117398 , cookielib LWPCookieJar and MozillaCookieJar exceptions
...
cookielib.LWPCookieJar and .MozillaCookieJar are documented to raise
cookielib.LoadError on attempt to load an invalid cookies file, but
raise IOError instead. Compromise by having LoadError subclass IOError.
2005-12-23 21:24:35 +00:00
Andrew M. Kuchling
b164dafebb
[Patch #1375417 ] Massive rearrangement of the Library Reference.
...
Fred approved just checking it in; he may make further fixes.
The change shrinks the 'Generic OS' and other OS chapters, which had become
something of a dumping ground for random modules. It differs from the
last version of the patch: 1) I've added introductions for the new chapters (still missing a few -- search for 'intro')
2) a few modules have been rearranged slightly from the version in the patch
2005-12-22 20:34:09 +00:00
Andrew M. Kuchling
a0b25e955f
Add more chapter intros
2005-12-22 20:27:43 +00:00
Andrew M. Kuchling
974730108a
Add markup
2005-12-22 20:12:54 +00:00
Andrew M. Kuchling
affd42dc50
Add some chapter introductions (not linked into the LibRef yet)
2005-12-22 20:12:39 +00:00
Andrew M. Kuchling
755c268600
Update text
2005-12-22 19:38:57 +00:00
Andrew M. Kuchling
509a41da9c
Typo fix
2005-12-22 19:31:21 +00:00
Andrew M. Kuchling
20be3c8a94
Typo fix
2005-12-22 18:55:43 +00:00
Georg Brandl
5e8d8f930d
[ 1388141 ] Minor error in md5 docs
2005-12-22 16:15:00 +00:00
Thomas Heller
7a9d1327db
Add Python\pyarena.c to the VC project file.
...
Fix the definition of BUILD in the VC project settings.
2005-12-21 15:46:29 +00:00
Barry Warsaw
ce3a9131c3
Revert most of r41765. Don't use $Revision$ in Py_GetBuildNumber(). Keep the
...
use of $(srcdir) in Makefile.pre.in so builds outside the source dir still
work.
2005-12-19 14:43:44 +00:00
Neal Norwitz
4ac13dfc3a
Remove extra parens
2005-12-19 06:10:07 +00:00
Neal Norwitz
9dbc7dd6f2
Remove extra parens
2005-12-19 06:08:59 +00:00
Neal Norwitz
c10978f43c
Bug #1072182 , fix some potential problems if characters are signed.
2005-12-19 06:07:16 +00:00
Neal Norwitz
30b5c5d011
Fix SF bug #1072182 , problems with signed characters.
...
Most of these can be backported.
2005-12-19 06:05:18 +00:00
Neal Norwitz
5d0ad50f5a
Bug #889500 , fix line number on SyntaxWarning for global declarations.
2005-12-19 04:27:42 +00:00
Barry Warsaw
a3bdc2c2a5
Handle a couple of use cases discussed in python-dev w.r.t. calculating the
...
Subversion revision number.
First, in an svn export, there will be no .svn directory, so use an in-file
$Revision$ keyword string with the keyword chrome stripped off.
Also, use $(srcdir) in the Makefile.pre.in to handle the case where Python is
build outside the source tree.
2005-12-18 22:46:35 +00:00
Neal Norwitz
d24499dc53
Jack said we don't need the Mac/Python/ directory any more.
2005-12-18 21:36:39 +00:00
Fredrik Lundh
e515293567
added TerminateProcess support to _subprocess driver
2005-12-18 21:06:46 +00:00
Fredrik Lundh
118be0c6ca
SF#1383115
...
added refcount information for PyObject_Call
2005-12-18 19:39:59 +00:00
Fredrik Lundh
93d69a7948
fixed compilation with an ordinary C89 compiler
2005-12-18 15:44:21 +00:00
Fredrik Lundh
0149e3a090
Fixed None reference leaks in TreeBuilder class (reported by Neal
...
Norwitz)
2005-12-18 13:58:25 +00:00
Neal Norwitz
7c460740ed
Check return result for error
2005-12-18 08:02:38 +00:00
Neal Norwitz
51abbc7b4a
Fix Armin's bug 1333982. He found it, he didn't created it :-)
...
This code generated a C assertion:
assert 1, ([s for s in x] +
[s for s in x])
pass
assert was completely broken, it needed to use the proper block.
compiler_use_block() is now no longer used, so remove it.
2005-12-18 07:06:23 +00:00
Neal Norwitz
0e7a0ed335
Fix compiler warnings
2005-12-18 05:37:36 +00:00
Neal Norwitz
4e6bf49a5e
Handle more error conditions with SystemError
2005-12-18 05:32:41 +00:00
Neal Norwitz
db83eb3170
Fix Bug #1378022 , UTF-8 files with a leading BOM crashed the interpreter.
...
Needs backport.
2005-12-18 05:29:30 +00:00
Neal Norwitz
e7214a130b
Get float() to be more portable across platforms. Disable hex strings.
2005-12-18 05:03:17 +00:00
Neal Norwitz
87b801cc2d
Set MemoryError when alloc fails
2005-12-18 04:42:47 +00:00
Neal Norwitz
3c52c5a888
Wrap long lines in the grammar
2005-12-18 04:12:30 +00:00
Neal Norwitz
3dafaabfb5
Fix _sys_version() so it works with the new buildno, not sure if it is correct. test_platform passes
2005-12-18 04:10:10 +00:00
Neal Norwitz
8856fb750b
SF Patch #1365916 , mmap fails on AMD64
...
Fix some 64-bit issues due to mismatch format characters w/actual data types
2005-12-18 03:34:22 +00:00
Neal Norwitz
84456bdab3
Cleanup a bit and make things more consistent.
...
Don't double check for NULLs and don't initialize if not necessary.
No functional changes.
2005-12-18 03:16:20 +00:00
Neal Norwitz
b04747fc50
Add versionadded info
2005-12-18 01:36:44 +00:00
Barry Warsaw
2a38a86c1c
Expose Subversion revision number (calculated via "svnversion .") to Python.
...
Add C API function Py_GetBuildNumber(), add it to the interactive prompt
banner (i.e. Py_GetBuildInfo()), and add it as the sys.build_number
attribute. The build number is a string instead of an int because it may
contain a trailing 'M' if there are local modifications.
2005-12-18 01:27:35 +00:00
Neal Norwitz
11ca77e6de
Doc for PEP 341, needs improvement
2005-12-17 22:24:12 +00:00
Georg Brandl
58f46b6565
Fix leftover word.
2005-12-17 21:47:06 +00:00
Georg Brandl
fa16668c9b
Added PEP 341 to NEWS.
...
We still need a change in the reference manual to reflect the
new try statement.
2005-12-17 21:45:17 +00:00
Neal Norwitz
f599f424a2
SF patch #1355913 , PEP 341 - Unification of try/except and try/finally
...
Modified since ast-arenas was implemented.
2005-12-17 21:33:47 +00:00
Neal Norwitz
adb69fcdff
Merge from ast-arena. This reduces the code in Python/ast.c by ~300 lines,
...
simplifies a lot of error handling code, and fixes many memory leaks.
2005-12-17 20:54:49 +00:00
Neal Norwitz
23a6958910
Add Michael Urman for work on SF patch #1365916
2005-12-17 18:41:15 +00:00
Georg Brandl
852a542279
Bug #1373197 : note that os.makedirs does not work with '..'
2005-12-17 17:47:42 +00:00
Georg Brandl
69cb3cde1a
Bug #1343671 : clarify docs for os.removedirs
2005-12-17 17:31:03 +00:00
Georg Brandl
c1d2f7b6ad
Bug #1106572 : clarify os.makedirs docs wrt umask
2005-12-17 17:14:12 +00:00
Fredrik Lundh
b80775ecf1
Fixed reference counting error when using the entity dictionary
...
(reported by Chris Olds). Backported from the 1.0.6 development
branch.
2005-12-17 08:33:21 +00:00
Hye-Shik Chang
835b243c71
Bug #1379994 : Fix *unicode_escape codecs to encode r'\' as r'\\'
...
just like string codecs.
2005-12-17 04:38:31 +00:00
Tim Peters
e3547fd2f7
More text about the pragmatic significance of hashlib.
2005-12-16 23:13:57 +00:00