]> granicus.if.org Git - python/log
python
16 years agoUpdate versions in instructions for manual set-up.
Georg Brandl [Sun, 26 Apr 2009 06:05:18 +0000 (06:05 +0000)]
Update versions in instructions for manual set-up.

16 years agoMostly formatting nits, and "and-ed together" -> "or-ed together" flags.
Georg Brandl [Sun, 26 Apr 2009 06:01:04 +0000 (06:01 +0000)]
Mostly formatting nits, and "and-ed together" -> "or-ed together" flags.

16 years agoIssue #4971: Fix titlecase for characters that are their own
Martin v. Löwis [Sun, 26 Apr 2009 00:53:18 +0000 (00:53 +0000)]
Issue #4971: Fix titlecase for characters that are their own
titlecase, but not their own uppercase.

16 years agoIssue #5835, deprecate PyOS_ascii_formatd.
Eric Smith [Sat, 25 Apr 2009 21:40:15 +0000 (21:40 +0000)]
Issue #5835, deprecate PyOS_ascii_formatd.

If anyone wants to clean up the documentation, feel free. It's my first documentation foray, and it's not that great.

Will port to py3k with a different strategy.

16 years agoIssue #4129: document int -> Py_ssize_t changes.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 21:16:05 +0000 (21:16 +0000)]
Issue #4129: document int -> Py_ssize_t changes.

16 years agoIssue #4129: field changed from int to Py_ssize_t.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 21:02:34 +0000 (21:02 +0000)]
Issue #4129: field changed from int to Py_ssize_t.

16 years agoIssue #4129: more int -> Py_ssize_t documentation.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 20:58:35 +0000 (20:58 +0000)]
Issue #4129: more int -> Py_ssize_t documentation.

16 years agoIssue #4129: more int -> Py_ssize_t documentation.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 20:55:39 +0000 (20:55 +0000)]
Issue #4129: more int -> Py_ssize_t documentation.

16 years agoIssue #4129: int -> Py_ssize_t documentation.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 20:50:27 +0000 (20:50 +0000)]
Issue #4129: int -> Py_ssize_t documentation.

16 years agoIssue #4129: int -> Py_ssize_t documentation.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 20:44:58 +0000 (20:44 +0000)]
Issue #4129: int -> Py_ssize_t documentation.

16 years agoReformat prior to editing.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 20:43:30 +0000 (20:43 +0000)]
Reformat prior to editing.

16 years agoIssue #4129: int -> Py_ssize_t documentation.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 20:41:40 +0000 (20:41 +0000)]
Issue #4129: int -> Py_ssize_t documentation.

16 years agoReformat prior to editing.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 20:40:10 +0000 (20:40 +0000)]
Reformat prior to editing.

16 years agoSince it's a macro, actually refer to it as such instead of function.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 20:37:39 +0000 (20:37 +0000)]
Since it's a macro, actually refer to it as such instead of function.

16 years agoIssue #4129: Add a versionchanged notice for a few forgotten entries.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 19:54:34 +0000 (19:54 +0000)]
Issue #4129: Add a versionchanged notice for a few forgotten entries.

16 years agoReformat, since I've been busy here anyway.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 19:49:05 +0000 (19:49 +0000)]
Reformat, since I've been busy here anyway.

16 years agoIssue #4129: Documentation notes for int -> Py_ssize_t changes.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 19:46:19 +0000 (19:46 +0000)]
Issue #4129: Documentation notes for int -> Py_ssize_t changes.

16 years agoIssue #4129: More documentation pointers about int -> Py_ssize_t.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 19:44:55 +0000 (19:44 +0000)]
Issue #4129: More documentation pointers about int -> Py_ssize_t.
Also fix up the documentation for PyObject_GC_Resize(). It seems that since
it first got documented, the documentation was actually for
_PyObject_GC_Resize().

16 years agoReformat prior to editing.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 19:10:52 +0000 (19:10 +0000)]
Reformat prior to editing.

