Neal Norwitz
1004a5339a
Patch #1488312 , Fix memory alignment problem on SPARC in unicode. Will backport
2006-05-15 07:17:23 +00:00
Neal Norwitz
373f0a718c
- Bug #1487966 : Fix SystemError with conditional expression in assignment
...
Most of the test_syntax changes are just updating the numbers.
2006-05-15 07:04:36 +00:00
Neal Norwitz
7a5fc28e81
Move items implemented after a2 into the new a3 section
2006-05-15 06:48:14 +00:00
Martin v. Löwis
e3edaea33d
Fix memory leak.
2006-05-15 05:51:36 +00:00
Ronald Oussoren
100344817c
I missed one small detail in my rewrite of the osx build files: the path
...
to the Python.app template.
2006-05-14 21:07:41 +00:00
Ronald Oussoren
ff8c022123
A first cut at replacing the icons on MacOS X. This replaces all icons by icons
...
based on the new python.org logo. These are also the first icons that are
"proper" OSX icons.
These icons were created by Jacob Rus.
2006-05-14 20:35:41 +00:00
Ronald Oussoren
836b039b7c
Rework the build system for osx applications:
...
* Don't use xcodebuild for building PythonLauncher, but use a normal unix
makefile. This makes it a lot easier to use the same build flags as for the
rest of python (e.g. make a universal version of python launcher)
* Convert the mac makefile-s to makefile.in-s and use configure to set makefile
variables instead of forwarding them as command-line arguments
* Add a C version of pythonw, that we you can use '#!/usr/local/bin/pythonw'
* Build IDLE.app using bundlebuilder instead of BuildApplet, that will allow
easier modification of the bundle contents later on.
2006-05-14 19:56:34 +00:00
Tim Peters
375f06b175
Remove lie in new comment.
2006-05-13 23:33:19 +00:00
Tim Peters
e6d9506611
Typo repair.
2006-05-13 23:31:05 +00:00
Tim Peters
8931ff1f67
Teach PyString_FromFormat, PyErr_Format, and PyString_FromFormatV
...
about "%u", "%lu" and "%zu" formats.
Since PyString_FromFormat and PyErr_Format have exactly the same rules
(both inherited from PyString_FromFormatV), it would be good if someone
with more LaTeX Fu changed one of them to just point to the other.
Their docs were way out of synch before this patch, and I just did a
mass copy+paste to repair that.
Not a backport candidate (this is a new feature).
2006-05-13 23:28:20 +00:00
Martin v. Löwis
822f34a848
Revert 43315: Printing of %zd must be signed.
2006-05-13 13:34:04 +00:00
George Yoshida
90df06e5e2
Add \exception markup
2006-05-13 06:53:31 +00:00
Gerhard Häring
2b161d9038
Integrated the rest of the pysqlite reference manual into the Python
...
documentation. Ready to be reviewed and improved upon.
2006-05-12 23:49:49 +00:00
Thomas Heller
0e10cb0266
add svn:eol-style native svn:keywords Id
2006-05-12 19:31:46 +00:00
Thomas Heller
abc3ed7def
set svn properties
2006-05-12 18:47:35 +00:00
Thomas Heller
e43a0fcc9d
Add missing svn properties.
2006-05-12 18:16:03 +00:00
George Yoshida
8f505aed46
Duplicated description about the illegal continue usage can be found in nearly the same place.
...
They are same, so keep the original one and remove the later-added one.
2006-05-12 17:25:26 +00:00
Martin v. Löwis
77c176d5b5
Fix alignment error on Itanium.
2006-05-12 17:22:04 +00:00
George Yoshida
159a1160c1
At first there were 6 steps, but one was removed after that.
2006-05-12 16:40:11 +00:00
Martin v. Löwis
1319bb1c2e
Move icon files into DLLs dir. Fixes #1477968 .
2006-05-12 13:57:36 +00:00
Martin v. Löwis
682b1bb95f
Dynamically allocate path name buffer for Unicode
...
path name in listdir. Fixes #1431582 .
Stop overallocating MAX_PATH characters for ANSI
path names. Stop assigning to errno.
2006-05-12 12:27:28 +00:00
Tim Peters
b06d28c160
SF patch #1473132 : Improve docs for tp_clear and tp_traverse,
...
by Collin Winter.
Bugfix candidate (but I'm not going to bother).
2006-05-12 01:57:59 +00:00
Georg Brandl
1fb9f528bd
Typo fix.
2006-05-11 19:57:09 +00:00
Tim Peters
0ebf27aad9
BaseThreadedTestCase.setup(): stop special-casing WindowsError.
...
Rev 45964 fiddled with WindowsError, and broke test_bsddb3 on all
the Windows buildbot slaves as a result. This should repair it.
2006-05-11 16:37:42 +00:00
Andrew M. Kuchling
7cadf59e14
typo fix
2006-05-11 16:32:24 +00:00
George Yoshida
4917c34b26
Grammar fix
2006-05-11 15:53:27 +00:00
Martin v. Löwis
879768dd97
Change WindowsError to carry the Win32 error code in winerror,
...
and the DOS error code in errno. Revert changes where
WindowsError catch blocks unnecessarily special-case OSError.
2006-05-11 13:28:43 +00:00
Neal Norwitz
38e3b7d2d3
Don't mask a no memory error with a less meaningful one as discussed on python-checkins
2006-05-11 07:51:59 +00:00
Brett Cannon
09d1236b89
Detect if %zd is supported by printf() during configure and sets
...
PY_FORMAT_SIZE_T appropriately. Removes warnings on
OS X under gcc 4.0.1 when PY_FORMAT_SIZE_T is set to "" instead of "z" as is
needed.
2006-05-11 05:11:33 +00:00
Georg Brandl
dd0c312703
Fix two small errors in argument lists.
2006-05-10 20:09:23 +00:00
Andrew M. Kuchling
356af466c8
Clarify description of exception handling
2006-05-10 17:19:04 +00:00
Georg Brandl
195648000c
Patch #721464 : pdb.Pdb instances can now be given explicit stdin and
...
stdout arguments, making it possible to redirect input and output
for remote debugging.
2006-05-10 17:13:20 +00:00
Georg Brandl
38c6a22f38
Patch #1484695 : Update the tarfile module to version 0.8. This fixes
...
a couple of issues, notably handling of long file names using the
GNU LONGNAME extension.
2006-05-10 16:26:03 +00:00
Georg Brandl
f8d9a97ba2
Bug #1484978 : curses.panel: clarify that Panel objects are destroyed on garbage collection.
2006-05-10 16:11:44 +00:00
Georg Brandl
b1582557aa
Bug #1485447 : subprocess: document that the "cwd" parameter isn't used to find the executable. Misc. other markup fixes.
2006-05-10 16:09:03 +00:00
Georg Brandl
e7d9539eba
Bug #1482988 : indicate more prominently that the Stats class is in the pstats module.
2006-05-10 15:59:06 +00:00
Thomas Wouters
147f121789
Ignore reflog.txt, too.
2006-05-10 15:04:11 +00:00
Neal Norwitz
c6a989ac3a
Fix problems found by Coverity.
...
longobject.c: also fix an ssize_t problem
<a> could have been NULL, so hoist the size calc to not use <a>.
_ssl.c: under fail: self is DECREF'd, but it would have been NULL.
_elementtree.c: delete self if there was an error.
_csv.c: I'm not sure if lineterminator could have been anything other than
a string. However, other string method calls are checked, so check this
one too.
2006-05-10 06:57:58 +00:00
Tim Peters
ad2ef33245
Variant of patch #1478292 . doctest.register_optionflag(name)
...
shouldn't create a new flag when `name` is already the name of
an option flag.
2006-05-10 02:43:01 +00:00
Thomas Heller
40f55b2f08
Disable a test that is unreliable.
2006-05-09 20:20:15 +00:00
Neal Norwitz
b255069d43
Micro optimization. In the first case, we know that frame->f_exc_type
...
is NULL, so there's no reason to do anything with it. In the second case,
we know frame->f_exc_type is not NULL, so we can just do an INCREF.
2006-05-09 05:38:56 +00:00
Georg Brandl
e854e765f4
Patch #1478993 : take advantage of BaseException/Exception split in cookielib
2006-05-08 17:48:01 +00:00
Georg Brandl
b5f2e5cc50
Patch #1479302 : Make urllib2 digest auth and basic auth play together.
2006-05-08 17:36:08 +00:00
Georg Brandl
a166a91659
Add test for rev. 45934.
2006-05-08 17:28:47 +00:00
Martin v. Löwis
9f485bcd68
Add missing PyMem_Free.
2006-05-08 05:25:56 +00:00
Georg Brandl
e58334ae9e
Patch #1483395 : add new TLDs to cookielib
2006-05-07 20:44:34 +00:00
Andrew M. Kuchling
0901965134
Minor language edit
2006-05-07 17:14:53 +00:00
Andrew M. Kuchling
fb10858fe7
[Patch #1479977 ] Revised version of urllib2 HOWTO, edited by John J. Lee
2006-05-07 17:12:12 +00:00
Martin v. Löwis
e93abb7ca6
Handle ERROR_ALREADY_EXISTS.
2006-05-06 20:04:08 +00:00
Martin v. Löwis
d4e3bb3d39
Port access, chmod, parts of getcwdu, mkdir, and utime to direct Win32 API.
2006-05-06 16:32:54 +00:00