]> granicus.if.org Git - python/log
python
13 years agomerge 3.2 (#12878)
Benjamin Peterson [Sat, 3 Sep 2011 13:32:24 +0000 (09:32 -0400)]
merge 3.2 (#12878)

13 years agoadd a __dict__ descr for IOBase (closes #12878)
Benjamin Peterson [Sat, 3 Sep 2011 13:26:20 +0000 (09:26 -0400)]
add a __dict__ descr for IOBase (closes #12878)

13 years agooops, someone beat me to it: merging minor configparser documentation cleanups
Łukasz Langa [Fri, 2 Sep 2011 21:19:52 +0000 (23:19 +0200)]
oops, someone beat me to it: merging minor configparser documentation cleanups

13 years agomerged configparser documentation leftovers cleanup from 3.2
Łukasz Langa [Fri, 2 Sep 2011 21:18:39 +0000 (23:18 +0200)]
merged configparser documentation leftovers cleanup from 3.2

13 years agoremoved misleading editing leftovers
Łukasz Langa [Fri, 2 Sep 2011 21:17:39 +0000 (23:17 +0200)]
removed misleading editing leftovers

13 years agoctypes: Slightly better error message when a struct field name is not a string.
Amaury Forgeot d'Arc [Fri, 2 Sep 2011 21:07:54 +0000 (23:07 +0200)]
ctypes: Slightly better error message when a struct field name is not a string.

13 years agomerge with 3.2
Sandro Tosi [Fri, 2 Sep 2011 19:24:55 +0000 (21:24 +0200)]
merge with 3.2

13 years agoGive credit to Adam
Sandro Tosi [Fri, 2 Sep 2011 19:24:40 +0000 (21:24 +0200)]
Give credit to Adam

13 years agoMerge from 3.2: Issue #12764: Fix a crash in ctypes when the name of a
Amaury Forgeot d'Arc [Fri, 2 Sep 2011 18:43:59 +0000 (20:43 +0200)]
Merge from 3.2: Issue #12764: Fix a crash in ctypes when the name of a
Structure field is not a string.

13 years agoIssue #12764: Fix a crash in ctypes when the name of a Structure field is not
Amaury Forgeot d'Arc [Fri, 2 Sep 2011 18:39:40 +0000 (20:39 +0200)]
Issue #12764: Fix a crash in ctypes when the name of a Structure field is not
a string.

13 years ago#12781: merge with 3.2
Sandro Tosi [Fri, 2 Sep 2011 18:07:34 +0000 (20:07 +0200)]
#12781: merge with 3.2

13 years ago#12781: Mention SO_REUSEADDR flag near socket examples
Sandro Tosi [Fri, 2 Sep 2011 18:06:31 +0000 (20:06 +0200)]
#12781: Mention SO_REUSEADDR flag near socket examples

13 years agoMerge 3.2
Éric Araujo [Fri, 2 Sep 2011 15:32:30 +0000 (17:32 +0200)]
Merge 3.2

13 years agoBranch merge
Éric Araujo [Fri, 2 Sep 2011 15:30:55 +0000 (17:30 +0200)]
Branch merge

13 years agoBranch merge
Éric Araujo [Fri, 2 Sep 2011 15:30:36 +0000 (17:30 +0200)]
Branch merge

13 years agoMerge 3.2: Issue #12636: IDLE reads the coding cookie when executing a Python script.
Victor Stinner [Thu, 1 Sep 2011 23:02:23 +0000 (01:02 +0200)]
Merge 3.2: Issue #12636: IDLE reads the coding cookie when executing a Python script.

And "IDLE: fix some RessourceWarning, reuse tokenize.open()"

13 years agoIssue #12636: IDLE reads the coding cookie when executing a Python script.
Victor Stinner [Thu, 1 Sep 2011 23:00:40 +0000 (01:00 +0200)]
Issue #12636: IDLE reads the coding cookie when executing a Python script.

13 years agoIDLE: fix some RessourceWarning, reuse tokenize.open()
Victor Stinner [Thu, 1 Sep 2011 22:57:04 +0000 (00:57 +0200)]
IDLE: fix some RessourceWarning, reuse tokenize.open()

13 years agoMerge 3.2: Remove unused variable if Python is build without threads
Victor Stinner [Thu, 1 Sep 2011 22:13:16 +0000 (00:13 +0200)]
Merge 3.2: Remove unused variable if Python is build without threads

13 years agoRemove unused variable if Python is build without threads
Victor Stinner [Thu, 1 Sep 2011 22:11:43 +0000 (00:11 +0200)]
Remove unused variable if Python is build without threads

13 years agoMerge doc changes from 3.2 (#10454, #12298)
Éric Araujo [Thu, 1 Sep 2011 22:03:20 +0000 (00:03 +0200)]
Merge doc changes from 3.2 (#10454, #12298)

13 years agoMinor: tweak docstrings and __all__ in packaging.tests.support
Éric Araujo [Thu, 1 Sep 2011 21:48:13 +0000 (23:48 +0200)]
Minor: tweak docstrings and __all__ in packaging.tests.support

13 years agoIssue #12494: Close pipes and kill process on error in subprocess functions
Victor Stinner [Thu, 1 Sep 2011 21:45:04 +0000 (23:45 +0200)]
Issue #12494: Close pipes and kill process on error in subprocess functions

On error, call(), check_call(), check_output() and getstatusoutput() functions
of the subprocess module now kill the process, read its status (to avoid
zombis) and close pipes.

13 years agoFix typo (was build) and remove redundancy in docstring
Éric Araujo [Thu, 1 Sep 2011 21:37:56 +0000 (23:37 +0200)]
Fix typo (was build) and remove redundancy in docstring

13 years agoAdd links from library/functions to other docs.
Éric Araujo [Thu, 1 Sep 2011 21:10:36 +0000 (23:10 +0200)]
Add links from library/functions to other docs.

Suggested by Terry J. Reedy in #12298.

13 years agoFix a few links in the table of built-in functions (#12298)
Éric Araujo [Thu, 1 Sep 2011 21:08:55 +0000 (23:08 +0200)]
Fix a few links in the table of built-in functions (#12298)

13 years agoIssue #12868: Skip test_faulthandler.test_stack_overflow() on OpenBSD:
Charles-François Natali [Thu, 1 Sep 2011 21:08:21 +0000 (23:08 +0200)]
Issue #12868: Skip test_faulthandler.test_stack_overflow() on OpenBSD:
sigaltstack(2) doesn't work when linked with pthread.

13 years agomerge 3.2
Benjamin Peterson [Thu, 1 Sep 2011 20:33:56 +0000 (16:33 -0400)]
merge 3.2

13 years agomake sure to initialize the method wrapper type
Benjamin Peterson [Thu, 1 Sep 2011 20:32:31 +0000 (16:32 -0400)]
make sure to initialize the method wrapper type

13 years agoRemove obsolete comment
Éric Araujo [Thu, 1 Sep 2011 20:06:23 +0000 (22:06 +0200)]
Remove obsolete comment

13 years agoIssue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now
Antoine Pitrou [Thu, 1 Sep 2011 19:38:37 +0000 (21:38 +0200)]
Issue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now
mapped to POSIX errno ENOTDIR (previously EINVAL).

13 years agoIssue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now
Antoine Pitrou [Thu, 1 Sep 2011 19:37:43 +0000 (21:37 +0200)]
Issue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now
mapped to POSIX errno ENOTDIR (previously EINVAL).

13 years ago#10454: a few edits to compileall help messages
Éric Araujo [Thu, 1 Sep 2011 18:00:33 +0000 (20:00 +0200)]
#10454: a few edits to compileall help messages

13 years agoDocument that format string don’t support arbitrary dictonary keys.
Éric Araujo [Thu, 1 Sep 2011 16:59:06 +0000 (18:59 +0200)]
Document that format string don’t support arbitrary dictonary keys.

Text adapted from the PEP.  Addition requested by Terry J. Reedy on
2011-02-23 on python-dev.

13 years agoDocument that True/False/None don’t use :keyword: in doc.
Éric Araujo [Thu, 1 Sep 2011 16:45:50 +0000 (18:45 +0200)]
Document that True/False/None don’t use :keyword: in doc.

This was discussed some months ago on python-dev.  Having tons of links
to the definition of True would be annoying, contrary to links to e.g.
the nonlocal or with statements doc.

13 years agoAdd missing name in shutil.__all__
Éric Araujo [Thu, 1 Sep 2011 06:31:51 +0000 (08:31 +0200)]
Add missing name in shutil.__all__

13 years agoMerge doc fix with 3.2.
Ezio Melotti [Thu, 1 Sep 2011 05:13:46 +0000 (08:13 +0300)]
Merge doc fix with 3.2.

13 years agoFrom RFC 3629 5- and 6-bytes UTF-8 sequences are invalid, so remove them from the...
Ezio Melotti [Thu, 1 Sep 2011 05:11:28 +0000 (08:11 +0300)]
From RFC 3629 5- and 6-bytes UTF-8 sequences are invalid, so remove them from the doc.

13 years agoMerge with 3.2.
Ross Lagerwall [Thu, 1 Sep 2011 05:02:31 +0000 (07:02 +0200)]
Merge with 3.2.

13 years agoMinor improvement to extensions in setup.cfg: check parent package
Éric Araujo [Thu, 1 Sep 2011 05:01:13 +0000 (07:01 +0200)]
Minor improvement to extensions in setup.cfg: check parent package

13 years agoRemove duplicate text in os documentation.
Ross Lagerwall [Thu, 1 Sep 2011 04:58:52 +0000 (06:58 +0200)]
Remove duplicate text in os documentation.

13 years agoMinor improvement to extensions section in setup.cfg.
Éric Araujo [Thu, 1 Sep 2011 04:29:11 +0000 (06:29 +0200)]
Minor improvement to extensions section in setup.cfg.

The right-hand part in [extension: foo] is now used as the name of the
extension module.  (I changed the separator from = to : and allowed
whitespace to make the sections look nicer.)

13 years agoMerge doc changes from 3.2.
Éric Araujo [Thu, 1 Sep 2011 03:57:12 +0000 (05:57 +0200)]
Merge doc changes from 3.2.

rstlint complains about packaging docs but I’m working on those in
another patch.

13 years agoAdd version number for versionchanged directive (backport from 3.3)
Éric Araujo [Thu, 1 Sep 2011 03:55:26 +0000 (05:55 +0200)]
Add version number for versionchanged directive (backport from 3.3)

13 years agoClean up packaging.util: add __all__, remove some unused functions.
Éric Araujo [Thu, 1 Sep 2011 03:11:29 +0000 (05:11 +0200)]
Clean up packaging.util: add __all__, remove some unused functions.

This huge module is the heir of six distutils modules, and contains
a number of miscellaneous functions.  I have attempted to help readers
of the source code with an annoted __all__.  Removed or deprecated
functions have been removed from the documentation; I’m working on
another patch to document the remaining public functions.

For the curious:

The unzip_file and untar_file were used by (or intended to be used by)
“pysetup install path/to/archive.tar.gz”, but the code presently used
shutil.unpack_archive and an helper function, so I just deleted them.
They’re still in the repository if we need them in the future.

The find_packages function is not used anymore but I want to discuss
module and package auto-discovery (in “pysetup create”) again before
removing it.

subst_vars now lives in sysconfig; rfc822_escape is inlined in
packaging.metadata.  Other functions are for internal use only, or
deprecated; I have left them out of __all__ and sprinkled TODO notes
for future cleanups.

13 years agonews note on xattrs
Benjamin Peterson [Thu, 1 Sep 2011 02:21:44 +0000 (22:21 -0400)]
news note on xattrs

13 years agomerge 3.2 (null)
Benjamin Peterson [Thu, 1 Sep 2011 02:16:34 +0000 (22:16 -0400)]
merge 3.2 (null)

13 years agoexpose linux extended file system attributes (closes #12720)
Benjamin Peterson [Thu, 1 Sep 2011 02:15:17 +0000 (22:15 -0400)]
expose linux extended file system attributes (closes #12720)

13 years agoaccept bytes for the AST 'string' type
Benjamin Peterson [Thu, 1 Sep 2011 02:13:03 +0000 (22:13 -0400)]
accept bytes for the AST 'string' type

This is a temporary kludge and all is well in 3.3.

13 years agoAdapt/remove mentions of functions gone in 3.x
Éric Araujo [Thu, 1 Sep 2011 01:20:13 +0000 (03:20 +0200)]
Adapt/remove mentions of functions gone in 3.x

13 years agoFix some misuses of Sphinx roles and one typo
Éric Araujo [Thu, 1 Sep 2011 01:19:30 +0000 (03:19 +0200)]
Fix some misuses of Sphinx roles and one typo

13 years agoAvoid using the default reST role. Makes Doc/tools/rstlint.py happy.
Éric Araujo [Thu, 1 Sep 2011 00:47:34 +0000 (02:47 +0200)]
Avoid using the default reST role.  Makes Doc/tools/rstlint.py happy.

13 years agoMerge fix for #10086 from 3.2
Éric Araujo [Wed, 31 Aug 2011 14:52:12 +0000 (16:52 +0200)]
Merge fix for #10086 from 3.2

13 years agoFix test_sysconfig when run from a Python installed under /site (#10086).
Éric Araujo [Wed, 31 Aug 2011 14:48:17 +0000 (16:48 +0200)]
Fix test_sysconfig when run from a Python installed under /site (#10086).

Patch by Hallvard B Furuseth.

13 years agoFix packaging command registry to let Windows machines find bdist_msi
Éric Araujo [Wed, 31 Aug 2011 14:12:31 +0000 (16:12 +0200)]
Fix packaging command registry to let Windows machines find bdist_msi

13 years agoBranch merge
Éric Araujo [Wed, 31 Aug 2011 13:34:34 +0000 (15:34 +0200)]
Branch merge

13 years agoRemove unused variable
Amaury Forgeot d'Arc [Tue, 30 Aug 2011 22:43:55 +0000 (00:43 +0200)]
Remove unused variable

13 years agoTry to fix one of the bigmem tests in test_pickle
Antoine Pitrou [Tue, 30 Aug 2011 21:39:59 +0000 (23:39 +0200)]
Try to fix one of the bigmem tests in test_pickle

13 years agoTry to fix one of the bigmem tests in test_pickle
Antoine Pitrou [Tue, 30 Aug 2011 21:39:34 +0000 (23:39 +0200)]
Try to fix one of the bigmem tests in test_pickle

13 years agoMove help texts near to the function they’re related to
Éric Araujo [Tue, 30 Aug 2011 20:23:52 +0000 (22:23 +0200)]
Move help texts near to the function they’re related to

13 years agoFix typo I introduced in f93acf8844ec
Éric Araujo [Tue, 30 Aug 2011 20:13:21 +0000 (22:13 +0200)]
Fix typo I introduced in f93acf8844ec

13 years agoMerge from 3.2:
Amaury Forgeot d'Arc [Tue, 30 Aug 2011 20:07:20 +0000 (22:07 +0200)]
Merge from 3.2:
- Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to file.write()
- Issue #11241: subclasses of ctypes.Array can now be subclassed.

13 years agoIssue #11241: subclasses of ctypes.Array can now be subclassed.
Amaury Forgeot d'Arc [Tue, 30 Aug 2011 20:02:51 +0000 (22:02 +0200)]
Issue #11241: subclasses of ctypes.Array can now be subclassed.

13 years agoIssue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to
Amaury Forgeot d'Arc [Tue, 30 Aug 2011 19:40:20 +0000 (21:40 +0200)]
Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to
some functions like file.write().

13 years agoUpdate list of trove classifiers to match PyPI
Éric Araujo [Tue, 30 Aug 2011 17:05:46 +0000 (19:05 +0200)]
Update list of trove classifiers to match PyPI

13 years agoRemove misleading comment and code.
Antoine Pitrou [Tue, 30 Aug 2011 16:34:47 +0000 (18:34 +0200)]
Remove misleading comment and code.
Windows does set the errno attribute to ENOENT, but the error message
displays the Windows error number (3 -> ERROR_PATH_NOT_FOUND), not the
errno number (2 -> ENOENT).
The Unix errno corresponding to 3 is ESRCH, explaining the confusion,
which can be seen in the following snippet:

>>> shutil.rmtree("foo")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "Z:\default\lib\shutil.py", line 272, in rmtree
    onerror(os.listdir, path, sys.exc_info())
  File "Z:\default\lib\shutil.py", line 270, in rmtree
    names = os.listdir(path)
WindowsError: [Error 3] The system cannot find the path specified:
'foo\\*.*'
>>> e = sys.last_value
>>> e.errno
2
>>> e.winerror
3
>>> errno.errorcode[2]
'ENOENT'

For reference, see PC/errmap.h and
http://msdn.microsoft.com/en-us/library/ms681382%28v=vs.85%29.aspx

13 years agoMerge 3.2
Éric Araujo [Tue, 30 Aug 2011 14:21:47 +0000 (16:21 +0200)]
Merge 3.2

13 years agoBranch merge
Éric Araujo [Tue, 30 Aug 2011 14:21:15 +0000 (16:21 +0200)]
Branch merge

13 years agoBranch merge
Éric Araujo [Tue, 30 Aug 2011 14:05:31 +0000 (16:05 +0200)]
Branch merge

13 years agoMake bdist_* commands respect --skip-build passed to bdist (#10946).
Éric Araujo [Mon, 29 Aug 2011 23:42:50 +0000 (01:42 +0200)]
Make bdist_* commands respect --skip-build passed to bdist (#10946).

There was already a test for this, but it was complicated and had a
subtle bug (custom command objects need to be put in dist.command_obj so
that other command objects may see them) that rendered it moot.

13 years agoRemove obsolete mentions of the compress program and .Z archives.
Éric Araujo [Mon, 29 Aug 2011 23:19:02 +0000 (01:19 +0200)]
Remove obsolete mentions of the compress program and .Z archives.

Packaging uses the shutil.make_archive function copied from distutils,
which does not support compress.  There is no test to check that
“bdist --format whatever” works, so this slipped by.

13 years agoMerge fix for #10946 from 3.2
Éric Araujo [Mon, 29 Aug 2011 23:01:45 +0000 (01:01 +0200)]
Merge fix for #10946 from 3.2

13 years agoRemove display options (--name, etc.) from the Distribution class.
Éric Araujo [Mon, 29 Aug 2011 22:55:02 +0000 (00:55 +0200)]
Remove display options (--name, etc.) from the Distribution class.

These options were used to implement “setup.py --name”,
“setup.py --version”, etc. which are now handled by the pysetup metadata
action or direct parsing of the setup.cfg file.

As a side effect, the Distribution class no longer accepts a 'url' key
in its *attrs* argument: it has to be 'home-page' to be recognized as a
valid metadata field and passed down to the dist.metadata object.

I cleaned up some comments, docstrings and code along the way.

13 years agoCleanup: move code out of a try block
Éric Araujo [Mon, 29 Aug 2011 22:45:59 +0000 (00:45 +0200)]
Cleanup: move code out of a try block

13 years agoIssue #12847: Fix a crash with negative PUT and LONG_BINPUT arguments in
Antoine Pitrou [Mon, 29 Aug 2011 22:28:40 +0000 (00:28 +0200)]
Issue #12847: Fix a crash with negative PUT and LONG_BINPUT arguments in
the C pickle implementation.

13 years agoIssue #12847: Fix a crash with negative PUT and LONG_BINPUT arguments in
Antoine Pitrou [Mon, 29 Aug 2011 22:27:10 +0000 (00:27 +0200)]
Issue #12847: Fix a crash with negative PUT and LONG_BINPUT arguments in
the C pickle implementation.

13 years agoIssue #11564: Avoid crashes when trying to pickle huge objects or containers
Antoine Pitrou [Mon, 29 Aug 2011 21:14:53 +0000 (23:14 +0200)]
Issue #11564: Avoid crashes when trying to pickle huge objects or containers
(more than 2**31 items).  Instead, in most cases, an OverflowError is raised.

13 years agoIssue #11564: Avoid crashes when trying to pickle huge objects or containers
Antoine Pitrou [Mon, 29 Aug 2011 21:09:33 +0000 (23:09 +0200)]
Issue #11564: Avoid crashes when trying to pickle huge objects or containers
(more than 2**31 items).  Instead, in most cases, an OverflowError is raised.

13 years agoPrint all fields when calling “pysetup metadata” without options.
Éric Araujo [Mon, 29 Aug 2011 20:03:46 +0000 (22:03 +0200)]
Print all fields when calling “pysetup metadata” without options.

When called without option (“-f field” or “--all”), “pysetup metadata”
didn’t do anything useful.  Now it prints out all metadata fields.  The
“--all” option is removed.

13 years agoMake bdist_* commands respect --skip-build passed to bdist (#10946)
Éric Araujo [Mon, 29 Aug 2011 19:48:39 +0000 (21:48 +0200)]
Make bdist_* commands respect --skip-build passed to bdist (#10946)

13 years agoCleanup: use sys.version_info instead of convoluted hexversion lshifts
Éric Araujo [Mon, 29 Aug 2011 19:43:48 +0000 (21:43 +0200)]
Cleanup: use sys.version_info instead of convoluted hexversion lshifts

13 years ago3.3 whatsnew: fix markup, add stub for new crypt features
Éric Araujo [Mon, 29 Aug 2011 19:42:47 +0000 (21:42 +0200)]
3.3 whatsnew: fix markup, add stub for new crypt features

13 years agoIssue #12837: POSIX.1-2008 allows socklen_t to be a signed integer: re-enable
Charles-François Natali [Sun, 28 Aug 2011 16:23:43 +0000 (18:23 +0200)]
Issue #12837: POSIX.1-2008 allows socklen_t to be a signed integer: re-enable
the check against negative values, and add a note on this surprising test.
Patch by David Watson.

13 years agoIssue #12287: Fix a stack corruption in ossaudiodev module when the FD is
Charles-François Natali [Sun, 28 Aug 2011 16:10:27 +0000 (18:10 +0200)]
Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is
greater than FD_SETSIZE.

13 years agoIssue #12287: Fix a stack corruption in ossaudiodev module when the FD is
Charles-François Natali [Sun, 28 Aug 2011 15:51:43 +0000 (17:51 +0200)]
Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is
greater than FD_SETSIZE.

13 years agoMerge: #12839: Fix crash in zlib module due to version mismatch.
Nadeem Vawda [Sun, 28 Aug 2011 09:29:35 +0000 (11:29 +0200)]
Merge: #12839: Fix crash in zlib module due to version mismatch.

If the version of zlib used to compile the zlib module is incompatible
with the one that is actually linked in, then calls into zlib will fail.
This can leave attributes of the z_stream uninitialized, so we must take
care to avoid segfaulting by trying to use an invalid pointer.

Fix by Richard M. Tew.

13 years agoIssue #12839: Fix crash in zlib module due to version mismatch.
Nadeem Vawda [Sun, 28 Aug 2011 09:26:46 +0000 (11:26 +0200)]
Issue #12839: Fix crash in zlib module due to version mismatch.

If the version of zlib used to compile the zlib module is incompatible
with the one that is actually linked in, then calls into zlib will fail.
This can leave attributes of the z_stream uninitialized, so we must take
care to avoid segfaulting by trying to use an invalid pointer.

Fix by Richard M. Tew.

13 years agoMake tests faster by reaping threads only at the end
Antoine Pitrou [Sat, 27 Aug 2011 23:24:22 +0000 (01:24 +0200)]
Make tests faster by reaping threads only at the end

13 years agoMake tests faster by reaping threads only at the end
Antoine Pitrou [Sat, 27 Aug 2011 23:23:52 +0000 (01:23 +0200)]
Make tests faster by reaping threads only at the end

13 years agoProvide a better diagnosis on socket errors
Antoine Pitrou [Sat, 27 Aug 2011 23:22:22 +0000 (01:22 +0200)]
Provide a better diagnosis on socket errors

13 years agoProvide a better diagnosis on socket errors
Antoine Pitrou [Sat, 27 Aug 2011 23:20:42 +0000 (01:20 +0200)]
Provide a better diagnosis on socket errors

13 years agoAdd pattern to .hgignore in order to mask PC/generrmap.exe
Antoine Pitrou [Sat, 27 Aug 2011 16:46:50 +0000 (18:46 +0200)]
Add pattern to .hgignore in order to mask PC/generrmap.exe

13 years agoAdd pattern to .hgignore in order to mask PC/generrmap.exe
Antoine Pitrou [Sat, 27 Aug 2011 16:46:17 +0000 (18:46 +0200)]
Add pattern to .hgignore in order to mask PC/generrmap.exe

13 years agoFix #9923: mailcap now uses the OS path separator for the MAILCAP envvar. Not backpor...
Nick Coghlan [Sat, 27 Aug 2011 14:17:31 +0000 (00:17 +1000)]
Fix #9923: mailcap now uses the OS path separator for the MAILCAP envvar. Not backported, since it could break cases where people worked around the old POSIX-specific behaviour on non-POSIX platforms.

13 years agoFix #12835: prevent use of the unencrypted sendmsg/recvmsg APIs on SSL wrapped socket...
Nick Coghlan [Sat, 27 Aug 2011 14:00:27 +0000 (00:00 +1000)]
Fix #12835: prevent use of the unencrypted sendmsg/recvmsg APIs on SSL wrapped sockets (Patch by David Watson)

13 years agoMerge: Make regrtest complain when -M and -j are used together.
Nadeem Vawda [Sat, 27 Aug 2011 13:24:23 +0000 (15:24 +0200)]
Merge: Make regrtest complain when -M and -j are used together.

-j doesn't pass the memlimit on to child processes, so this doesn't work at
present, and even if it did, running multiple bigmem tests at once would
usually not be desirable (since you generally want to devote as much of the
available RAM as possible to each test).

13 years agoMake regrtest complain when -M and -j are used together.
Nadeem Vawda [Sat, 27 Aug 2011 13:22:05 +0000 (15:22 +0200)]
Make regrtest complain when -M and -j are used together.

-j doesn't pass the memlimit on to child processes, so this doesn't work at
present, and even if it did, running multiple bigmem tests at once would
usually not be desirable (since you generally want to devote as much of the
available RAM as possible to each test).

13 years agoMerge from 3.2 (change already committed in py3k)
Éric Araujo [Fri, 26 Aug 2011 14:39:26 +0000 (16:39 +0200)]
Merge from 3.2 (change already committed in py3k)

13 years agoRemove outdated pointer to optparse (fixes #11360).
Éric Araujo [Fri, 26 Aug 2011 14:38:40 +0000 (16:38 +0200)]
Remove outdated pointer to optparse (fixes #11360).

The doc already points to argparse.

13 years agoMerge 3.2
Éric Araujo [Fri, 26 Aug 2011 14:31:19 +0000 (16:31 +0200)]
Merge 3.2