]> granicus.if.org Git - python/log
python
14 years agoClarify sys.float_info documentation.
Mark Dickinson [Fri, 2 Jul 2010 18:06:52 +0000 (18:06 +0000)]
Clarify sys.float_info documentation.

14 years agoIssue 8202 actually caused an unintended behavioural change and was reverted in 2...
Nick Coghlan [Fri, 2 Jul 2010 16:01:53 +0000 (16:01 +0000)]
Issue 8202 actually caused an unintended behavioural change and was reverted in 2.7 - remove reference from What's New

14 years agoFix a couple of minor nits in What's New before the release goes out
Nick Coghlan [Fri, 2 Jul 2010 15:50:14 +0000 (15:50 +0000)]
Fix a couple of minor nits in What's New before the release goes out

14 years agoGrammar and markup fixes.
Georg Brandl [Fri, 2 Jul 2010 07:33:50 +0000 (07:33 +0000)]
Grammar and markup fixes.

14 years agotrunc does use the special method, though
Benjamin Peterson [Thu, 1 Jul 2010 23:35:37 +0000 (23:35 +0000)]
trunc does use the special method, though

14 years agofix fixer name
Benjamin Peterson [Thu, 1 Jul 2010 17:45:52 +0000 (17:45 +0000)]
fix fixer name

14 years agoremove docs about delegating to special methods; it does no such thing
Benjamin Peterson [Thu, 1 Jul 2010 15:07:15 +0000 (15:07 +0000)]
remove docs about delegating to special methods; it does no such thing

14 years agoan AttributeError is perfectly acceptable here
Benjamin Peterson [Wed, 30 Jun 2010 18:41:08 +0000 (18:41 +0000)]
an AttributeError is perfectly acceptable here

14 years agofix issue #6589: cleanup asyncore.socket_map if smtpd.SMTPServer constructor raises...
Giampaolo Rodolà [Wed, 30 Jun 2010 17:38:28 +0000 (17:38 +0000)]
fix issue #6589: cleanup asyncore.socket_map if smtpd.SMTPServer constructor raises an exception

14 years agomark test depending on ref counting
Benjamin Peterson [Wed, 30 Jun 2010 17:11:08 +0000 (17:11 +0000)]
mark test depending on ref counting

14 years agoIssue #9125: Update parser module for "except ... as ..." syntax.
Mark Dickinson [Wed, 30 Jun 2010 16:27:57 +0000 (16:27 +0000)]
Issue #9125:  Update parser module for "except ... as ..." syntax.

14 years agoUpdate Demo/parser directory; backport unparse fixes from py3k.
Mark Dickinson [Wed, 30 Jun 2010 14:19:56 +0000 (14:19 +0000)]
Update Demo/parser directory; backport unparse fixes from py3k.

14 years agoIssue #1789: clarify that the 'size' column in struct docs refers to standard size.
Mark Dickinson [Tue, 29 Jun 2010 20:09:12 +0000 (20:09 +0000)]
Issue #1789:  clarify that the 'size' column in struct docs refers to standard size.

14 years agogroup cStringIO docs under its factory function
Benjamin Peterson [Tue, 29 Jun 2010 15:18:02 +0000 (15:18 +0000)]
group cStringIO docs under its factory function

14 years agoAdded information about pickle security and SocketHandler.
Vinay Sajip [Tue, 29 Jun 2010 15:13:14 +0000 (15:13 +0000)]
Added information about pickle security and SocketHandler.

14 years agoDocumentation Fix: urllib.urlopen.info uses mimetools.Message, not httplib.HTTPMessage.
Senthil Kumaran [Tue, 29 Jun 2010 13:28:20 +0000 (13:28 +0000)]
Documentation Fix: urllib.urlopen.info uses mimetools.Message, not httplib.HTTPMessage.

14 years agoSpelling.
Mark Dickinson [Tue, 29 Jun 2010 07:37:25 +0000 (07:37 +0000)]
Spelling.

14 years agounparse.py: fix mispaced parentheses in chained comparisons
Mark Dickinson [Mon, 28 Jun 2010 19:54:19 +0000 (19:54 +0000)]
unparse.py:  fix mispaced parentheses in chained comparisons