16 years agoSince I edited this file, reformat for future edits.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 19:04:15 +0000 (19:04 +0000)]
Since I edited this file, reformat for future edits.

16 years agoReference to an int type, whereas it's a Py_ssize_t as the synopsis states.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 18:57:32 +0000 (18:57 +0000)]
Reference to an int type, whereas it's a Py_ssize_t as the synopsis states.

16 years agoReformat prior to editing.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 18:53:48 +0000 (18:53 +0000)]
Reformat prior to editing.

16 years agoIssue #4129: Document more int -> Py_ssize_t changes.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 18:46:03 +0000 (18:46 +0000)]
Issue #4129: Document more int -> Py_ssize_t changes.

16 years agoReformat prior to editing.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 18:31:20 +0000 (18:31 +0000)]
Reformat prior to editing.

16 years agoIssue #4129: Belatedly document which C API functions had their argument(s) or
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 17:59:03 +0000 (17:59 +0000)]
Issue #4129: Belatedly document which C API functions had their argument(s) or
return type changed from int or int * to Py_ssize_t or Py_ssize_t * as this
might cause problems on 64-bit platforms.

16 years agoIssue #5078: Avoid redundant call to FormatError()
Thomas Heller [Sat, 25 Apr 2009 16:37:18 +0000 (16:37 +0000)]
Issue #5078: Avoid redundant call to FormatError()

16 years ago#5841: add deprecation py3k warning and notice in the docs for commands module.
Georg Brandl [Sat, 25 Apr 2009 15:11:29 +0000 (15:11 +0000)]
#5841: add deprecation py3k warning and notice in the docs for commands module.

16 years ago#5821: add some capabilities of TarFile's file-like object.
Georg Brandl [Sat, 25 Apr 2009 15:05:04 +0000 (15:05 +0000)]
#5821: add some capabilities of TarFile's file-like object.

16 years ago#5834: use "failure" instead of "error" because the two have different meanings in...
Georg Brandl [Sat, 25 Apr 2009 14:51:31 +0000 (14:51 +0000)]
#5834: use "failure" instead of "error" because the two have different meanings in unittest context.

16 years ago#3320: fix spelling.
Georg Brandl [Sat, 25 Apr 2009 14:50:25 +0000 (14:50 +0000)]
#3320: fix spelling.

16 years agoReformat paragraph.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 14:28:02 +0000 (14:28 +0000)]
Reformat paragraph.

16 years agoThe type for ppos has been Py_ssize_t since 2.5, reflect this in the
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 14:27:00 +0000 (14:27 +0000)]
The type for ppos has been Py_ssize_t since 2.5, reflect this in the
documentation.

16 years agoReformat prior to editing.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 14:24:30 +0000 (14:24 +0000)]
Reformat prior to editing.

16 years agoIssue #5828 (Invalid behavior of unicode.lower): Fixed bogus logic in
Walter Dörwald [Sat, 25 Apr 2009 14:03:16 +0000 (14:03 +0000)]
Issue #5828 (Invalid behavior of unicode.lower): Fixed bogus logic in
makeunicodedata.py and regenerated the Unicode database (This fixes
u'\u1d79'.lower() == '\x00').

16 years agoReformat file prior to editing.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 13:58:58 +0000 (13:58 +0000)]
Reformat file prior to editing.

16 years agoRewrite a sentence to be more in line with the rest of the documentation with
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 13:07:40 +0000 (13:07 +0000)]
Rewrite a sentence to be more in line with the rest of the documentation with
regard to person and audience.

16 years ago#5810: Fixed Distutils test_build_scripts
Tarek Ziadé [Sat, 25 Apr 2009 12:51:59 +0000 (12:51 +0000)]
#5810: Fixed Distutils test_build_scripts

