]> granicus.if.org Git - python/log
python
11 years agoIssue #21310: Fixed possible resource leak in failed open().
Serhiy Storchaka [Mon, 9 Jun 2014 10:35:43 +0000 (13:35 +0300)]
Issue #21310: Fixed possible resource leak in failed open().

11 years agoIssue #21310: Fixed possible resource leak in failed open().
Serhiy Storchaka [Mon, 9 Jun 2014 10:32:34 +0000 (13:32 +0300)]
Issue #21310: Fixed possible resource leak in failed open().

11 years agoCloses #21256: Printout of keyword args in deterministic order in mock calls.
Kushal Das [Mon, 9 Jun 2014 08:15:56 +0000 (13:45 +0530)]
Closes #21256: Printout of keyword args in deterministic order in mock calls.

Printout of keyword args should be in deterministic order in
a mock function call. This will help to write better doctests.

11 years agoIssue #21677: Fixed chaining nonnormalized exceptions in io close() methods.
Serhiy Storchaka [Mon, 9 Jun 2014 06:15:42 +0000 (09:15 +0300)]
Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods.

11 years agoIssue #21677: Fixed chaining nonnormalized exceptions in io close() methods.
Serhiy Storchaka [Mon, 9 Jun 2014 06:13:04 +0000 (09:13 +0300)]
Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods.

11 years agoIssue #21569: merge from 3.4
Nick Coghlan [Mon, 9 Jun 2014 03:30:33 +0000 (13:30 +1000)]
Issue #21569: merge from 3.4

11 years agoIssue #21569: Fix incorrect cross reference
Nick Coghlan [Mon, 9 Jun 2014 03:14:54 +0000 (13:14 +1000)]
Issue #21569: Fix incorrect cross reference

11 years agoIssue #21515: Fix typo in a comment, thanks Arfrever for the report
Victor Stinner [Sun, 8 Jun 2014 22:05:47 +0000 (00:05 +0200)]
Issue #21515: Fix typo in a comment, thanks Arfrever for the report

11 years agoMerge with 3.4
Zachary Ware [Sun, 8 Jun 2014 19:43:08 +0000 (14:43 -0500)]
Merge with 3.4

11 years agoIssue #21683: Add Tix build to the Windows buildbot scripts.
Zachary Ware [Sun, 8 Jun 2014 19:28:13 +0000 (14:28 -0500)]
Issue #21683: Add Tix build to the Windows buildbot scripts.

11 years agoMerge with 3.4 whitespace
Terry Jan Reedy [Sun, 8 Jun 2014 18:57:42 +0000 (14:57 -0400)]
Merge with 3.4 whitespace

11 years agowhitespace
Terry Jan Reedy [Sun, 8 Jun 2014 18:57:24 +0000 (14:57 -0400)]
whitespace

11 years agoMerge with 3.4
Terry Jan Reedy [Sun, 8 Jun 2014 18:49:30 +0000 (14:49 -0400)]
Merge with 3.4

11 years agoMerge heads.
Terry Jan Reedy [Sun, 8 Jun 2014 18:49:07 +0000 (14:49 -0400)]
Merge heads.

11 years agoIssue #21682: Replace EditorWindow with mock to eliminate memory leaks.
Terry Jan Reedy [Sun, 8 Jun 2014 18:47:26 +0000 (14:47 -0400)]
Issue #21682: Replace EditorWindow with mock to eliminate memory leaks.
Patch by Saimadhav Heblikar. (2 head merge)