14 years agoSet svn:eol-style on test_unparse.py.
Mark Dickinson [Mon, 28 Jun 2010 19:38:19 +0000 (19:38 +0000)]
Set svn:eol-style on test_unparse.py.

14 years agoFix typo in test_unparse.py.
Mark Dickinson [Mon, 28 Jun 2010 19:34:15 +0000 (19:34 +0000)]
Fix typo in test_unparse.py.

14 years agoFix some shallow bugs in Demo/parser/unparse.py, and add tests:
Mark Dickinson [Mon, 28 Jun 2010 19:31:41 +0000 (19:31 +0000)]
Fix some shallow bugs in Demo/parser/unparse.py, and add tests:

  - insert commas between entries in del statement
  - left and right shifts were represented as >> and << (respectively); reverse
  - unindent properly after for: else:  or while: else:
  - add parens around the result of an unary operation
  - add parens around negative numbers, to avoid turning (-1)**2 into -1**2.

14 years agoDocumentation correction. urllib2.urlopen.info returns a mimetools.Message instance...
Senthil Kumaran [Mon, 28 Jun 2010 17:07:40 +0000 (17:07 +0000)]
Documentation correction. urllib2.urlopen.info returns a mimetools.Message instance not HTTPMessage object.

14 years agofix skipping condition
Benjamin Peterson [Mon, 28 Jun 2010 15:41:06 +0000 (15:41 +0000)]
fix skipping condition

14 years agotestcapi tests are definitely cpython only
Benjamin Peterson [Mon, 28 Jun 2010 15:36:40 +0000 (15:36 +0000)]
testcapi tests are definitely cpython only

14 years agoFix Issue8653 - Docstring for urlunsplit function.
Senthil Kumaran [Mon, 28 Jun 2010 13:56:46 +0000 (13:56 +0000)]
Fix Issue8653 - Docstring for urlunsplit function.

14 years agoFix issue3428 - Document HTTPMessage class.
Senthil Kumaran [Mon, 28 Jun 2010 10:54:17 +0000 (10:54 +0000)]
Fix issue3428 - Document HTTPMessage class.

14 years agoremove unused last argument to property_copy
Benjamin Peterson [Mon, 28 Jun 2010 02:58:25 +0000 (02:58 +0000)]
remove unused last argument to property_copy

14 years agomark tracking tests as implementation details
Benjamin Peterson [Sun, 27 Jun 2010 22:40:26 +0000 (22:40 +0000)]
mark tracking tests as implementation details

14 years agoFix for Issue8883: without this patch test_urllib will fail
Ronald Oussoren [Sun, 27 Jun 2010 13:59:39 +0000 (13:59 +0000)]
Fix for Issue8883: without this patch test_urllib will fail
when there is a bare IP address in the "Bypass proxy settings
for these Hosts & Domains" list on MacOSX.

14 years agoThe uuid library on OSX 10.5 seems to contain the same bug as the one
Ronald Oussoren [Sun, 27 Jun 2010 12:43:47 +0000 (12:43 +0000)]
The uuid library on OSX 10.5 seems to contain the same bug as the one
on OSX 10.6, therefore don't use it there either.

This fixes issue8621.

14 years agoTwo small fixes for the support for SDKs on MacOSX:
Ronald Oussoren [Sun, 27 Jun 2010 12:36:16 +0000 (12:36 +0000)]
Two small fixes for the support for SDKs on MacOSX:

1) The code that checks if an path should be located in the SDK
   explicitly excludes /usr/local. This fixes issue9046

2) The SDK variant for filtering "db_dirs_to_check" in setup.py
   was not doing anything because of a missing assignment.

14 years agoUntabify.
Georg Brandl [Sun, 27 Jun 2010 11:24:15 +0000 (11:24 +0000)]
Untabify.

14 years agoTwo typos.
Georg Brandl [Sun, 27 Jun 2010 10:55:38 +0000 (10:55 +0000)]
Two typos.

14 years agoFix URL.
Georg Brandl [Sun, 27 Jun 2010 10:51:44 +0000 (10:51 +0000)]
Fix URL.