16 years agoIssue #4239: adjust email examples not to use connect() and terminate with
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 12:49:10 +0000 (12:49 +0000)]
Issue #4239: adjust email examples not to use connect() and terminate with
quit() and not close().

16 years agoIssue #4951: Fixed failure in test_httpservers
Tarek Ziadé [Sat, 25 Apr 2009 12:38:08 +0000 (12:38 +0000)]
Issue #4951: Fixed failure in test_httpservers

16 years agoIssue #5837: Certain sequences of calls to set() and unset() for
Walter Dörwald [Sat, 25 Apr 2009 12:15:07 +0000 (12:15 +0000)]
Issue #5837: Certain sequences of calls to set() and unset() for
support.EnvironmentVarGuard objects restored the environment variables
incorrectly on __exit__.

Fix this by recording the initial value of each environment variable on the
first access in set() or unset().

16 years agoFirst attempt to document PyObject_HEAD_INIT and PyVarObject_HEAD_INIT.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 11:59:09 +0000 (11:59 +0000)]
First attempt to document PyObject_HEAD_INIT and PyVarObject_HEAD_INIT.

16 years agoReformat prior to expanding.
Jeroen Ruigrok van der Werven [Sat, 25 Apr 2009 11:15:06 +0000 (11:15 +0000)]
Reformat prior to expanding.

16 years agoFix typo in complex parsing code; expand tests.
Mark Dickinson [Sat, 25 Apr 2009 09:47:00 +0000 (09:47 +0000)]
Fix typo in complex parsing code;  expand tests.

16 years agofix a segfault when setting __class__ in __del__ #5283
Benjamin Peterson [Sat, 25 Apr 2009 00:41:22 +0000 (00:41 +0000)]
fix a segfault when setting __class__ in __del__ #5283

16 years agoIssue #3102: All global symbols that the _ctypes extension defines are
Thomas Heller [Fri, 24 Apr 2009 20:31:47 +0000 (20:31 +0000)]
Issue #3102: All global symbols that the _ctypes extension defines are
now prefixed with 'Py' or '_ctypes'.

16 years agoIssue 5041: ctypes unwilling to allow pickling wide character.
Thomas Heller [Fri, 24 Apr 2009 20:00:41 +0000 (20:00 +0000)]
Issue 5041: ctypes unwilling to allow pickling wide character.

16 years agoIssue #5161: wrong paths for ctypes cleanup when Python is built in a
Thomas Heller [Fri, 24 Apr 2009 18:10:46 +0000 (18:10 +0000)]
Issue #5161: wrong paths for ctypes cleanup when Python is built in a
directory other than the source directory.

16 years agoRemove unnecessary double negative
Mark Dickinson [Fri, 24 Apr 2009 16:37:22 +0000 (16:37 +0000)]
Remove unnecessary double negative

16 years agoIssue #5593: Use more robust test for double-rounding in test_fsum.
Mark Dickinson [Fri, 24 Apr 2009 16:34:14 +0000 (16:34 +0000)]
Issue #5593: Use more robust test for double-rounding in test_fsum.
While we're at it, use new unittest.skipUnless decorator to
implement skipping for that test.

16 years agoIssue #5812: The two-argument form of the Fraction constructor
Mark Dickinson [Fri, 24 Apr 2009 13:56:07 +0000 (13:56 +0000)]
Issue #5812: The two-argument form of the Fraction constructor
now accepts arbitrary Rational instances.

16 years agoFix missing 'return NULL'
Mark Dickinson [Fri, 24 Apr 2009 13:14:07 +0000 (13:14 +0000)]
Fix missing 'return NULL'

16 years agoIssue #5816:
Mark Dickinson [Fri, 24 Apr 2009 12:46:53 +0000 (12:46 +0000)]
Issue #5816:
 - simplify parsing and printing of complex numbers
 - make complex(repr(z)) round-tripping work for complex
   numbers involving nans, infs, or negative zeros
 - don't accept some of the stranger complex strings
   that were previously allowed---e.g., complex('1..1j')

