]> granicus.if.org Git - python/log
python
14 years agoUpdated test_rollover delay to just over a second.
Vinay Sajip [Tue, 24 May 2011 06:12:41 +0000 (07:12 +0100)]
Updated test_rollover delay to just over a second.

14 years agoIssue #12105: test_posix skips test_oscloexec() on Linux < 2.6.23
Victor Stinner [Mon, 23 May 2011 22:29:43 +0000 (00:29 +0200)]
Issue #12105: test_posix skips test_oscloexec() on Linux < 2.6.23

14 years agoIssue #12158: Move linux_version() from test_socket to test.support
Victor Stinner [Mon, 23 May 2011 22:24:19 +0000 (00:24 +0200)]
Issue #12158: Move linux_version() from test_socket to test.support

14 years agoIssue #11377: platform.popen() emits a DeprecationWarning
Victor Stinner [Mon, 23 May 2011 22:16:16 +0000 (00:16 +0200)]
Issue #11377: platform.popen() emits a DeprecationWarning

14 years agoMerge heads.
Ezio Melotti [Mon, 23 May 2011 22:03:33 +0000 (01:03 +0300)]
Merge heads.

14 years ago#12074: merge with 3.2.
Ezio Melotti [Mon, 23 May 2011 22:01:08 +0000 (01:01 +0300)]
#12074: merge with 3.2.

14 years agoIssue #12151: Test now ignores datagram socket errors after server is closed.
Vinay Sajip [Mon, 23 May 2011 22:00:42 +0000 (23:00 +0100)]
Issue #12151: Test now ignores datagram socket errors after server is closed.

14 years ago#12074: remove the /0 when there are no failures.
Ezio Melotti [Mon, 23 May 2011 22:00:10 +0000 (01:00 +0300)]
#12074: remove the /0 when there are no failures.

14 years agomerge 3.2
Benjamin Peterson [Mon, 23 May 2011 21:35:12 +0000 (16:35 -0500)]
merge 3.2

14 years agomerge heads
Benjamin Peterson [Mon, 23 May 2011 21:30:29 +0000 (16:30 -0500)]
merge heads

14 years agomerge heads
Benjamin Peterson [Mon, 23 May 2011 21:29:50 +0000 (16:29 -0500)]
merge heads

14 years agomerge 3.2
Benjamin Peterson [Mon, 23 May 2011 21:27:36 +0000 (16:27 -0500)]
merge 3.2

14 years agomerge 3.1
Benjamin Peterson [Mon, 23 May 2011 21:22:42 +0000 (16:22 -0500)]
merge 3.1

14 years ago(Merge 3.2) Issue #12074: regrtest displays also the current number of failures
Victor Stinner [Mon, 23 May 2011 21:16:09 +0000 (23:16 +0200)]
(Merge 3.2) Issue #12074: regrtest displays also the current number of failures

14 years agoIssue #12074: regrtest displays also the current number of failures
Victor Stinner [Mon, 23 May 2011 21:14:05 +0000 (23:14 +0200)]
Issue #12074: regrtest displays also the current number of failures

14 years agocorrectly lookup __dir__
Benjamin Peterson [Mon, 23 May 2011 21:11:05 +0000 (16:11 -0500)]
correctly lookup __dir__

14 years agoIssue #12151: Correction to diagnostic code.
Vinay Sajip [Mon, 23 May 2011 20:49:09 +0000 (21:49 +0100)]
Issue #12151: Correction to diagnostic code.

14 years agoIssue #12151: Added diagnostics to help diagnose intermittent socket errors.
Vinay Sajip [Mon, 23 May 2011 20:37:54 +0000 (21:37 +0100)]
Issue #12151: Added diagnostics to help diagnose intermittent socket errors.

14 years agoClean-up example.
Raymond Hettinger [Mon, 23 May 2011 19:46:20 +0000 (12:46 -0700)]
Clean-up example.

14 years agoClean-up example.
Raymond Hettinger [Mon, 23 May 2011 19:45:34 +0000 (12:45 -0700)]
Clean-up example.

14 years agoIssue #12125: fixed the failures under Solaris due to improper test cleanup.
Tarek Ziade [Mon, 23 May 2011 17:07:56 +0000 (19:07 +0200)]
Issue #12125: fixed the failures under Solaris due to improper test cleanup.

14 years agofixed the cwd cleanup in packaging test_util
Tarek Ziade [Mon, 23 May 2011 16:47:27 +0000 (18:47 +0200)]
fixed the cwd cleanup in packaging test_util