14 years agoUse designated syntax for optional grammar element.
Georg Brandl [Sun, 27 Jun 2010 10:49:23 +0000 (10:49 +0000)]
Use designated syntax for optional grammar element.

14 years agoConfusing punctuation.
Georg Brandl [Sun, 27 Jun 2010 10:47:47 +0000 (10:47 +0000)]
Confusing punctuation.

14 years agoIssue 9024: Added :cdata: tag to PyDateTimeAPI
Alexander Belopolsky [Sat, 26 Jun 2010 18:49:10 +0000 (18:49 +0000)]
Issue 9024: Added :cdata: tag to PyDateTimeAPI

14 years agoFix extra space.
Ezio Melotti [Sat, 26 Jun 2010 18:44:42 +0000 (18:44 +0000)]
Fix extra space.

14 years ago#9085: email versions have gotten out of sync, 2.7 is actually 4.0.3.
R. David Murray [Sat, 26 Jun 2010 18:39:50 +0000 (18:39 +0000)]
#9085: email versions have gotten out of sync, 2.7 is actually 4.0.3.

In 2.5 the email version was bumped to 4.0.2 just before release but
after the maintenance branch was set up.  The bump was not backported
to trunk, and 2.6 went out the door with a version number of 4.0.1.
I bumped this to 4.0.2 because of a behavior change, but that makes
it look the same as 2.5.  So bump it again to 4.0.3.

14 years agoFix indentation in recently added test.
R. David Murray [Sat, 26 Jun 2010 03:27:32 +0000 (03:27 +0000)]
Fix indentation in recently added test.

14 years agoIssue #9024: Fixed mark-up for PyDateTime_IMPORT macro and added that
Alexander Belopolsky [Sat, 26 Jun 2010 02:05:19 +0000 (02:05 +0000)]
Issue #9024: Fixed mark-up for PyDateTime_IMPORT macro and added that
it is typically used in module initialization function. Thanks Tim
Golden for the patch.

14 years ago#4640: add a test to optparse that proves issue is invalid.
R. David Murray [Sat, 26 Jun 2010 00:06:44 +0000 (00:06 +0000)]
#4640: add a test to optparse that proves issue is invalid.

14 years agomark implementation detail as such
Benjamin Peterson [Fri, 25 Jun 2010 22:58:47 +0000 (22:58 +0000)]
mark implementation detail as such

14 years agothis must be a typo
Benjamin Peterson [Fri, 25 Jun 2010 21:19:04 +0000 (21:19 +0000)]
this must be a typo

14 years agomark implementation detail as such
Benjamin Peterson [Fri, 25 Jun 2010 20:34:01 +0000 (20:34 +0000)]
mark implementation detail as such

14 years agoFix indentation of Python code example in C comment.
Mark Dickinson [Fri, 25 Jun 2010 20:19:48 +0000 (20:19 +0000)]
Fix indentation of Python code example in C comment.

14 years agoIssue #9075: In the ssl module, remove the setting of a `debug` flag
Antoine Pitrou [Fri, 25 Jun 2010 00:03:21 +0000 (00:03 +0000)]
Issue #9075: In the ssl module, remove the setting of a `debug` flag
on an OpenSSL structure.

14 years agoIssue #9020: The Py_IS* macros from pyctype.h should generally only be
Stefan Krah [Thu, 24 Jun 2010 09:33:05 +0000 (09:33 +0000)]
Issue #9020: The Py_IS* macros from pyctype.h should generally only be
used with signed/unsigned char arguments. For integer arguments, EOF
has to be handled separately.

14 years agoprevent assignment to set literals
Benjamin Peterson [Thu, 24 Jun 2010 00:12:40 +0000 (00:12 +0000)]
prevent assignment to set literals

14 years agoremove reverted changed
Benjamin Peterson [Thu, 24 Jun 2010 00:02:46 +0000 (00:02 +0000)]
remove reverted changed

14 years agocpython only gc tests
Benjamin Peterson [Wed, 23 Jun 2010 20:29:26 +0000 (20:29 +0000)]
cpython only gc tests