16 years agoAdd link to PEP 236.
Georg Brandl [Thu, 23 Apr 2009 08:52:03 +0000 (08:52 +0000)]
Add link to PEP 236.

16 years ago#5813: add a reference to the "future statements" section.
Georg Brandl [Thu, 23 Apr 2009 08:49:56 +0000 (08:49 +0000)]
#5813: add a reference to the "future statements" section.

16 years agoFix rewrapping accident.
Georg Brandl [Thu, 23 Apr 2009 08:49:39 +0000 (08:49 +0000)]
Fix rewrapping accident.

16 years ago#5820: fix bug in usage of getreader().
Georg Brandl [Thu, 23 Apr 2009 08:44:57 +0000 (08:44 +0000)]
#5820: fix bug in usage of getreader().

16 years agoProduce correct version string to access the .chm
Kurt B. Kaiser [Thu, 23 Apr 2009 02:36:01 +0000 (02:36 +0000)]
Produce correct version string to access the .chm
docs on Windows.  Patch 5783 gpolo.  Will port.

16 years agoIssue #5812: make Fraction('1e-6') valid. Backport of r71806.
Mark Dickinson [Wed, 22 Apr 2009 18:15:25 +0000 (18:15 +0000)]
Issue #5812: make Fraction('1e-6') valid.  Backport of r71806.

16 years agoFixed issue 5782: formatting with commas didn't work if no specifier type code was...
Eric Smith [Wed, 22 Apr 2009 16:20:47 +0000 (16:20 +0000)]
Fixed issue 5782: formatting with commas didn't work if no specifier type code was given.

16 years agoIssue 5354: Change API for import_fresh_module() to better support test_warnings...
Nick Coghlan [Wed, 22 Apr 2009 15:26:04 +0000 (15:26 +0000)]
Issue 5354: Change API for import_fresh_module() to better support test_warnings use case (also fixes some bugs in the original implementation)

16 years agoBackport of some of the work in r71665 to trunk. This reworks much of
Eric Smith [Wed, 22 Apr 2009 13:29:05 +0000 (13:29 +0000)]
Backport of some of the work in r71665 to trunk. This reworks much of
int, long, and float __format__(), and it keeps their implementation
in sync with py3k.

Also added PyOS_double_to_string. This is the "fallback" version
that's also available in trunk, and should be kept in sync with that
code. I'll add an issue to document PyOS_double_to_string in the C
API.

There are many internal cleanups. Externally visible changes include:

- Implement PEP 378, Format Specifier for Thousands Separator, for
  floats, ints, and longs.

- Issue #5515: 'n' formatting for ints, longs, and floats handles
  leading zero formatting poorly.

- Issue #5772: For float.__format__, don't add a trailing ".0" if
  we're using no type code and we have an exponent.

16 years agoIssue #5170: Fixed regression caused when fixing #5768.
Vinay Sajip [Wed, 22 Apr 2009 12:10:47 +0000 (12:10 +0000)]
Issue #5170: Fixed regression caused when fixing #5768.

16 years agoDocumentation for issue 5237, auto-numbered format fields. Contributed by Terry J...
Eric Smith [Wed, 22 Apr 2009 00:47:00 +0000 (00:47 +0000)]
Documentation for issue 5237, auto-numbered format fields. Contributed by Terry J. Reedy.

16 years ago#5751: fix escaping of \\n.
Georg Brandl [Tue, 21 Apr 2009 18:24:34 +0000 (18:24 +0000)]
#5751: fix escaping of \\n.

16 years ago#5757: fix copy-paste error in notify().
Georg Brandl [Tue, 21 Apr 2009 18:23:08 +0000 (18:23 +0000)]
#5757: fix copy-paste error in notify().

16 years agoRestore skips of posix and pty tests on Windows by calling the
R. David Murray [Tue, 21 Apr 2009 13:06:04 +0000 (13:06 +0000)]
Restore skips of posix and pty tests on Windows by calling the
test_support.import_module on the appropriate modules
before any other imports.