11 years agobackout 0fb7789b5eeb for test breakage (#20578)
Benjamin Peterson [Sun, 8 Jun 2014 06:18:12 +0000 (23:18 -0700)]
backout 0fb7789b5eeb for test breakage (#20578)

11 years agomerge 3.4 (#11709)
Benjamin Peterson [Sun, 8 Jun 2014 03:17:29 +0000 (20:17 -0700)]
merge 3.4 (#11709)

11 years agomake sure the builtin help function doesn't fail when sys.stdin is not a valid file...
Benjamin Peterson [Sun, 8 Jun 2014 03:14:26 +0000 (20:14 -0700)]
make sure the builtin help function doesn't fail when sys.stdin is not a valid file (closes #11709)

Original patch by Amaury Forgeot d'Arc with a test by bdettmer.

11 years agoadd BufferedIOBase.readinto1 (closes #20578)
Benjamin Peterson [Sun, 8 Jun 2014 03:06:48 +0000 (20:06 -0700)]
add BufferedIOBase.readinto1 (closes #20578)

Patch by Nikolaus Rath.

11 years agomerge 3.4 (#12063)
Benjamin Peterson [Sun, 8 Jun 2014 00:55:53 +0000 (17:55 -0700)]
merge 3.4 (#12063)

11 years agodocument TokenError and unclosed expression behavior (closes #12063)
Benjamin Peterson [Sun, 8 Jun 2014 00:47:41 +0000 (17:47 -0700)]
document TokenError and unclosed expression behavior (closes #12063)

Patch by Amandine Lee.

11 years agomerge 3.4 (#13223)
Benjamin Peterson [Sat, 7 Jun 2014 23:47:15 +0000 (16:47 -0700)]
merge 3.4 (#13223)

11 years agodon't remove self from example code in the HTML output (closes #13223)
Benjamin Peterson [Sat, 7 Jun 2014 23:44:00 +0000 (16:44 -0700)]
don't remove self from example code in the HTML output (closes #13223)

Patch by Víctor Terrón.

11 years agomerge 3.4 (#21463)
Benjamin Peterson [Sat, 7 Jun 2014 22:09:36 +0000 (15:09 -0700)]
merge 3.4 (#21463)

11 years agoin ftp cache pruning, avoid changing the size of a dict while iterating over it ...
Benjamin Peterson [Sat, 7 Jun 2014 22:08:04 +0000 (15:08 -0700)]
in ftp cache pruning, avoid changing the size of a dict while iterating over it (closes #21463)

Patch by Skyler Leigh Amador.

11 years agomerge 3.4 (#10503)
Benjamin Peterson [Sat, 7 Jun 2014 20:51:51 +0000 (13:51 -0700)]
merge 3.4 (#10503)

11 years agospecify that getuid() returns the real uid (closes #10503)
Benjamin Peterson [Sat, 7 Jun 2014 20:50:34 +0000 (13:50 -0700)]
specify that getuid() returns the real uid (closes #10503)

Patch by εσχατοκυριος.

11 years agomerge 3.4 (#21404)
Benjamin Peterson [Sat, 7 Jun 2014 19:48:09 +0000 (12:48 -0700)]
merge 3.4 (#21404)

11 years agodocument the compress_level argument to tarfile.open (closes #21404)
Benjamin Peterson [Sat, 7 Jun 2014 19:45:37 +0000 (12:45 -0700)]
document the compress_level argument to tarfile.open (closes #21404)

Patch by Katherine Busch.

11 years agomerge 3.4 (#21642)
Benjamin Peterson [Sat, 7 Jun 2014 19:39:51 +0000 (12:39 -0700)]
merge 3.4 (#21642)

11 years agoallow the keyword else immediately after (no space) an integer (closes #21642)
Benjamin Peterson [Sat, 7 Jun 2014 19:36:39 +0000 (12:36 -0700)]
allow the keyword else immediately after (no space) an integer (closes #21642)

11 years agoMerge issue #21569 from 3.4
Nick Coghlan [Sat, 7 Jun 2014 14:00:13 +0000 (00:00 +1000)]
Merge issue #21569 from 3.4

11 years agoIssue #21569: sync Python 2.7 What's New with 2.7 version
Nick Coghlan [Sat, 7 Jun 2014 13:43:00 +0000 (23:43 +1000)]
Issue #21569: sync Python 2.7 What's New with 2.7 version

11 years agoMerge issue #21667 from 3.4
Nick Coghlan [Sat, 7 Jun 2014 13:22:06 +0000 (23:22 +1000)]
Merge issue #21667 from 3.4

11 years agoIssue #21667: Clarify string data model description
Nick Coghlan [Sat, 7 Jun 2014 13:21:14 +0000 (23:21 +1000)]
Issue #21667: Clarify string data model description

11 years agoMerge with 3.4
Terry Jan Reedy [Sat, 7 Jun 2014 08:28:16 +0000 (04:28 -0400)]
Merge with 3.4

11 years agoIssue #21682: Replace EditorWindow with mock to eliminate memory leaks.
Terry Jan Reedy [Sat, 7 Jun 2014 08:27:50 +0000 (04:27 -0400)]
Issue #21682: Replace EditorWindow with mock to eliminate memory leaks.
Patch by Saimadhav Heblikar.

11 years agoMerge with 3.4
Terry Jan Reedy [Fri, 6 Jun 2014 21:43:37 +0000 (17:43 -0400)]
Merge with 3.4

11 years agoIssue #18910: test_textView - since all tests require 'gui', make root global.
Terry Jan Reedy [Fri, 6 Jun 2014 21:43:19 +0000 (17:43 -0400)]
Issue #18910: test_textView - since all tests require 'gui', make root global.
Subclass TextViewer to add mock methods instead of monkey-patching it.

11 years agoMerge quote quashing.
Zachary Ware [Fri, 6 Jun 2014 14:14:33 +0000 (09:14 -0500)]
Merge quote quashing.

11 years agoQuash extraneous quote.
Zachary Ware [Fri, 6 Jun 2014 14:13:18 +0000 (09:13 -0500)]
Quash extraneous quote.

11 years agoIssue #21671: Merge with 3.4
Zachary Ware [Fri, 6 Jun 2014 06:27:34 +0000 (01:27 -0500)]
Issue #21671: Merge with 3.4

11 years agoIssue #21671, CVE-2014-0224: Update the Windows build to openssl-1.0.1h
Zachary Ware [Fri, 6 Jun 2014 06:23:53 +0000 (01:23 -0500)]
Issue #21671, CVE-2014-0224: Update the Windows build to openssl-1.0.1h

11 years agoMerge #21662: fix typo, improve sentence flow
R David Murray [Thu, 5 Jun 2014 19:32:34 +0000 (15:32 -0400)]
Merge #21662: fix typo, improve sentence flow

11 years ago#21662: fix typo, improve sentence flow
R David Murray [Thu, 5 Jun 2014 19:31:56 +0000 (15:31 -0400)]
#21662: fix typo, improve sentence flow

Patch by Steve Dougherty.

11 years agoMerge: #21653: fix doc for return type of sqlite3.Row.keys().
R David Murray [Thu, 5 Jun 2014 19:17:01 +0000 (15:17 -0400)]
Merge: #21653: fix doc for return type of sqlite3.Row.keys().

11 years ago#21653: fix doc for return type of sqlite3.Row.keys().
R David Murray [Thu, 5 Jun 2014 19:16:38 +0000 (15:16 -0400)]
#21653: fix doc for return type of sqlite3.Row.keys().

11 years agoCloses #21661: Merge typo fix.
Zachary Ware [Thu, 5 Jun 2014 18:41:36 +0000 (13:41 -0500)]
Closes #21661: Merge typo fix.

11 years agoIssue #21661: Fix typo.
Zachary Ware [Thu, 5 Jun 2014 18:41:06 +0000 (13:41 -0500)]
Issue #21661: Fix typo.

11 years agoRevert Tools/buildbot/external-common.bat to normal (with updated versions).
Zachary Ware [Thu, 5 Jun 2014 17:00:51 +0000 (12:00 -0500)]
Revert Tools/buildbot/external-common.bat to normal (with updated versions).

11 years agoRevert Tools/buildbot/external-common.bat to normal (with updated versions).
Zachary Ware [Thu, 5 Jun 2014 17:00:28 +0000 (12:00 -0500)]
Revert Tools/buildbot/external-common.bat to normal (with updated versions).

11 years agoForce a clean pull-and-build of Tcl/Tk on Windows buildbots.
Zachary Ware [Thu, 5 Jun 2014 16:56:58 +0000 (11:56 -0500)]
Force a clean pull-and-build of Tcl/Tk on Windows buildbots.

11 years agoForce a clean pull-and-build of Tcl/Tk on Windows buildbots.
Zachary Ware [Thu, 5 Jun 2014 16:56:36 +0000 (11:56 -0500)]
Force a clean pull-and-build of Tcl/Tk on Windows buildbots.

11 years agoIssue #21665: Don't use 'OPTS=noxp' when compiling Tk.
Zachary Ware [Thu, 5 Jun 2014 16:53:44 +0000 (11:53 -0500)]
Issue #21665: Don't use 'OPTS=noxp' when compiling Tk.

That option had been for Win2k compatibility (which was dropped with
Python 3.3) and makes default ttk ugly on post-Win2k systems.

11 years agoClean up Tcl/Tk building in the Windows buildbot scripts.
Zachary Ware [Thu, 5 Jun 2014 16:44:22 +0000 (11:44 -0500)]
Clean up Tcl/Tk building in the Windows buildbot scripts.

- Nix the 'noxp' option, it was for Win2k compatibility (which was dropped
  with Python 3.3) and made default ttk ugly on post-Win2k systems (#21665)
- Use 'OPTS=symbols' instead of 'DEBUG=1'; symbols is the official method
- Use core, shell, dlls, install-binaries, and install-libraries targets
  instead of all and install to avoid trying to 1) build packages that don't
  work with MSVC 10+ and 2) install unnecessary bits and pieces.

11 years agoIssue #21515: tempfile.TemporaryFile now uses os.O_TMPFILE flag is available
Victor Stinner [Thu, 5 Jun 2014 12:27:45 +0000 (14:27 +0200)]
Issue #21515: tempfile.TemporaryFile now uses os.O_TMPFILE flag is available

11 years ago(Merge 3.4) Tulip issue 83, Python issue #21252: Fill some XXX docstrings in asyncio
Victor Stinner [Thu, 5 Jun 2014 10:07:14 +0000 (12:07 +0200)]
(Merge 3.4) Tulip issue 83, Python issue #21252: Fill some XXX docstrings in asyncio

11 years agoTulip issue 83, Python issue #21252: Fill some XXX docstrings in asyncio
Victor Stinner [Thu, 5 Jun 2014 10:06:44 +0000 (12:06 +0200)]
Tulip issue 83, Python issue #21252: Fill some XXX docstrings in asyncio

11 years agoCloses #21663: Merged fix from 3.4.
Vinay Sajip [Thu, 5 Jun 2014 08:32:24 +0000 (09:32 +0100)]
Closes #21663: Merged fix from 3.4.

11 years agoIssue #21663: Fixed error caused by trying to create an existing directory.
Vinay Sajip [Thu, 5 Jun 2014 08:31:20 +0000 (09:31 +0100)]
Issue #21663: Fixed error caused by trying to create an existing directory.

11 years agoMerge with 3.4
Terry Jan Reedy [Thu, 5 Jun 2014 07:54:21 +0000 (03:54 -0400)]
Merge with 3.4

11 years agowhitespace
Terry Jan Reedy [Thu, 5 Jun 2014 07:54:02 +0000 (03:54 -0400)]
whitespace

11 years agoMerge heads from 3.4.
Terry Jan Reedy [Thu, 5 Jun 2014 07:45:08 +0000 (03:45 -0400)]
Merge heads from 3.4.

11 years agoIssue #18910: Add unittest for textView. Patch by Phil Webster.
Terry Jan Reedy [Thu, 5 Jun 2014 07:38:34 +0000 (03:38 -0400)]
Issue #18910: Add unittest for textView. Patch by Phil Webster.

11 years agoMerge with 3.4
Terry Jan Reedy [Thu, 5 Jun 2014 01:20:54 +0000 (21:20 -0400)]
Merge with 3.4

11 years agoMerge heads.
Terry Jan Reedy [Thu, 5 Jun 2014 01:02:48 +0000 (21:02 -0400)]
Merge heads.

11 years agoMerge heads.
Terry Jan Reedy [Thu, 5 Jun 2014 01:01:08 +0000 (21:01 -0400)]
Merge heads.

11 years agomerge from 3.4
Terry Jan Reedy [Thu, 5 Jun 2014 00:54:43 +0000 (20:54 -0400)]
merge from 3.4

11 years agoIssue #18292: Idle - test AutoExpand. Patch by Saihadhav Heblikar.
Terry Jan Reedy [Thu, 5 Jun 2014 00:50:59 +0000 (20:50 -0400)]
Issue #18292: Idle - test AutoExpand. Patch by Saihadhav Heblikar.

11 years agoReplace deprecated time.clock() with time.time(). Fixes issue #20475.
Guido van Rossum [Wed, 4 Jun 2014 18:45:05 +0000 (11:45 -0700)]
Replace deprecated time.clock() with time.time(). Fixes issue #20475.

11 years agoDon't chmod() if path is a symlink.
Barry Warsaw [Wed, 4 Jun 2014 18:13:13 +0000 (14:13 -0400)]
Don't chmod() if path is a symlink.

11 years agoDon't chmod() if path is a symlink.
Barry Warsaw [Wed, 4 Jun 2014 18:11:46 +0000 (14:11 -0400)]
Don't chmod() if path is a symlink.

11 years agoMerge with 3.4
Terry Jan Reedy [Wed, 4 Jun 2014 00:57:15 +0000 (20:57 -0400)]
Merge with 3.4

11 years agoIssue #18409: Idle: add unittest for AutoComplete. Patch by Phil Webster.
Terry Jan Reedy [Wed, 4 Jun 2014 00:54:21 +0000 (20:54 -0400)]
Issue #18409: Idle: add unittest for AutoComplete. Patch by Phil Webster.

11 years agoIssue #21326: Add asyncio.BaseEventLoop.is_closed() method
Victor Stinner [Tue, 3 Jun 2014 23:06:24 +0000 (01:06 +0200)]
Issue #21326: Add asyncio.BaseEventLoop.is_closed() method

Add BaseEventLoop._closed attribute and use it to check if the event loop was
closed or not, instead of checking different attributes in each subclass of
BaseEventLoop.

run_forever() and run_until_complete() now raises a RuntimeError('Event loop is
closed') exception if the event loop was closed.

BaseProactorEventLoop.close() now also cancels "accept futures".

11 years ago(Merge 3.4) Fix asyncio tests on Windows: wait for the subprocess exit
Victor Stinner [Tue, 3 Jun 2014 22:42:17 +0000 (00:42 +0200)]
(Merge 3.4) Fix asyncio tests on Windows: wait for the subprocess exit

Before, regrtest failed to remove the temporary test directory because the
process was still running in this directory.

11 years agoFix asyncio tests on Windows: wait for the subprocess exit
Victor Stinner [Tue, 3 Jun 2014 22:42:04 +0000 (00:42 +0200)]
Fix asyncio tests on Windows: wait for the subprocess exit

Before, regrtest failed to remove the temporary test directory because the
process was still running in this directory.

11 years ago(Merge 3.4) Issue #21651: Fix ResourceWarning when running asyncio tests on
Victor Stinner [Tue, 3 Jun 2014 22:23:43 +0000 (00:23 +0200)]
(Merge 3.4) Issue #21651: Fix ResourceWarning when running asyncio tests on
Windows. Patch written by Claudiu Popa.

11 years agoIssue #21651: Fix ResourceWarning when running asyncio tests on Windows.
Victor Stinner [Tue, 3 Jun 2014 22:23:26 +0000 (00:23 +0200)]
Issue #21651: Fix ResourceWarning when running asyncio tests on Windows.
Patch written by Claudiu Popa.

11 years ago(Merge 3.4) cleanup test_asyncio/test_base_events.py: cm variable was unused
Victor Stinner [Tue, 3 Jun 2014 22:19:21 +0000 (00:19 +0200)]
(Merge 3.4) cleanup test_asyncio/test_base_events.py: cm variable was unused

11 years agocleanup test_asyncio/test_base_events.py: cm variable was unused
Victor Stinner [Tue, 3 Jun 2014 22:18:41 +0000 (00:18 +0200)]
cleanup test_asyncio/test_base_events.py: cm variable was unused

11 years agoMerge 3.4: Issue #21119, fix ResourceWarning in asyncio
Victor Stinner [Tue, 3 Jun 2014 22:13:31 +0000 (00:13 +0200)]
Merge 3.4: Issue #21119, fix ResourceWarning in asyncio

* Make sure that socketpair() close sockets on error. Close the listening
  socket if sock.bind() raises an exception.
* asyncio now closes sockets on errors. Fix ResourceWarning:
  create_connection(), create_datagram_endpoint() and create_unix_server()
  methods of event loop now close the newly created socket on error.

11 years agoIssue #21119: asyncio: Make sure that socketpair() close sockets on error
Victor Stinner [Tue, 3 Jun 2014 22:12:28 +0000 (00:12 +0200)]
Issue #21119: asyncio: Make sure that socketpair() close sockets on error

Close the listening socket if sock.bind() raises an exception.

11 years agoIssue #21119: asyncio now closes sockets on errors
Victor Stinner [Tue, 3 Jun 2014 22:11:52 +0000 (00:11 +0200)]
Issue #21119: asyncio now closes sockets on errors

Fix ResourceWarning: create_connection(), create_datagram_endpoint() and
create_unix_server() methods of event loop now close the newly created socket
on error.

11 years agoAll modern compilers provide a offsetof() function
Victor Stinner [Tue, 3 Jun 2014 16:45:05 +0000 (18:45 +0200)]
All modern compilers provide a offsetof() function

offsetof() is used directly in many other .c files without any issue.

11 years agoCloses #21643: Merged fix from 3.4.
Vinay Sajip [Tue, 3 Jun 2014 15:48:39 +0000 (16:48 +0100)]
Closes #21643: Merged fix from 3.4.

11 years agoIssue #21643: Updated test and fixed logic bug in lib64 symlink creation.
Vinay Sajip [Tue, 3 Jun 2014 15:47:51 +0000 (16:47 +0100)]
Issue #21643: Updated test and fixed logic bug in lib64 symlink creation.

11 years agoIssue #21439: Merge with 3.4
Zachary Ware [Tue, 3 Jun 2014 14:34:39 +0000 (09:34 -0500)]
Issue #21439: Merge with 3.4

11 years agoIssue #21439: Fix a couple of typos.
Zachary Ware [Tue, 3 Jun 2014 14:32:40 +0000 (09:32 -0500)]
Issue #21439: Fix a couple of typos.

11 years agomerge from 3.4
Senthil Kumaran [Tue, 3 Jun 2014 14:25:40 +0000 (07:25 -0700)]
merge from 3.4

Fix issue #21641: Close the socket before raising the SMTPResponseException. Fixes the ResourceWarning in the test run.
Patch by Claudiu.Popa.

11 years agoFix issue #21641: Close the socket before raising the SMTPResponseException. Fixes...
Senthil Kumaran [Tue, 3 Jun 2014 14:24:54 +0000 (07:24 -0700)]
Fix issue #21641: Close the socket before raising the SMTPResponseException. Fixes the ResourceWarning in the test run.

Patch by Claudiu.Popa.

11 years agomerge from 3.4
Senthil Kumaran [Tue, 3 Jun 2014 06:00:43 +0000 (23:00 -0700)]
merge from 3.4

Update references to Python docs in the sidebar index.
Patch contributed by Auke Willem Oosterhoff.

11 years agoUpdate references to Python docs in the sidebar index.
Senthil Kumaran [Tue, 3 Jun 2014 05:58:13 +0000 (22:58 -0700)]
Update references to Python docs in the sidebar index.
Patch contributed by Auke Willem Oosterhoff.

11 years agoMerge with 3.4
Terry Jan Reedy [Tue, 3 Jun 2014 00:43:13 +0000 (20:43 -0400)]
Merge with 3.4

11 years agoIssue 21533: Dicts take iterables, not iterators. Patch by Wolfgang Maier.
Terry Jan Reedy [Tue, 3 Jun 2014 00:42:56 +0000 (20:42 -0400)]
Issue 21533: Dicts take iterables, not iterators. Patch by Wolfgang Maier.

11 years ago(Merge 3.4) Issue #21601: Document asyncio.Task.cancel(). Initial patch written
Victor Stinner [Mon, 2 Jun 2014 21:08:52 +0000 (23:08 +0200)]
(Merge 3.4) Issue #21601: Document asyncio.Task.cancel(). Initial patch written
by Vajrasky Kok.

11 years agoIssue #21601: Document asyncio.Task.cancel(). Initial patch written by Vajrasky
Victor Stinner [Mon, 2 Jun 2014 21:06:46 +0000 (23:06 +0200)]
Issue #21601: Document asyncio.Task.cancel(). Initial patch written by Vajrasky
Kok.

11 years agoIssue #18492: Merge with 3.4
Zachary Ware [Mon, 2 Jun 2014 21:04:25 +0000 (16:04 -0500)]
Issue #18492: Merge with 3.4

11 years agoIssue #18492: Allow all resources when tests are not run by regrtest.py.
Zachary Ware [Mon, 2 Jun 2014 21:01:29 +0000 (16:01 -0500)]
Issue #18492: Allow all resources when tests are not run by regrtest.py.

This changeset also includes cleanup allowed by this behavior change.

11 years agoIssue #21233: Revert bytearray(int) optimization using calloc()
Victor Stinner [Mon, 2 Jun 2014 20:22:42 +0000 (22:22 +0200)]
Issue #21233: Revert bytearray(int) optimization using calloc()