14 years agoIssue #8930: Remaining indentation fixes after the Grand Unified Indenting.
Stefan Krah [Wed, 23 Jun 2010 18:12:09 +0000 (18:12 +0000)]
Issue #8930: Remaining indentation fixes after the Grand Unified Indenting.

14 years agoFix misindents in compile.c (for Benjamin).
Antoine Pitrou [Tue, 22 Jun 2010 21:42:05 +0000 (21:42 +0000)]
Fix misindents in compile.c (for Benjamin).
Of course, whoever used the wrong indentation rules needs to be spanked.

14 years agomark ref counting as impl detail
Benjamin Peterson [Tue, 22 Jun 2010 20:32:02 +0000 (20:32 +0000)]
mark ref counting as impl detail

14 years agomust force gc here
Benjamin Peterson [Tue, 22 Jun 2010 20:26:20 +0000 (20:26 +0000)]
must force gc here

14 years agobump revision
Benjamin Peterson [Tue, 22 Jun 2010 19:49:47 +0000 (19:49 +0000)]
bump revision

14 years agospacing nit; this isn't C
Benjamin Peterson [Tue, 22 Jun 2010 19:45:51 +0000 (19:45 +0000)]
spacing nit; this isn't C

14 years agoremove INT_MAX assertions; they can fail with large Py_ssize_t #9058
Benjamin Peterson [Tue, 22 Jun 2010 19:16:37 +0000 (19:16 +0000)]
remove INT_MAX assertions; they can fail with large Py_ssize_t #9058

14 years agokeep UserDict an old-style class
Benjamin Peterson [Tue, 22 Jun 2010 18:09:02 +0000 (18:09 +0000)]
keep UserDict an old-style class

Be generous in abc.py to allow this.