16 years agoFix for the Issue918368 - urllib doesn't correct server returned urls
Senthil Kumaran [Tue, 21 Apr 2009 03:24:19 +0000 (03:24 +0000)]
Fix for the Issue918368 - urllib doesn't correct server returned urls

16 years agoNit: integer division should use //, not /
Mark Dickinson [Mon, 20 Apr 2009 21:41:04 +0000 (21:41 +0000)]
Nit: integer division should use //, not /

16 years agoIssue #3166: Make long -> float (and int -> float) conversions
Mark Dickinson [Mon, 20 Apr 2009 21:13:33 +0000 (21:13 +0000)]
Issue #3166: Make long -> float (and int -> float) conversions
correctly rounded, using round-half-to-even.  This ensures that the
value of float(n) doesn't depend on whether we're using 15-bit digits
or 30-bit digits for Python longs.

16 years agoFix typo
Raymond Hettinger [Mon, 20 Apr 2009 18:23:57 +0000 (18:23 +0000)]
Fix typo

16 years agoadding a NEWS note for #5795 (previously checked via the buildbot)
Tarek Ziadé [Mon, 20 Apr 2009 14:29:42 +0000 (14:29 +0000)]
adding a NEWS note for #5795 (previously checked via the buildbot)

16 years agomaking BuildWinInstTestCase silent in case bdist_wininst is not run under win32
Tarek Ziadé [Mon, 20 Apr 2009 10:33:47 +0000 (10:33 +0000)]
making BuildWinInstTestCase silent in case bdist_wininst is not run under win32

16 years ago#5795 sysconfig._config_vars was shadowed in tearDown
Tarek Ziadé [Mon, 20 Apr 2009 07:53:55 +0000 (07:53 +0000)]
#5795 sysconfig._config_vars was shadowed in tearDown

16 years agoAutomatic conversion of floats to integers for struct.pack integer codes
Mark Dickinson [Sun, 19 Apr 2009 17:10:47 +0000 (17:10 +0000)]
Automatic conversion of floats to integers for struct.pack integer codes
is deprecated.  Use an explicit int() instead.

16 years agoFix for issue5657.
Ronald Oussoren [Sun, 19 Apr 2009 10:38:20 +0000 (10:38 +0000)]
Fix for issue5657.

16 years agofix typo
Benjamin Peterson [Sun, 19 Apr 2009 03:02:54 +0000 (03:02 +0000)]
fix typo

16 years agomake errors consistent
Benjamin Peterson [Sun, 19 Apr 2009 02:40:43 +0000 (02:40 +0000)]
make errors consistent

16 years agoinitialize weakref some weakref types
Benjamin Peterson [Sun, 19 Apr 2009 02:32:42 +0000 (02:32 +0000)]
initialize weakref some weakref types

16 years agomany more types to initialize (I had to expose some of them)
Benjamin Peterson [Sat, 18 Apr 2009 22:15:26 +0000 (22:15 +0000)]
many more types to initialize (I had to expose some of them)

16 years agomove test to a more appropiate one
Benjamin Peterson [Sat, 18 Apr 2009 21:03:10 +0000 (21:03 +0000)]
move test to a more appropiate one

16 years agoinitalize -> initialize
Benjamin Peterson [Sat, 18 Apr 2009 20:25:25 +0000 (20:25 +0000)]
initalize -> initialize

16 years agotry to initalize all builtin types with PyType_Ready to avoid problems like #5787
Benjamin Peterson [Sat, 18 Apr 2009 20:12:47 +0000 (20:12 +0000)]
try to initalize all builtin types with PyType_Ready to avoid problems like #5787

16 years agofix a few nits in unittest.py #5771
Benjamin Peterson [Sat, 18 Apr 2009 19:26:19 +0000 (19:26 +0000)]
fix a few nits in unittest.py #5771