14 years agomake sure the cwd is restored on tearDown
Tarek Ziade [Mon, 23 May 2011 16:31:20 +0000 (18:31 +0200)]
make sure the cwd is restored on tearDown

14 years agoIssue #6501: os.device_encoding() returns None on Windows if the application
Victor Stinner [Mon, 23 May 2011 16:12:52 +0000 (18:12 +0200)]
Issue #6501: os.device_encoding() returns None on Windows if the application
has no console.

14 years agomake sure build_dir.build_lib is synced to the faked build location
Tarek Ziade [Mon, 23 May 2011 15:35:20 +0000 (17:35 +0200)]
make sure build_dir.build_lib is synced to the faked build location

14 years agoMerge 3.2
Victor Stinner [Mon, 23 May 2011 12:58:07 +0000 (14:58 +0200)]
Merge 3.2

14 years agoMerge 3.1
Victor Stinner [Mon, 23 May 2011 12:57:05 +0000 (14:57 +0200)]
Merge 3.1

14 years agotest_codecs now removes the temporay file (created by the test)
Victor Stinner [Mon, 23 May 2011 12:51:42 +0000 (14:51 +0200)]
test_codecs now removes the temporay file (created by the test)

14 years agoIssue #12105: test_posix, add the value of O_CLOEXEC in the error message
Victor Stinner [Mon, 23 May 2011 10:54:52 +0000 (12:54 +0200)]
Issue #12105: test_posix, add the value of O_CLOEXEC in the error message

14 years agoClose #12153: faulthandler, mark stack_overflow() as static
Victor Stinner [Mon, 23 May 2011 10:29:10 +0000 (12:29 +0200)]
Close #12153: faulthandler, mark stack_overflow() as static

14 years agoUpdate documentation to mention bytes instead byte string and correct one
Gregory P. Smith [Mon, 23 May 2011 05:29:49 +0000 (22:29 -0700)]
Update documentation to mention bytes instead byte string and correct one
mentioned string to the accurate description of what type is required.

14 years agoRefer to the return value on nameindex and friends as a string, not a byte
Gregory P. Smith [Mon, 23 May 2011 05:16:57 +0000 (22:16 -0700)]
Refer to the return value on nameindex and friends as a string, not a byte
string.  The code was fixed to return strings instead of bytes and to accept
either.

14 years agomerged
Martin v. Löwis [Mon, 23 May 2011 05:04:05 +0000 (07:04 +0200)]
merged

14 years agoAdd 3.2.1rc2 uuid.
Martin v. Löwis [Mon, 23 May 2011 05:02:07 +0000 (07:02 +0200)]
Add 3.2.1rc2 uuid.

14 years agoIssue #12151: test_logging writes debug messages to stderr, not stdout
Victor Stinner [Sun, 22 May 2011 23:16:44 +0000 (01:16 +0200)]
Issue #12151: test_logging writes debug messages to stderr, not stdout

stdout are lost in buildbots

14 years agoskip more tests in packaging if threading is not supported
Tarek Ziade [Sun, 22 May 2011 22:41:27 +0000 (00:41 +0200)]
skip more tests in packaging if threading is not supported

14 years agonot using a server name anymore as the 127.0.0.1 <> localhost symmetry is not true...
Tarek Ziade [Sun, 22 May 2011 21:25:48 +0000 (23:25 +0200)]
not using a server name anymore as the 127.0.0.1 <> localhost symmetry is not true under Windows 7

14 years agoIssue #10801: Remove a debug print() from test_zipfile
Victor Stinner [Sun, 22 May 2011 20:12:27 +0000 (22:12 +0200)]
Issue #10801: Remove a debug print() from test_zipfile

14 years agoIssue 12132 - skip the test_buil_ext test if the xx module is not found
Tarek Ziade [Sun, 22 May 2011 20:09:55 +0000 (22:09 +0200)]
Issue 12132 - skip the test_buil_ext test if the xx module is not found

14 years agoIssue 10126 - backported distutils fix for the enable-share mode into packaging
Tarek Ziade [Sun, 22 May 2011 19:21:44 +0000 (21:21 +0200)]
Issue 10126 - backported distutils fix for the enable-share mode into packaging

14 years agoIssue #12105: Add O_CLOEXEC to the os module.
Charles-François Natali [Sun, 22 May 2011 18:42:32 +0000 (20:42 +0200)]
Issue #12105: Add O_CLOEXEC to the os module.

14 years agoIssue #12138: fix use of transient_internet() in test_urllibnet
Antoine Pitrou [Sun, 22 May 2011 15:35:48 +0000 (17:35 +0200)]
Issue #12138: fix use of transient_internet() in test_urllibnet