14 years agoThe code in _scproxy (a mac specific helper module to
Ronald Oussoren [Tue, 22 Jun 2010 09:32:22 +0000 (09:32 +0000)]
The code in _scproxy (a mac specific helper module to
detect proxy settings) had the wrong logic for detecting
if the checkbox 'Exclude simple hostnames' is checked. This
checkin fixes that.

As a result the test failure 'Issue8455' goes away on systems
where the checkbox is not checked.

I'm carefully avoiding saying that is fixes that issue,
test_urllib2_localnet assumes that system proxy settings are
empty (not just on OSX, see Issue8455 for details).

14 years agoFix for issue8446:
Ronald Oussoren [Tue, 22 Jun 2010 09:18:28 +0000 (09:18 +0000)]
Fix for issue8446:

* Don't import 'ic' in webbrowser, that module is no longer used
* Remove 'MacOS' from the list of modules that should emit a Py3kWarning on import.
  This is needed because one of the earlier tests triggers and import of this
  extension, and that causes a failure in test_py3kwarn (running test_py3kwarn
  separately worked fine)

With these changes 'make tests' no longer says that test_py3kwarn fails.

14 years agotowards final release
Benjamin Peterson [Mon, 21 Jun 2010 17:28:30 +0000 (17:28 +0000)]
towards final release

14 years agotag 2.7rc2
Benjamin Peterson [Mon, 21 Jun 2010 16:11:51 +0000 (16:11 +0000)]
tag 2.7rc2

14 years agobump verson to 2.7rc2 v2.7rc2
Benjamin Peterson [Mon, 21 Jun 2010 15:57:57 +0000 (15:57 +0000)]
bump verson to 2.7rc2

14 years agoupdate pydoc-topics
Benjamin Peterson [Mon, 21 Jun 2010 15:56:45 +0000 (15:56 +0000)]
update pydoc-topics

14 years agofix finding visual studio 2008 on 64 bit #8854
Benjamin Peterson [Mon, 21 Jun 2010 15:27:46 +0000 (15:27 +0000)]
fix finding visual studio 2008 on 64 bit #8854

14 years agoAdd tests for problems reported in issue 8959.
Thomas Heller [Mon, 21 Jun 2010 15:01:18 +0000 (15:01 +0000)]
Add tests for problems reported in issue 8959.

14 years agoFix #8959 by reverting revision 80761.
Thomas Heller [Mon, 21 Jun 2010 14:00:24 +0000 (14:00 +0000)]
Fix #8959 by reverting revision 80761.

14 years agoNote that Python 3.x isn't covered; add forward ref. for UTF-8; note error in 2.5...
Andrew M. Kuchling [Sun, 20 Jun 2010 21:45:45 +0000 (21:45 +0000)]
Note that Python 3.x isn't covered; add forward ref. for UTF-8; note error in 2.5 and up

14 years agoMerge test_strtod and test_float string-to-float conversion tests.
Mark Dickinson [Sun, 20 Jun 2010 18:50:19 +0000 (18:50 +0000)]
Merge test_strtod and test_float string-to-float conversion tests.

14 years agoupdate emacs section
Benjamin Peterson [Sun, 20 Jun 2010 15:12:04 +0000 (15:12 +0000)]
update emacs section

14 years agoRevert r60115
Jean-Paul Calderone [Fri, 18 Jun 2010 20:00:17 +0000 (20:00 +0000)]
Revert r60115

This revision introduced quoting for strings containing | based
on a misunderstanding of the commonly used quoting rules used
on Windows.

| is interpreted by cmd.exe, not by the MS C runtime argv initializer.
It only needs to be quoted if it is part of an argument passed through
cmd.exe.

See issue1300, issue7839, and issue8972.

14 years agoAdd few words about test.test_genericpath.CommonTest
Florent Xicluna [Thu, 17 Jun 2010 20:30:56 +0000 (20:30 +0000)]
Add few words about test.test_genericpath.CommonTest

14 years agoFix Issue4452 - Incorrect docstring of os.setpgrp
Senthil Kumaran [Thu, 17 Jun 2010 16:38:34 +0000 (16:38 +0000)]
Fix Issue4452 - Incorrect docstring of os.setpgrp

14 years ago#8720: fix inspect regression by teaching getsourcefile about linecache.
R. David Murray [Thu, 17 Jun 2010 01:36:52 +0000 (01:36 +0000)]
#8720: fix inspect regression by teaching getsourcefile about linecache.

The fix for issue 4050 caused a regression:  before that fix, source
lines in the linecache would eventually be found by inspect.  After the
fix inspect reports an error earlier, and the source isn't found.
The fix for the fix is to have getsourcefile look in the linecache for
the file and return the psuedo-filename if the source is there, just as
it already returns it if there is a PEP 302 loader.

14 years agoAddressing RDM's review comments on the doc change.
Senthil Kumaran [Wed, 16 Jun 2010 17:37:32 +0000 (17:37 +0000)]
Addressing RDM's review comments on the doc change.

14 years agoFix Issue8937 - SimpleHTTPServer should contain usage example
Senthil Kumaran [Wed, 16 Jun 2010 14:55:31 +0000 (14:55 +0000)]
Fix Issue8937 - SimpleHTTPServer should contain usage example

14 years agoIssue #8469: Further clarifications and improvements to struct module
Mark Dickinson [Tue, 15 Jun 2010 08:33:03 +0000 (08:33 +0000)]
Issue #8469:  Further clarifications and improvements to struct module
documentation.  Thanks Mads Kiilerich.

14 years agoAdd another bunch of items
Andrew M. Kuchling [Tue, 15 Jun 2010 00:38:58 +0000 (00:38 +0000)]
Add another bunch of items

14 years ago#8993: fix reference.
Georg Brandl [Mon, 14 Jun 2010 15:58:39 +0000 (15:58 +0000)]
#8993: fix reference.

14 years agoEzio Melotti was missing from Misc/ACKS.
Mark Dickinson [Sun, 13 Jun 2010 12:01:34 +0000 (12:01 +0000)]
Ezio Melotti was missing from Misc/ACKS.

14 years agoAdd Éric Araujo to Misc/ACKS for doc work and many patch and commit reviews.
Mark Dickinson [Sun, 13 Jun 2010 11:07:00 +0000 (11:07 +0000)]
Add Éric Araujo to Misc/ACKS for doc work and many patch and commit reviews.

14 years agoIssue #8986: erfc was raising OverflowError on Linux for arguments in
Mark Dickinson [Sun, 13 Jun 2010 10:50:29 +0000 (10:50 +0000)]
Issue #8986: erfc was raising OverflowError on Linux for arguments in
the (approximate) range (-27.3, 30.0), as a result of an escaped errno
value.

14 years agoRevert r80580 due to some unintended side effects. See issue #8202 for details.
Nick Coghlan [Sun, 13 Jun 2010 06:50:39 +0000 (06:50 +0000)]
Revert r80580 due to some unintended side effects. See issue #8202 for details.

14 years agoGrammar fix
Andrew M. Kuchling [Sat, 12 Jun 2010 20:00:55 +0000 (20:00 +0000)]
Grammar fix

14 years agoIssue #8469: Add standard sizes to table in struct documentation; additional
Mark Dickinson [Sat, 12 Jun 2010 18:50:34 +0000 (18:50 +0000)]
Issue #8469:  Add standard sizes to table in struct documentation; additional
clarifications and documentation tweaks.

Backport of revisions 81955-81956 from py3k.

14 years agofix warning with ucs4
Benjamin Peterson [Sat, 12 Jun 2010 17:47:06 +0000 (17:47 +0000)]
fix warning with ucs4

14 years agoBackport a fix from Py3k for a potentially misleading example
Nick Coghlan [Sat, 12 Jun 2010 13:45:37 +0000 (13:45 +0000)]
Backport a fix from Py3k for a potentially misleading example

14 years agoUpdate README.
Georg Brandl [Sat, 12 Jun 2010 09:46:03 +0000 (09:46 +0000)]
Update README.

14 years agoFix gratuitous indentation.
Georg Brandl [Sat, 12 Jun 2010 09:45:58 +0000 (09:45 +0000)]
Fix gratuitous indentation.

14 years agoAdd document on how to build.
Georg Brandl [Sat, 12 Jun 2010 09:45:28 +0000 (09:45 +0000)]
Add document on how to build.

14 years agoUse newer toctree syntax.
Georg Brandl [Sat, 12 Jun 2010 09:45:01 +0000 (09:45 +0000)]
Use newer toctree syntax.

14 years agoUpdate version in README.
Georg Brandl [Sat, 12 Jun 2010 06:45:33 +0000 (06:45 +0000)]
Update version in README.

14 years agoDocument that an existing directory raises in mkdir().
Georg Brandl [Sat, 12 Jun 2010 06:28:58 +0000 (06:28 +0000)]
Document that an existing directory raises in mkdir().

14 years agoFix punctuation.
Georg Brandl [Sat, 12 Jun 2010 06:26:54 +0000 (06:26 +0000)]
Fix punctuation.

14 years agoIssue #8924: logging: Improved error handling for Unicode in exception text.
Vinay Sajip [Fri, 11 Jun 2010 22:56:50 +0000 (22:56 +0000)]
Issue #8924: logging: Improved error handling for Unicode in exception text.

14 years agoIssue #8941: decoding big endian UTF-32 data in UCS-2 builds could crash
Antoine Pitrou [Fri, 11 Jun 2010 21:42:26 +0000 (21:42 +0000)]
Issue #8941: decoding big endian UTF-32 data in UCS-2 builds could crash
the interpreter with characters outside the Basic Multilingual Plane
(higher than 0x10000).

14 years agodifferent spellings are just unacceptable
Benjamin Peterson [Fri, 11 Jun 2010 21:40:37 +0000 (21:40 +0000)]
different spellings are just unacceptable

14 years agoFix possible undefined behaviour from signed overflow in struct module.
Mark Dickinson [Fri, 11 Jun 2010 20:27:05 +0000 (20:27 +0000)]
Fix possible undefined behaviour from signed overflow in struct module.

Backport of revisions 81897, 81898 and 81902 from py3k.

14 years agoIssue #8362: Add Misc/maintainers.rst: list of module maintainers
Victor Stinner [Fri, 11 Jun 2010 19:22:28 +0000 (19:22 +0000)]
Issue #8362: Add Misc/maintainers.rst: list of module maintainers