Georg Brandl
b9ab7a584d
Oops.
2005-07-12 13:20:49 +00:00
Georg Brandl
9abfa90a6d
bug [ 1232768 ] Mistakes in online docs under "5.3 Pure Embedding"
2005-07-12 13:17:59 +00:00
Michael W. Hudson
0edc7a03e2
Fix:
...
[ 1229429 ] missing Py_DECREF in PyObject_CallMethod
Add a test in test_enumerate, which is a bit random, but suffices
(reversed_new calls PyObject_CallMethod under some circumstances).
2005-07-12 10:21:19 +00:00
Georg Brandl
208eec2cad
bug [ 1235266 ] debug info file descriptor of tarfile is inconsistent
2005-07-12 07:28:20 +00:00
Tim Peters
ecc6e6a54e
SF bug 1185883: PyObject_Realloc can't safely take over a block currently
...
managed by C, because it's possible for the block to be smaller than the
new requested size, and at the end of allocated VM. Trying to copy over
nbytes bytes to a Python small-object block can segfault then, and there's
no portable way to avoid this (we would have to know how many bytes
starting at p are addressable, and std C has no means to determine that).
Bugfix candidate. Should be backported to 2.4, but I'm out of time.
2005-07-10 22:30:55 +00:00
Tim Peters
7d66b00f29
Whitespace normalization.
2005-07-10 20:37:51 +00:00
Georg Brandl
9a3240e8e6
bug 1234979 addition
2005-07-09 15:26:33 +00:00
Georg Brandl
af410b510d
bug [ 1234979 ] Lock.acquire treats only 1 as True
2005-07-08 22:26:13 +00:00
Georg Brandl
8b687cf683
bug [ 969757 ] function and method objects confounded in Tutorial
2005-07-08 21:36:36 +00:00
Jack Jansen
6d394d9b68
Handle argref so it can be overridden more easily in a subclass.
2005-07-08 15:03:37 +00:00
Raymond Hettinger
fafc1aeccc
Note Floris's last name.
2005-07-08 14:47:38 +00:00
Raymond Hettinger
6e447d0cd3
Add permissions for the Summer of Code project.
2005-07-08 14:37:56 +00:00
Phillip J. Eby
5cb784629f
Fix "upload" command garbling and truncating files on Windows. If it's a
...
binary file, use 'rb'!
2005-07-07 15:36:20 +00:00
Martin v. Löwis
4c3259cbb9
Link to #1233049 for building against openssl 0.9.8.
2005-07-06 19:34:10 +00:00
Michael W. Hudson
b89638148b
Fix bug
...
[ 1232517 ] OverflowError in time.utime() causes strange traceback
A needed error check was missing.
(Actually, this error check may only have become necessary in fairly
recent Python, not sure).
Backport candidate.
2005-07-05 15:21:58 +00:00
Jack Jansen
0257424a2a
Allow for (optional) const declaration.
2005-07-05 10:00:57 +00:00
Raymond Hettinger
82cb9a235d
Add test for hash commutativity.
2005-07-05 05:34:43 +00:00
Piers Lauder
2dfc168bc3
fixed tag generation to avoid null tags
2005-07-05 04:20:07 +00:00
Georg Brandl
9e43acf2f3
bug #1177468 : don't cache /dev/urandom file descriptor in os.urandom
2005-07-04 17:16:07 +00:00
Georg Brandl
290f3829d7
Revert patch for 1162912.
2005-07-04 14:17:47 +00:00
Jack Jansen
918a9e2f63
Updated (and regenerated) for name change in tp_init method arguments:
...
they are now _self, _args and _kwds.
2005-07-03 20:59:44 +00:00
Jack Jansen
a6af76cbe4
Factored out the code that creates argument lists and formats for PyArg_Parse
...
and Py_BuildValue.
2005-07-03 20:58:08 +00:00
Jack Jansen
7b8f0a1843
Sigh, changed the argument names in the tp_init function: to make them be
...
more in line with other methods "self" and "args" had to be renamed "_self"
and "_args". Did "_kwds" too, for consistency.
2005-07-03 20:57:26 +00:00
Georg Brandl
f73b4b0077
bug [ 1162912 ] typesseq-mutable lacks note on combined key/cmp usage
2005-07-03 20:21:40 +00:00
Georg Brandl
9a65d583ac
Add doctest for examples in libweakref.tex to test_weakref.
2005-07-02 19:07:30 +00:00
Georg Brandl
f0af0e7a46
patch [ 1231538 ] Typo fix in compiler/transformer.py (WalkerEror)
2005-07-02 18:37:41 +00:00
Georg Brandl
376e6227b4
bug [ 1228904 ] weakref example broken
2005-07-02 10:44:32 +00:00
Georg Brandl
1c330eb9eb
Patch [ 1230615 ] Patch for (Doc) #1168746
...
Bug [ 1204734 ] incorrect description of __getattribute__
2005-07-02 10:27:31 +00:00
Raymond Hettinger
452b6834f0
Cross reference the set built-ins with the sets module.
2005-07-01 23:18:36 +00:00
Raymond Hettinger
16ffbc3d10
Provide a comparison to the builtin set types.
2005-07-01 23:00:13 +00:00
Raymond Hettinger
c418cc81ae
Teach texcheck about \textbar
2005-07-01 22:55:43 +00:00
Jack Jansen
a660caf351
Added methods mkvaluePreCheck and getargsPreCheck, which are called (for
...
each variable) before calling Py_BuildValue and PyArg_Parse.
2005-07-01 20:23:27 +00:00
Raymond Hettinger
87de8ed4b9
More info on rounding modes. Add sections for floating point notes.
2005-07-01 16:54:12 +00:00
Jack Jansen
62cc1233f9
More factorization: added a method getrvforcallit(). This allows a C++
...
bridge to combine declaration and assignment to the return value
temporary, allowing us to handle functions returning const values.
2005-06-30 15:00:13 +00:00
Michael W. Hudson
3095ad0650
Apparently some compiler gives a warning on
...
float y = x;
when x is a double. Go figure.
2005-06-30 00:02:26 +00:00
Raymond Hettinger
3296e696db
SF bug #1224347 : int/long unification and hex()
...
Hex longs now print with lowercase letters like their int counterparts.
2005-06-29 23:29:56 +00:00
Jack Jansen
d4128f397d
Added optional suppport for storage modifiers (virtual/static/inline/etc)
...
and conditional generation of objects and methods.
2005-06-29 14:17:05 +00:00
Jack Jansen
b6216dd2e7
More factorization to help C++ support.
2005-06-28 15:14:35 +00:00
Raymond Hettinger
02c64d5684
Note that files are iterable.
2005-06-28 00:16:08 +00:00
Raymond Hettinger
5a34afb745
* Show the keyword argument form of dict().
...
* Note that dict works with the "in" keyword.
2005-06-27 23:36:47 +00:00
Fred Drake
3e3b699adf
add note that os.EX_* constants are subject to availability on the host
...
platform
2005-06-27 23:23:43 +00:00
Georg Brandl
22bfdab682
Adapt output file to new Cookie JS output.
2005-06-27 05:51:07 +00:00
Georg Brandl
ecf93c765c
Fix test cases for doctest.
2005-06-26 23:09:51 +00:00
Georg Brandl
5284b532d1
- Bug #839151 : Fix an attempt to access sys.argv in the warnings module
...
though this can be missing in embedded interpreters
2005-06-26 22:54:58 +00:00
Georg Brandl
12fe9b4ce4
bug [ 839151 ] attempt to access sys.argv when it doesn't exist
2005-06-26 22:53:29 +00:00
Georg Brandl
1f149642c9
bug [ 1172785 ] doctest.script_from_examples() result sometimes un-exec-able
2005-06-26 22:22:31 +00:00
Georg Brandl
2f210b6bca
- Bug #1155638 : Fix a bug which affected HTTP 0.9 responses in httplib.
2005-06-26 22:09:06 +00:00
Georg Brandl
0aade9a9f9
bug [ 1155638 ] self.length shield exception in httplib
2005-06-26 22:06:54 +00:00
Georg Brandl
8d457c78b4
bug [ 1175848 ] poorly named variable in urllib2.py
2005-06-26 22:01:35 +00:00
Georg Brandl
07c81d9074
Prevent creating a HTML link to file://?/
2005-06-26 21:57:55 +00:00