14 years agoIssue #12138: fix use of transient_internet() in test_urllibnet
Antoine Pitrou [Sun, 22 May 2011 15:35:17 +0000 (17:35 +0200)]
Issue #12138: fix use of transient_internet() in test_urllibnet

14 years agoregrtest: enable faulthandler in main() instead of if __name__ == '__main__':
Victor Stinner [Sun, 22 May 2011 13:27:14 +0000 (15:27 +0200)]
regrtest: enable faulthandler in main() instead of if __name__ == '__main__':

So it's also enabled when using "./python -m test".

14 years agoIssue #12079: Decimal(0).fma(Decimal('inf'), 'not a number') should give a TypeError...
Mark Dickinson [Sun, 22 May 2011 11:53:18 +0000 (12:53 +0100)]
Issue #12079: Decimal(0).fma(Decimal('inf'), 'not a number') should give a TypeError, not a Decimal.InvalidOperation

14 years agoAdd 3.2.1rc2 uuid.
Martin v. Loewis [Sun, 22 May 2011 10:59:35 +0000 (12:59 +0200)]
Add 3.2.1rc2 uuid.

14 years agoIssue 12126: removing incorrect claim about return value of select
Eli Bendersky [Sun, 22 May 2011 03:59:49 +0000 (06:59 +0300)]
Issue 12126: removing incorrect claim about return value of select
merge 3.2 -> default

14 years agoIssue 12126: removing incorrect claim about return value of select
Eli Bendersky [Sun, 22 May 2011 03:57:17 +0000 (06:57 +0300)]
Issue 12126: removing incorrect claim about return value of select
merge 3.1 -> 3.2

14 years agoIssue 12126: removing incorrect claim about return value of select
Eli Bendersky [Sun, 22 May 2011 03:56:15 +0000 (06:56 +0300)]
Issue 12126: removing incorrect claim about return value of select

14 years agoIssue #12131: Ensure that the sysconfig.cfg file, introduced by packaging,
Ned Deily [Sat, 21 May 2011 23:06:58 +0000 (16:06 -0700)]
Issue #12131: Ensure that the sysconfig.cfg file, introduced by packaging,
is installed into the lib directory: prevents startup exception in site.py.

14 years agoadded the Content-Length header. that fixes the weird packaging.pypi.errors.HashDoesN...
Tarek Ziade [Sat, 21 May 2011 21:59:09 +0000 (23:59 +0200)]
added the Content-Length header. that fixes the weird packaging.pypi.errors.HashDoesNotMatch errors

14 years agodeactivating one test under win32 for now
Tarek Ziade [Sat, 21 May 2011 21:05:19 +0000 (23:05 +0200)]
deactivating one test under win32 for now

14 years agomake sure the crawler can browse file-based indexes under win32
Tarek Ziade [Sat, 21 May 2011 20:47:40 +0000 (22:47 +0200)]
make sure the crawler can browse file-based indexes under win32

14 years agofixed the export symbols for the win32 linker
Tarek Ziade [Sat, 21 May 2011 19:48:04 +0000 (21:48 +0200)]
fixed the export symbols for the win32 linker

14 years agoskip the pypi upload doc test via https, if ssl is not available
Tarek Ziade [Sat, 21 May 2011 17:53:45 +0000 (19:53 +0200)]
skip the pypi upload doc test via https, if ssl is not available

14 years agouse the same line terminator everywhere
Tarek Ziade [Sat, 21 May 2011 17:45:48 +0000 (19:45 +0200)]
use the same line terminator everywhere

14 years agoMerge 3.2.1rc1 release changes to default.
Georg Brandl [Sat, 21 May 2011 17:43:36 +0000 (19:43 +0200)]
Merge 3.2.1rc1 release changes to default.

14 years agoSimplify example
Raymond Hettinger [Sat, 21 May 2011 16:37:36 +0000 (09:37 -0700)]
Simplify example

14 years agoSimplify example
Raymond Hettinger [Sat, 21 May 2011 16:33:45 +0000 (09:33 -0700)]
Simplify example

14 years agoIssue #12136: Added change to handle non-availability of the ssl module.
Vinay Sajip [Sat, 21 May 2011 15:46:41 +0000 (16:46 +0100)]
Issue #12136: Added change to handle non-availability of the ssl module.

14 years agoSet up branch to be rc2 next.
Georg Brandl [Sat, 21 May 2011 15:36:20 +0000 (17:36 +0200)]
Set up branch to be rc2 next.