16 years agorename internal bytes_ functions to bytearray
Benjamin Peterson [Sat, 18 Apr 2009 15:31:34 +0000 (15:31 +0000)]
rename internal bytes_ functions to bytearray

16 years agoIssue #1869: Fix a couple of minor round() issues.
Mark Dickinson [Sat, 18 Apr 2009 14:59:42 +0000 (14:59 +0000)]
Issue #1869: Fix a couple of minor round() issues.

16 years agoBackport r71704 (add configure check for C99 round function) to trunk.
Mark Dickinson [Sat, 18 Apr 2009 14:41:37 +0000 (14:41 +0000)]
Backport r71704 (add configure check for C99 round function) to trunk.

16 years agocopysign shouldn't be declared as static in pymath.c
Mark Dickinson [Sat, 18 Apr 2009 14:13:43 +0000 (14:13 +0000)]
copysign shouldn't be declared as static in pymath.c

16 years ago"not subscriptable" should be a bit more understandable than "unsubscriptable".
Georg Brandl [Sat, 18 Apr 2009 08:26:21 +0000 (08:26 +0000)]
"not subscriptable" should be a bit more understandable than "unsubscriptable".

16 years agoDistutilsSetupError was not raised when one single warning occured
Tarek Ziadé [Fri, 17 Apr 2009 14:29:56 +0000 (14:29 +0000)]
DistutilsSetupError was not raised when one single warning occured

16 years agoIssue #5768: Change to Unicode output logic and test case for same.
Vinay Sajip [Thu, 16 Apr 2009 19:15:49 +0000 (19:15 +0000)]
Issue #5768: Change to Unicode output logic and test case for same.

16 years agoIssue #5768: Change to Unicode output logic and test case for same.
Vinay Sajip [Thu, 16 Apr 2009 19:07:37 +0000 (19:07 +0000)]
Issue #5768: Change to Unicode output logic and test case for same.

16 years agoClarify the behavior of any() and all() with an empty iterable.
Raymond Hettinger [Thu, 16 Apr 2009 18:16:10 +0000 (18:16 +0000)]
Clarify the behavior of any() and all() with an empty iterable.

16 years agoLess red ink (warning->note) and add link to def of side-by-side assembly.
R. David Murray [Thu, 16 Apr 2009 18:12:53 +0000 (18:12 +0000)]
Less red ink (warning->note) and add link to def of side-by-side assembly.

16 years agoRemove duplicated function declaration.
Thomas Heller [Thu, 16 Apr 2009 06:42:02 +0000 (06:42 +0000)]
Remove duplicated function declaration.
Make _pagesize static.

16 years agoRemove unneeded code.
Thomas Heller [Thu, 16 Apr 2009 06:26:33 +0000 (06:26 +0000)]
Remove unneeded code.

16 years agoFix for issue3440: add warning to subprocess discussion of
R. David Murray [Wed, 15 Apr 2009 22:33:07 +0000 (22:33 +0000)]
Fix for issue3440: add warning to subprocess discussion of
env parameter that on Windows SystemRoot is required in order
to run side-by-side assemblies.

16 years agocall __float__ on str subclasses #5759
Benjamin Peterson [Wed, 15 Apr 2009 21:26:36 +0000 (21:26 +0000)]
call __float__ on str subclasses #5759

tests by R. David Murray

16 years agotupel -> tuple
Benjamin Peterson [Tue, 14 Apr 2009 21:23:09 +0000 (21:23 +0000)]
tupel -> tuple

16 years agopep8-fied
Tarek Ziadé [Mon, 13 Apr 2009 20:14:54 +0000 (20:14 +0000)]
pep8-fied

16 years agoimproved test coverage for distutils.cmd
Tarek Ziadé [Mon, 13 Apr 2009 20:03:44 +0000 (20:03 +0000)]
improved test coverage for distutils.cmd