14 years agoMerge release branch after 3.2.1rc1.
Georg Brandl [Sat, 21 May 2011 15:35:33 +0000 (17:35 +0200)]
Merge release branch after 3.2.1rc1.

14 years agofixed the move api in packaging.install, and closing the handle left by mkstemp(...
Tarek Ziade [Sat, 21 May 2011 13:12:10 +0000 (15:12 +0200)]
fixed the move api in packaging.install, and closing the handle left by mkstemp() in its test module

14 years agowe want to generate /-separated paths setup.cfg files even under win32
Tarek Ziade [Sat, 21 May 2011 12:24:14 +0000 (14:24 +0200)]
we want to generate /-separated paths setup.cfg files even under win32

14 years agoavoid a compiler warning. the compiler doesn't know that the static
Gregory P. Smith [Sat, 21 May 2011 12:19:42 +0000 (05:19 -0700)]
avoid a compiler warning. the compiler doesn't know that the static
struct guarantees the loop will always be run once to initialize code.

14 years agoAdded SSL test for HTTPHandler.
Vinay Sajip [Sat, 21 May 2011 10:32:15 +0000 (11:32 +0100)]
Added SSL test for HTTPHandler.

14 years agofixed the way the cfg file markers values are split under win32
Tarek Ziade [Sat, 21 May 2011 10:00:10 +0000 (12:00 +0200)]
fixed the way the cfg file markers values are split under win32

14 years agofixed the separator issues in packaging/resources+config
Tarek Ziade [Sat, 21 May 2011 09:48:16 +0000 (11:48 +0200)]
fixed the separator issues in packaging/resources+config

14 years agofixed a few mocking/cleanup issues in packaging test_util for win32
Tarek Ziade [Sat, 21 May 2011 08:37:58 +0000 (10:37 +0200)]
fixed a few mocking/cleanup issues in packaging test_util for win32

14 years agoClose #12114: fix a potential deadlock in packaging.util._find_exe_version()
Victor Stinner [Sat, 21 May 2011 00:20:36 +0000 (02:20 +0200)]
Close #12114: fix a potential deadlock in packaging.util._find_exe_version()

Avoid also zombi processes: Popen.communicate() calls its wait() method.

14 years agoAdded SSL capability to TestHTTPServer.
Vinay Sajip [Fri, 20 May 2011 23:34:51 +0000 (00:34 +0100)]
Added SSL capability to TestHTTPServer.

14 years agoFix another ResourceWarning in test_packaging.
Ezio Melotti [Fri, 20 May 2011 17:27:54 +0000 (20:27 +0300)]
Fix another ResourceWarning in test_packaging.

14 years agomerge 3.2
Benjamin Peterson [Fri, 20 May 2011 16:49:58 +0000 (11:49 -0500)]
merge 3.2

14 years agomerge 3.1
Benjamin Peterson [Fri, 20 May 2011 16:49:19 +0000 (11:49 -0500)]
merge 3.1

14 years agothis should actually be an IOError
Benjamin Peterson [Fri, 20 May 2011 16:49:06 +0000 (11:49 -0500)]
this should actually be an IOError

14 years agomerge heads
Benjamin Peterson [Fri, 20 May 2011 16:43:41 +0000 (11:43 -0500)]
merge heads

14 years agomerge 3.2
Benjamin Peterson [Fri, 20 May 2011 16:42:47 +0000 (11:42 -0500)]
merge 3.2

14 years agomerge 3.1
Benjamin Peterson [Fri, 20 May 2011 16:41:59 +0000 (11:41 -0500)]
merge 3.1

14 years agoadd example for not using access
Benjamin Peterson [Fri, 20 May 2011 16:41:13 +0000 (11:41 -0500)]
add example for not using access

14 years agoFix more ResourceWarnings in test_packaging moving the join() and server_close()...
Ezio Melotti [Fri, 20 May 2011 16:35:58 +0000 (19:35 +0300)]
Fix more ResourceWarnings in test_packaging moving the join() and server_close() in the stop method.

14 years agoIssue #1746656: make if_nameindex(), if_indextoname() and if_nametoindex()
Charles-François Natali [Fri, 20 May 2011 14:55:06 +0000 (16:55 +0200)]
Issue #1746656: make if_nameindex(), if_indextoname() and if_nametoindex()
accept and return str instead of bytes arrays. Add some more tests.

14 years ago#12072: merge with 3.2.
Ezio Melotti [Fri, 20 May 2011 12:06:58 +0000 (15:06 +0300)]
#12072: merge with 3.2.

14 years ago#12072: merge with 3.1.
Ezio Melotti [Fri, 20 May 2011 12:06:32 +0000 (15:06 +0300)]
#12072: merge with 3.1.

14 years ago#12072: add missing parenthesis in the doc. Patch by Sandro Tosi.
Ezio Melotti [Fri, 20 May 2011 12:04:38 +0000 (15:04 +0300)]
#12072: add missing parenthesis in the doc.  Patch by Sandro Tosi.

14 years agoFix several ResourceWarnings in test_packaging.
Ezio Melotti [Fri, 20 May 2011 11:13:58 +0000 (14:13 +0300)]
Fix several ResourceWarnings in test_packaging.

14 years ago(Merge 3.2) test_pydoc: skip PydocServerTest if thread support is disabled
Victor Stinner [Fri, 20 May 2011 00:29:55 +0000 (02:29 +0200)]
(Merge 3.2) test_pydoc: skip PydocServerTest if thread support is disabled

14 years agotest_pydoc: skip PydocServerTest if thread support is disabled
Victor Stinner [Fri, 20 May 2011 00:29:13 +0000 (02:29 +0200)]
test_pydoc: skip PydocServerTest if thread support is disabled

14 years agopackaging.tests.test_command_install_data: restore correctly sysconfig._SCHEMES
Victor Stinner [Thu, 19 May 2011 23:56:42 +0000 (01:56 +0200)]
packaging.tests.test_command_install_data: restore correctly sysconfig._SCHEMES

14 years agofix packaging tests on Windows: use os.path.join() in glob patterns
Victor Stinner [Thu, 19 May 2011 22:33:39 +0000 (00:33 +0200)]
fix packaging tests on Windows: use os.path.join() in glob patterns

14 years ago(Merge 3.2) Issue #12124: zipimport doesn't keep a reference to
Victor Stinner [Thu, 19 May 2011 22:22:39 +0000 (00:22 +0200)]
(Merge 3.2) Issue #12124: zipimport doesn't keep a reference to
zlib.decompress() anymore to be able to unload the module.

14 years ago(Merge 3.1) Issue #12124: zipimport doesn't keep a reference to
Victor Stinner [Thu, 19 May 2011 22:18:58 +0000 (00:18 +0200)]
(Merge 3.1) Issue #12124: zipimport doesn't keep a reference to
zlib.decompress() anymore to be able to unload the module.

14 years agoIssue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore
Victor Stinner [Thu, 19 May 2011 22:16:09 +0000 (00:16 +0200)]
Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore
to be able to unload the module.

14 years agopackaging: fix the constructor of FakePopen
Victor Stinner [Thu, 19 May 2011 22:12:10 +0000 (00:12 +0200)]
packaging: fix the constructor of FakePopen

packaging.util requires the env keyword.

14 years agofix packaging.compiler.msvc9compiler: os.environ['path'] value is also a str
Victor Stinner [Thu, 19 May 2011 22:05:58 +0000 (00:05 +0200)]
fix packaging.compiler.msvc9compiler: os.environ['path'] value is also a str

Don't encode the path list

14 years agofix packaging.compiler.msvc9compiler: os.environ values are str, not bytes
Victor Stinner [Thu, 19 May 2011 21:46:03 +0000 (23:46 +0200)]
fix packaging.compiler.msvc9compiler: os.environ values are str, not bytes

14 years agoIssue #12112: fix the encoding of setup.py in the packaging module
Victor Stinner [Thu, 19 May 2011 19:42:47 +0000 (21:42 +0200)]
Issue #12112: fix the encoding of setup.py in the packaging module

 * read: use tokenize.detect_encoding()
 * write: use 'utf-8'

14 years agoRefactor a few tests to use the new requires_zlib decorator.
Ezio Melotti [Thu, 19 May 2011 19:03:22 +0000 (22:03 +0300)]
Refactor a few tests to use the new requires_zlib decorator.

14 years agoSkip tests that require zlib in the packaging tests. Also add a requires_zlib decora...
Ezio Melotti [Thu, 19 May 2011 18:25:10 +0000 (21:25 +0300)]
Skip tests that require zlib in the packaging tests.  Also add a requires_zlib decorator to test.support.

14 years agoIssue #12120, Issue #12119: tests were missing a sys.dont_write_bytecode check
Tarek Ziade [Thu, 19 May 2011 17:56:12 +0000 (19:56 +0200)]
Issue #12120, Issue #12119: tests were missing a sys.dont_write_bytecode check

14 years agoremoved unused method in packaging.create
Tarek Ziade [Thu, 19 May 2011 17:07:06 +0000 (19:07 +0200)]
removed unused method in packaging.create