Victor Stinner
cc996b5789
asyncio, tulip issue 190: Process.communicate() must ignore BrokenPipeError
...
If you want to handle the BrokenPipeError, you can easily reimplement
communicate().
Add also a unit test to ensure that stdin.write() + stdin.drain() raises
BrokenPipeError.
2014-07-17 12:25:27 +02:00
Serhiy Storchaka
2c6a3aedeb
Issue 21044: tarfile.open() now handles fileobj with an integer 'name'
...
attribute. Based on patch by Martin Panter.
2014-07-16 23:58:58 +03:00
Zachary Ware
2b0a610297
Issue #21918 : Convert test_tools.py to a sub-package of test.
2014-07-16 14:26:09 -05:00
Victor Stinner
accef5ce36
asyncio: test_as_completed(): disable "slow callback" warning
2014-07-16 18:54:13 +02:00
Victor Stinner
e931f7b768
Issue #21163 : Fix "destroy pending task" warning in test_wait_errors()
2014-07-16 18:50:39 +02:00
Victor Stinner
f03b3c7564
Issue #21163 , asyncio: Ignore "destroy pending task" warnings for private tasks
...
in gather().
2014-07-16 18:36:24 +02:00
Victor Stinner
1314f06293
asyncio: test_selector_events: remove duplicate call to _on_handshake() method
...
The _SelectorSslTransport constructor already calls it.
2014-07-16 18:02:10 +02:00
Tal Einat
9b7f9e6c5a
Issue #21765 : Add support for non-ascii identifiers to HyperParser
2014-07-16 16:33:36 +03:00
Terry Jan Reedy
cfa8950aab
Issue #21982 : Add minimal unittest for configDialog with 46% coverage.
...
Fix regression that this test would have caught.
2014-07-14 23:07:32 -04:00
Victor Stinner
1cae9ec966
asyncio tests: make quiet the logs of SSL handshake failures when running tests
...
in debug mode
2014-07-14 22:26:34 +02:00
Victor Stinner
acdb782a83
asyncio: sync with Tulip
...
* Tulip issue #184 : Log subprocess events in debug mode
- Log stdin, stdout and stderr transports and protocols
- Log process identifier (pid)
- Log connection of pipes
- Log process exit
- Log Process.communicate() tasks: feed stdin, read stdout and stderr
- Add __repr__() method to many classes related to subprocesses
* Add BaseSubprocessTransport._pid attribute. Store the pid so it is still
accessible after the process exited. It's more convinient for debug.
* create_connection(): add the socket in the "connected to" debug log
* Clean up some docstrings and comments. Remove unused unimplemented
_read_from_self().
2014-07-14 18:33:40 +02:00
Terry Jan Reedy
5283c4e108
Issue #18592 : Method return signature changes made to SearchDialogBase for
...
test purposes are now reflected in GrepDialog and ReplaceDialog. Docstrings
are improved. Initial patch by Saimadhav Heblikar
2014-07-13 17:27:26 -04:00
Ned Deily
5d0d2e6ed6
Issue #21323 : Fix http.server to again handle scripts in CGI subdirectories,
...
broken by the fix for security issue #19435 . Patch by Zach Byrne.
2014-07-12 22:16:56 -07:00
Ned Deily
217f4cd7ee
Issue #21323 : Fix http.server to again handle scripts in CGI subdirectories,
...
broken by the fix for security issue #19435 . Patch by Zach Byrne.
2014-07-12 22:12:39 -07:00
Ned Deily
915a30fb0d
Issue #21323 : Fix http.server to again handle scripts in CGI subdirectories,
...
broken by the fix for security issue #19435 . Patch by Zach Byrne.
2014-07-12 22:06:26 -07:00
Berker Peksag
ad5ffd4767
Issue #19076 : Don't pass the redundant 'file' argument to self.error().
2014-07-12 18:24:32 +03:00
Victor Stinner
e912e652f8
asyncio: sync with Tulip
...
* Tulip issue #183 : log socket events in debug mode
- Log most important socket events: socket connected, new client, connection
reset or closed by peer (EOF), etc.
- Log time elapsed in DNS resolution (getaddrinfo)
- Log pause/resume reading
- Log time of SSL handshake
- Log SSL handshake errors
- Add a __repr__() method to many classes
* Fix ProactorEventLoop() in debug mode. ProactorEventLoop._make_self_pipe()
doesn't call call_soon() directly because it checks for the current loop
which fails, because the method is called to build the event loop.
* Cleanup _ProactorReadPipeTransport constructor. Not need to set again
_read_fut attribute to None, it is already done in the base class.
2014-07-12 03:11:53 +02:00
Victor Stinner
8ebeb03740
asyncio: improve the documentation of servers
...
- Fix the documentation of Server.close(): it closes sockets
- Replace AbstractServer with Server
- Document Server.sockets attribute
2014-07-11 23:47:40 +02:00
Victor Stinner
b28dbac86d
asyncio, Tulip issue 180: Make Server attributes and methods private
...
- loop, waiters and active_count attributes are now private
- attach(), detach() and wakeup() methods are now private
The sockets attribute remains public.
2014-07-11 22:52:21 +02:00
Berker Peksag
7aee3ecd57
Issue #21906 : Make Tools/scripts/md5sum.py work in Python 3.
...
Patch by Zachary Ware.
2014-07-11 20:42:18 +03:00
Victor Stinner
770e48d017
asyncio: sync with Tulip
...
* Tulip issue #182 : Improve logs of BaseEventLoop._run_once()
- Don't log non-blocking poll
- Only log polling with a timeout if it gets events or if it timed out after
more than 1 second.
* Fix some pyflakes warnings: remove unused imports
2014-07-11 11:58:33 +02:00
Terry Jan Reedy
3740d589f7
Issue #18592 : Make unittest for SearchDialogBase work on all tk versions.
2014-07-11 00:37:14 -04:00
Terry Jan Reedy
223dd8d7d2
#21940 : Add unittest for WidgetRedirector. Initial patch by Saimadhav Heblikar.
2014-07-11 00:16:00 -04:00
Victor Stinner
737c34fa85
asyncio: sync with Tulip
...
- CoroWrapper.__del__() now reuses repr(CoroWrapper) to log the "... was never
yielded from" warning
- Improve CoroWrapper: copy also the qualified name on Python 3.4, not only on
Python 3.5+
2014-07-11 01:04:16 +02:00
Victor Stinner
c39ba7d611
asyncio: sync with Tulip
...
- repr(Task) and repr(CoroWrapper) now also includes where these objects were
created. If the coroutine is not a generator (don't use "yield from"), use
the location of the function, not the location of the coro() wrapper.
- Fix create_task(): truncate the traceback to hide the call to create_task().
2014-07-11 00:21:27 +02:00
Victor Stinner
f68bd88aa6
asyncio: sync with Tulip
...
- Issues #21936 , #21163 : Fix sporadic failures of
test_future_exception_never_retrieved()
- Handle.cancel() now clears references to callback and args
- In debug mode, repr(Handle) now contains the location where the Handle was
created.
2014-07-10 22:32:58 +02:00
Zachary Ware
eb43214427
Issue #21942 : Fixed source file viewing in pydoc's server mode on Windows.
2014-07-10 11:18:00 -05:00
Terry Jan Reedy
7cca28ffa2
Issue #21940 : add docstrings to idlelib.WidgetRedirector.
2014-07-10 01:16:49 -04:00
Berker Peksag
740c730086
Issues #21948 and #16040 : Fix typos.
2014-07-09 20:15:28 +03:00
Victor Stinner
bfff45d611
asyncion, Tulip issue 181: BaseEventLoop.create_datagram_endpoint() now waits
...
until protocol.connection_made() has been called. Document also why transport
constructors use a waiter.
2014-07-08 23:57:31 +02:00
Victor Stinner
896a25ab30
asyncio: sync with Tulip
...
- Tulip issue 185: Add a create_task() method to event loops. The create_task()
method can be overriden in custom event loop to implement their own task
class. For example, greenio and Pulsar projects use their own task class. The
create_task() method is now preferred over creating directly task using the
Task class.
- tests: fix a warning
- fix typo in the name of a test function
- Update AbstractEventLoop: add new event loop methods; update also the unit test
2014-07-08 11:29:25 +02:00
Victor Stinner
630a4f63c5
Issue #11259 : asynchat.async_chat().set_terminator() now raises a ValueError if
...
the number of received bytes is negative.
2014-07-08 00:26:36 +02:00
Victor Stinner
fd5d1b51d6
asynchat: PEP8-ify the code
2014-07-08 00:16:54 +02:00
Victor Stinner
d9e810a870
Issue #12523 : asynchat.async_chat.push() now raises a TypeError if it doesn't
...
get a bytes string
2014-07-08 00:00:30 +02:00
Berker Peksag
a90afbc7ee
Issue #21707 : Fix tests on Windows.
2014-07-07 21:29:50 +03:00
Victor Stinner
799a60ccb4
asyncio: sync with Tulip
...
Backout the "Tulip issue 181: Faster create_connection()" changeset, it was a
mistake.
2014-07-07 18:08:22 +02:00
Victor Stinner
1a870c9132
asyncio: sync with Tulip
...
- Tulip issue #181 : Faster create_connection(). Call directly
waiter.set_result() in the constructor of _ProactorBasePipeTransport and
_SelectorSocketTransport, instead of using of delaying the call with
call_soon().
- Cleanup iscoroutine()
2014-07-07 17:26:54 +02:00
Serhiy Storchaka
11116da935
Merge heads
2014-07-07 15:18:22 +03:00
Berker Peksag
0a0d1da987
Issue #21707 : Add missing kwonlyargcount argument to ModuleFinder.replace_paths_in_code().
2014-07-07 14:58:12 +03:00
Serhiy Storchaka
6f1435c939
Issue #21881 : Just omit tests for platform-specific NaN representation in test_tcl.
2014-07-07 14:57:08 +03:00
Serhiy Storchaka
344f8316fd
Issue #19593 : Use specific asserts in importlib tests.
2014-07-07 14:08:19 +03:00
Serhiy Storchaka
3bc13cc8b0
Merge heads
2014-07-07 13:46:09 +03:00
Serhiy Storchaka
667abc7d42
Issue #21881 : Be more tolerant in test_tcl to not parsable by float() NaN
...
representations (on mips and m68k platforms).
2014-07-07 13:44:33 +03:00
Antoine Pitrou
e50dafcd63
Issue #20639 : calling Path.with_suffix('') allows removing the suffix again.
...
Patch by July Tikhonov.
2014-07-06 21:37:15 -04:00
Antoine Pitrou
7084e736db
Issue #21714 : Disallow the construction of invalid paths using Path.with_name(). Original patch by Antony Lee.
2014-07-06 21:31:12 -04:00
Ned Deily
7bc5fb6916
Issue #21923 : Prevent AttributeError in distutils.sysconfig.customize_compiler
...
due to possible uninitialized _config_vars. Original patch by Alex Gaynor.
2014-07-06 16:14:33 -07:00
Victor Stinner
a9acbe82e7
Closes #21886 , #21447 : Fix a race condition in asyncio when setting the result
...
of a Future with call_soon(). Add an helper, a private method, to set the
result only if the future was not cancelled.
2014-07-05 15:29:41 +02:00
Antoine Pitrou
acc8cf2cfa
Issue #21897 : Fix a crash with the f_locals attribute with closure variables when frame.clear() has been called.
2014-07-04 20:24:13 -04:00
Zachary Ware
ad4690fcca
Issue #21151 : Fixed a segfault in the winreg module.
...
When ``None`` was passed as a ``REG_BINARY`` value to SetValueEx,
PyMem_DEL was called on an uninitialized buffer. Patch by John Ehresman.
(Also an incidental typo fix in a comment in test_winreg)
2014-07-03 10:58:06 -05:00
Raymond Hettinger
11cda47661
Fix guidance for subclassing collections.Set()
2014-07-03 00:31:30 +01:00
Victor Stinner
2dba23af71
asyncio: sync with Tulip
...
* _UnixSubprocessTransport: fix file mode of stdin. Open stdin in write mode,
not in read mode
* Examples: close the event loop at exit
* More reliable CoroWrapper.__del__. If the constructor is interrupted by
KeyboardInterrupt or the coroutine objet is destroyed lately, some the
_source_traceback attribute doesn't exist anymore.
* repr(Task): include also the future the task is waiting for
2014-07-03 00:59:00 +02:00
Terry Jan Reedy
092b3cf671
More idlelib cleanup inspired by pyflakes.
2014-07-01 21:33:31 -04:00
Zachary Ware
d9de794c23
Issue #18258 : Fix test discovery for test_codecmaps_*.
2014-07-01 19:55:04 -05:00
Terry Jan Reedy
44f09ebd0f
Delete a few unused names suggested by pyflakes.
2014-07-01 18:52:37 -04:00
Victor Stinner
1690ed397a
asyncio: Fix test_sleep_cancel(): call_later() mock has no self parameter
2014-07-01 12:38:51 +02:00
Terry Jan Reedy
8cefd08943
Issue #18592 : Refactor 2 SearchDialogBase.create_(option/other)_buttons methods
...
to remove duplication and return info for tests. Rewrite corresponding tests.
Test_create_option_buttons was not testing anything because of buggy
comparisons. Use Python subscripting to get widget options.
2014-06-30 23:52:20 -04:00
Terry Jan Reedy
525168bd74
Issue #18592 : Add unittests for SearchDialogBase. Patch by Phil Webster.
2014-06-30 20:00:03 -04:00
Terry Jan Reedy
f5ac57dc05
Issue #21882 : In turtle demos, remove module scope gui and sys calls by
...
either deleting or moving to the module's main function.
2014-06-30 16:09:24 -04:00
Victor Stinner
98b6391fd4
Issue #21163 : BaseEventLoop.run_until_complete() and test_utils.run_briefly()
...
don't log the "destroy pending task" message anymore. The log is redundant for
run_until_complete() and useless in run_briefly().
2014-06-30 14:51:04 +02:00
Victor Stinner
b75380f333
asyncio: sync with Tulip
...
- Sort imports
- Simplify/optimize iscoroutine(). Inline inspect.isgenerator(obj): replace it
with isinstance(obj, types.GeneratorType)
- CoroWrapper: check at runtime if Python has the yield-from bug #21209 . If
Python has the bug, check if CoroWrapper.send() was called by yield-from to
decide if parameters must be unpacked or not.
- Fix "Task was destroyed but it is pending!" warning in
test_task_source_traceback()
2014-06-30 14:39:11 +02:00
Berker Peksag
67ef591045
Issue #14235 : Use importlib.reload() in test_cmd.test_coverage.
2014-06-30 04:04:52 +03:00
Berker Peksag
ad324f6bcc
Issue #20753 : Skip PasswordProtectedSiteTestCase when Python is built without threads.
2014-06-29 15:54:56 +03:00
Victor Stinner
f951d28ac8
asyncio: sync with Tulip, add a new asyncio.coroutines module
2014-06-29 00:46:45 +02:00
Jesus Cea
61f32cb5b8
Closes #11279 : test_posix and lack of "id -G" support - less noise required? (Solaris)
2014-06-28 18:39:35 +02:00
Victor Stinner
09e7590801
asyncio: Fix two "Coroutine xxx was never yielded from" messages in tests
2014-06-28 01:19:11 +02:00
Victor Stinner
b9a301a348
asyncio: Fix unit tests on Windows, escape filenames in regex
2014-06-28 00:12:02 +02:00
Victor Stinner
4d4c69dc35
Issue #11453 : asyncore: emit a ResourceWarning when an unclosed file_wrapper
...
object is destroyed. The destructor now closes the file if needed. The close()
method can now be called twice: the second call does nothing.
2014-06-27 23:52:03 +02:00
Victor Stinner
252d40ef1e
Closes #21582 : Cleanup test_asyncore. Patch written by diana.
...
- Use support.captured_stderr() where appropriate
- Removes some "from test.support import xxx" import and uses support.xxx
instead.
2014-06-27 22:44:40 +02:00
Victor Stinner
80f53aa9a0
asyncio, Tulip issue 137: In debug mode, save traceback where Future, Task and
...
Handle objects are created. Pass the traceback to call_exception_handler() in
the 'source_traceback' key.
The traceback is truncated to hide internal calls in asyncio, show only the
traceback from user code.
Add tests for the new source_traceback, and a test for the 'Future/Task
exception was never retrieved' log.
2014-06-27 13:52:20 +02:00
Victor Stinner
bbd96c6f47
asyncio, Tulip issue 137: In debug mode, add the traceback where the coroutine
...
object was created to the "coroutine ... was never yield from" log
2014-06-27 12:28:41 +02:00
Victor Stinner
c4cca45baf
asyncio: Oops, restore a removed test
2014-06-27 12:23:41 +02:00
Ned Deily
5c867018f0
Issue #21875 : Remove vestigial references to Classic Mac OS in os module docs.
2014-06-26 23:40:06 -07:00
Zachary Ware
7180c793c4
Issue #21829 : Fix running test_ctypes on Windows with -O or -OO
2014-06-26 15:20:44 -05:00
R David Murray
c6772c4d59
#21476 : Unwrap fp in BytesParser so the file isn't unexpectedly closed.
...
This makes the behavior match that of Parser. Patch by Vajrasky Kok.
2014-06-26 13:31:43 -04:00
Terry Jan Reedy
ede05736cf
Issue #18592 : For idlelib.SearchDialogBase, edit and add docstrings,
...
move two functions next to the functions that use them.
2014-06-26 01:40:51 -04:00
Victor Stinner
17b53f1301
asyncio: Handle error handler: enhance formatting of the callback
2014-06-26 01:35:45 +02:00
Victor Stinner
72502c12a7
Issue #21163 : Fix one more "Task was destroyed but it is pending!" log in tests
2014-06-25 23:57:50 +02:00
Victor Stinner
7ba4061098
asyncio: sync with Tulip
...
- Python issue 21163: Fix more "Task was destroyed but it is pending!" logs in
tests
- Add test to check that run_until_complete() checks the loop of the future
2014-06-25 23:32:25 +02:00
Victor Stinner
87f16f892c
Issue #21163 , asyncio: Fix some "Task was destroyed but it is pending!" logs in tests
2014-06-25 23:11:21 +02:00
Ned Deily
04cdfa1147
Issue #21811 : Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.
2014-06-25 13:36:14 -07:00
Victor Stinner
975735f729
asyncio, Tulip issue 177: Rewite repr() of Future, Task, Handle and TimerHandle
...
- Uniformize repr() output to format "<Class ...>"
- On Python 3.5+, repr(Task) uses the qualified name instead of the short name
of the coroutine
2014-06-25 21:41:58 +02:00
Serhiy Storchaka
65c623de74
Issue #21729 : Used the "with" statement in the dbm.dumb module to ensure
...
files closing. Patch by Claudiu Popa.
2014-06-25 20:35:31 +03:00
Senthil Kumaran
601d6ec693
issue20753 - robotparser tests should not rely upon external resource when not required.
...
Specifically, it was relying a URL which gave HTTP 403 and used it to assert
it's methods, this changes undoes that and provides a local http server with
similar properties.
Patch contributed by Vajrasky Kok.
2014-06-25 02:58:15 -07:00
Senthil Kumaran
99597c4d12
Correct the quopri module documentation. Mention the correct types of the
...
parameters on encodestring and decodestring.
Patch by Petri Lehtinen.
2014-06-25 01:12:03 -07:00
Raymond Hettinger
97d3555029
Issue #19145 : Fix handling of negative values for a "times" keyword argument to itertools.repeat()>
...
(Patch contributed by Vajrasky Kok.)
2014-06-24 21:36:58 -07:00
Terry Jan Reedy
c5a72e6971
Issue #14117 : Inprove help text and docstrings, some for clarity, some just to
...
fit in the default width of the text window (45 chars).
2014-06-24 22:21:41 -04:00
Raymond Hettinger
bc000509e8
Issue 21832: Require named tuple inputs to be exact strings
2014-06-24 15:20:55 -07:00
Victor Stinner
df29c4a83d
asyncio: repr(Task) now also contains the line number even if the coroutine is
...
done: use the first line number of the code object instead of the current line
number of the generator frame.
The name of the coroutine is not enough because many coroutines may have the
same name. It's a common case in asyncio tests for example.
2014-06-24 22:57:14 +02:00
R David Murray
14199f9392
#20155 : use fake HTTP method names so windows doesn't hang the tests.
...
Windows was seeing the 'GET' generated by these tests as invalid and forcibly
closing the socket, causing the test to fail.
Patch by Jeff Allen.
2014-06-24 16:39:49 -04:00
Victor Stinner
a02f81ff17
asyncio: Log an error if a Task is destroyed while it is still pending
2014-06-24 22:37:53 +02:00
Yury Selivanov
c0f964fd55
inspect: Validate that __signature__ is None or an instance of Signature.
...
Closes #21801 .
2014-06-23 10:21:04 -07:00
Victor Stinner
751c7c0f2d
asyncio: Fix BaseEventLoop._assert_is_current_event_loop(): get_event_loop()
...
raises an exception if there is no current loop
2014-06-23 15:14:13 +02:00
Raymond Hettinger
1c99bc84bd
Issue #8343 : Named group error msgs did not show the group name.
2014-06-22 19:47:22 -07:00
Victor Stinner
f328c7dc69
asyncio, Tulip issue 171: BaseEventLoop.close() now raises an exception if the
...
event loop is running. You must first stop the event loop and then wait until
it stopped, before closing it.
2014-06-23 01:02:37 +02:00
Victor Stinner
1580fe3fce
asyncio, Tulip issue 172: only log selector timing in debug mode
2014-06-23 00:31:08 +02:00
Victor Stinner
c082ee692b
asyncio: Add an unit test to check that setting the PYTHONASYNCIODEBUG env var
...
enables debug mode of the event loop.
2014-06-23 00:19:33 +02:00
Victor Stinner
7b7120e159
asyncio: Enable the debug mode of event loops when the PYTHONASYNCIODEBUG
...
environment variable is set
2014-06-23 00:12:14 +02:00
Victor Stinner
d6de5d8455
asyncio: BaseEventLoop._assert_is_current_event_loop() now only raises an
...
exception if the current loop is not None.
Guido van Rossum wrote:
"The behavior that you can set the loop to None (and keep track of it
explicitly) is part of the spec, and this should still be supported even in
debug mode. The behavior that we raise an error if you are caught having
multiple active loops per thread is just a debugging heuristic, and it
shouldn't break code that follows the spec."
2014-06-23 00:03:43 +02:00
Raymond Hettinger
6dec4eae53
Issue #21812 : Trigger immediate transformation in turtle.shapetransform().
2014-06-22 01:21:51 -07:00
Terry Jan Reedy
f51531e257
Issue #21823 : Catch turtle.Terminator exceptions in turtledemo.
...
Add note to demohelp.txt about doing so.
2014-06-22 01:18:54 -04:00
Raymond Hettinger
fabefc3c5b
Issue 21635: Fix caching in difflib.SequenceMatcher.get_matching_blocks().
2014-06-21 11:57:36 -07:00
Charles-François Natali
8aa9e4268f
Merge.
2014-06-20 22:59:32 +01:00
Charles-François Natali
57398c31c4
Fix test_pydoc failure introduced by 7aa72075d440. Patch by Berker Peksag.
2014-06-20 22:59:12 +01:00
Terry Jan Reedy
5d82895c5e
Issue #21770 : Call function instead of module. Patch by Claudiu Popa.
2014-06-20 17:49:10 -04:00
Charles-François Natali
504f5c36ef
Issue #21491 : socketserver: Fix a race condition in child processes reaping.
2014-06-20 22:37:35 +01:00
Terry Jan Reedy
af9eb9628d
Issue #21768 : fix NameError in test_pydescr. Patch by Claudiu Popa.
2014-06-20 15:16:35 -04:00
Terry Jan Reedy
fe928de955
Issue #21768 : fix type in test_pydoc, patch by Claudiu Popa.
2014-06-20 14:59:11 -04:00
Victor Stinner
0e6f52a211
asyncio, Tulip issue 105: in debug mode, log callbacks taking more than 100 ms
...
to be executed.
2014-06-20 17:34:15 +02:00
Victor Stinner
d143209d7f
Tulip issue 83: document more asyncio functions in docstrings
2014-06-19 17:11:49 +02:00
Victor Stinner
54c4b8e5c1
Closes #21595 : asyncio.BaseSelectorEventLoop._read_from_self() now reads all
...
available bytes from the "self pipe", not only a single byte. This change
reduces the risk of having the pipe full and so getting the innocuous
"BlockingIOError: [Errno 11] Resource temporarily unavailable" message.
2014-06-19 12:59:15 +02:00
Antoine Pitrou
2e4d3b133a
Issue #21722 : The distutils "upload" command now exits with a non-zero return code when uploading fails.
...
Patch by Martin Dengler.
2014-06-18 23:07:46 -04:00
Ned Deily
845fd9aa44
Issue #3485 : remove misleading comment
2014-06-18 13:09:40 -07:00
Victor Stinner
64d750b36b
asyncio: Fix pyflakes errors
...
- Add a missing import
- Remove an unused import
- Remove unused variables
2014-06-18 03:25:23 +02:00
Victor Stinner
c73701de72
asyncio: Refactor tests: add a base TestCase class
2014-06-18 01:36:32 +02:00
Victor Stinner
d6f02fc649
asyncio: Refactor test__run_once_logging() to not rely on the exact number of
...
calls to time.monotonic(). Use a "fast select" and a "slow select" instead.
2014-06-18 01:22:15 +02:00
Victor Stinner
8d3e02ef5a
asyncio: Set __qualname__ attribute of CoroWrapper in @coroutine decorator on
...
Python 3.5
- Drop __slots__ optimization of CoroWrapper to be able to set the __qualname__
attribute.
- Add tests on __name__, __qualname__ and __module__ of a coroutine function
and coroutine object.
- Fix test_tasks when run in debug mode (PYTHONASYNCIODEBUG env var set) on
Python 3.3 or 3.4
2014-06-18 01:14:59 +02:00
Victor Stinner
66dc6b0f53
Issue #21723 : asyncio.Queue: support any type of number (ex: float) for the
...
maximum size. Patch written by Vajrasky Kok.
2014-06-17 23:36:21 +02:00
Terry Jan Reedy
14fbe72777
Issue #21694 : Add unittest for ParenMatch. Patch by Saimadhav Heblikar.
2014-06-17 16:35:20 -04:00
Benjamin Peterson
9db281662d
merge 3.3
2014-06-16 23:16:31 -07:00
Benjamin Peterson
0fd3972a3f
merge 3.2
2014-06-16 23:16:06 -07:00
Benjamin Peterson
314dc126ce
expect the correct platform-dependent linesep
2014-06-16 23:15:50 -07:00
Terry Jan Reedy
10b1c7cc8f
Issue #21686 : add unittest for idlelib.HyperParser. Original patch by Saimadhav
...
Heblikar. Correct a minor 3.x bug in HyperParser discovered by testing.
2014-06-16 19:01:01 -04:00
Victor Stinner
bc434e2052
asyncio: Task.__repr__() now also handles CoroWrapper
2014-06-17 00:26:36 +02:00
Victor Stinner
4b0432d190
Issue #21773 : Fix TestStdLib.test_pydoc() of test_enum. Patch written by
...
Claudiu Popa.
The print_diffs() function was not defined, using the assertEqual() is more
reliable.
2014-06-16 22:48:43 +02:00
Victor Stinner
4802c6ee55
Sync asyncio with Tulip: Fix test_tasks for Python 3.5
...
On Python 3.5, generator now gets their name from the function, no more from
the code. So we get the expected "notmuch" name instead of the generic "coro"
name.
2014-06-16 17:11:05 +02:00
Nick Coghlan
5b1fdc1e37
Issue #21669 : Special case print & exec syntax errors
2014-06-16 19:48:02 +10:00
Terry Jan Reedy
d0c1ea42f7
whitespace
2014-06-16 02:40:24 -04:00
Terry Jan Reedy
3e583307ab
Issue #21686 : idlelib/HyperParser.py - Update docstrings and comments and
...
replace \ line contiuation. Tested against nearly done test_hyperparser.py.
2014-06-16 02:33:35 -04:00
Benjamin Peterson
e58e0c7f33
clarify when the list of subdirectories is read ( closes #13779 )
2014-06-15 20:51:12 -07:00
Gregory P. Smith
9204e09178
fix a BytesWarning in my previous commit.
2014-06-15 20:16:01 -07:00
Gregory P. Smith
634aa68c2b
Isolate the subprocess test_close_fds_when_max_fd_is_lowered test so
...
that the rlimit calls happens in a child process rather than the
TestCase process to attempt to fix the gentoo buildbot's "Too many
open files" error.
2014-06-15 17:51:04 -07:00
Raymond Hettinger
92a4055343
Issue #21774 : Fix incorrect variable in xml.dom.minidom
2014-06-15 14:48:19 -07:00
Benjamin Peterson
a8c75fe31a
merge 3.3 ( #21766 )
2014-06-14 18:41:13 -07:00
Benjamin Peterson
6cd1954c5c
merge 3.2 ( #21766 )
2014-06-14 18:40:10 -07:00
Benjamin Peterson
73b8b1cdb8
url unquote the path before checking if it refers to a CGI script ( closes #21766 )
2014-06-14 18:36:29 -07:00
Vinay Sajip
0220048083
Issue #21742 : Set stream to None after closing.
2014-06-14 10:22:05 +01:00
Terry Jan Reedy
a40e6b0c94
Issue #21730 : Add no-thread skip in test_socket. Patch by Berker Peksag.
2014-06-13 15:20:45 -04:00
Zachary Ware
9422df0924
Issue #19493 : Refactor ctypes test package.
...
Skipped tests are now marked as skipped, formerly commented-out or
renamed-so-it-doesn't-look-like-a-test tests are uncommented, properly named,
and unconditionally skipped, some tests that simply didn't run before
are now able to run, and a few are split into multiple methods instead of
skipping via 'return' in the middle of a method. Also, a couple of unused
files are removed completely.
2014-06-13 13:44:39 -05:00
Terry Jan Reedy
bc7c96b9ea
Issue #20043 : Add direct test for _thread.
2014-06-13 14:23:43 -04:00
Vinay Sajip
194bcaf4dc
Issue #21709 : Improved implementation to cover the frozen module case.
2014-06-12 23:36:33 +01:00
Victor Stinner
307bccc6ff
asyncio: Tulip issue 173: Enhance repr(Handle) and repr(Task)
...
repr(Handle) is shorter for function: "foo" instead of "<function foo at
0x...>". It now also includes the source of the callback, filename and line
number where it was defined, if available.
repr(Task) now also includes the current position in the code, filename and
line number, if available. If the coroutine (generator) is done, the line
number is omitted and "done" is added.
2014-06-12 18:39:26 +02:00
Terry Jan Reedy
f54432e2a1
Issue #12387 : Add missing upper(lower)case versions of default Windows key
...
bindings for Idle so Caps Lock does not disable them. Patch by Roger Serwy.
2014-06-12 01:03:08 -04:00
Vinay Sajip
80f2262dcf
Issue #21709 : Remove references to __file__ when part of a frozen application.
2014-06-11 08:01:32 +01:00
Victor Stinner
db74d982d4
Issue #21596 : asyncio.wait(): mention that the sequence of futures must not
...
be empty.
2014-06-10 11:16:05 +02:00
Victor Stinner
bb2fc5b2a5
Issue #21326 : Add a new is_closed() method to asyncio.BaseEventLoop
...
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() methods now raise a RuntimeError('Event loop is
closed') exception if the event loop was closed.
BaseProactorEventLoop.close() now also cancels "accept futures".
2014-06-10 10:23:10 +02:00
Terry Jan Reedy
4762382d63
Issue #21695 : Catch AttributeError created when user closes grep output window
...
while still being written to. With no console, this closed Idle.
Also add missing import and a few other changes.
2014-06-10 02:49:35 -04:00
Serhiy Storchaka
f10063e3c3
Issue #21310 : Fixed possible resource leak in failed open().
2014-06-09 13:32:34 +03:00
Serhiy Storchaka
8a8f7f9830
Issue #21677 : Fixed chaining nonnormalized exceptions in io close() methods.
2014-06-09 09:13:04 +03:00
Terry Jan Reedy
c6a66ccb06
whitespace
2014-06-08 14:57:24 -04:00
Terry Jan Reedy
ba229d9597
Issue #21682 : Replace EditorWindow with mock to eliminate memory leaks.
...
Patch by Saimadhav Heblikar. (2 head merge)
2014-06-08 14:47:26 -04:00
Benjamin Peterson
159824ea2a
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.
2014-06-07 20:14:26 -07:00
Benjamin Peterson
ed1160b39c
don't remove self from example code in the HTML output ( closes #13223 )
...
Patch by Víctor Terrón.
2014-06-07 16:44:00 -07:00
Benjamin Peterson
3c2dca67ac
in ftp cache pruning, avoid changing the size of a dict while iterating over it ( closes #21463 )
...
Patch by Skyler Leigh Amador.
2014-06-07 15:08:04 -07:00
Benjamin Peterson
c416162302
allow the keyword else immediately after (no space) an integer ( closes #21642 )
2014-06-07 12:36:39 -07:00
Terry Jan Reedy
38ebdf528e
Issue #21682 : Replace EditorWindow with mock to eliminate memory leaks.
...
Patch by Saimadhav Heblikar.
2014-06-07 04:27:50 -04:00
Terry Jan Reedy
4a3f135c8d
Issue #18910 : test_textView - since all tests require 'gui', make root global.
...
Subclass TextViewer to add mock methods instead of monkey-patching it.
2014-06-06 17:43:19 -04:00
Victor Stinner
f9e49dd346
Tulip issue 83, Python issue #21252 : Fill some XXX docstrings in asyncio
2014-06-05 12:06:44 +02:00
Vinay Sajip
1a170a74f7
Issue #21663 : Fixed error caused by trying to create an existing directory.
2014-06-05 09:31:20 +01:00
Terry Jan Reedy
7be121f2bc
whitespace
2014-06-05 03:54:02 -04:00
Terry Jan Reedy
537e2c8632
Issue #18910 : Add unittest for textView. Patch by Phil Webster.
2014-06-05 03:38:34 -04:00
Terry Jan Reedy
0d3e4b4e1a
Merge heads.
2014-06-04 21:01:08 -04:00
Terry Jan Reedy
7936e6f755
Issue #18292 : Idle - test AutoExpand. Patch by Saihadhav Heblikar.
2014-06-04 20:50:59 -04:00
Barry Warsaw
adaddde369
Don't chmod() if path is a symlink.
2014-06-04 14:11:46 -04:00
Terry Jan Reedy
e3fcfc240d
Issue #18409 : Idle: add unittest for AutoComplete. Patch by Phil Webster.
2014-06-03 20:54:21 -04:00
Victor Stinner
3f9535b7f8
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.
2014-06-04 00:42:04 +02:00
Victor Stinner
27d411255a
Issue #21651 : Fix ResourceWarning when running asyncio tests on Windows.
...
Patch written by Claudiu Popa.
2014-06-04 00:23:26 +02:00
Victor Stinner
8551e0f3e0
cleanup test_asyncio/test_base_events.py: cm variable was unused
2014-06-04 00:18:41 +02:00
Victor Stinner
a9fa2664ab
Issue #21119 : asyncio: Make sure that socketpair() close sockets on error
...
Close the listening socket if sock.bind() raises an exception.
2014-06-04 00:12:28 +02:00
Victor Stinner
223a624158
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.
2014-06-04 00:11:52 +02:00
Vinay Sajip
b9b965f6dd
Issue #21643 : Updated test and fixed logic bug in lib64 symlink creation.
2014-06-03 16:47:51 +01:00
Senthil Kumaran
4ce118e99a
Fix issue #21641 : Close the socket before raising the SMTPResponseException. Fixes the ResourceWarning in the test run.
...
Patch by Claudiu.Popa.
2014-06-03 07:24:54 -07:00
Victor Stinner
8d21357fb5
Issue #21601 : Document asyncio.Task.cancel(). Initial patch written by Vajrasky
...
Kok.
2014-06-02 23:06:46 +02:00
Zachary Ware
66f2928479
Issue #18492 : Allow all resources when tests are not run by regrtest.py.
...
This changeset also includes cleanup allowed by this behavior change.
2014-06-02 16:01:29 -05:00
Victor Stinner
8dd49fe09f
Issue #21639 : Add a test to check that PyMem_Malloc(0) with tracemalloc enabled
...
does not crash.
2014-06-02 21:36:59 +02:00
Serhiy Storchaka
fc14ad9962
Issue #6181 : Fixed minor bugs in tkinter.Listbox methods:
...
bbox(), curselection() and get().
2014-06-02 21:31:07 +03:00
Serhiy Storchaka
ca3cd004f3
Issue #6181 : Fixed errors in tkinter.Listbox docstrings.
...
Based on patch by Guilherme Polo.
2014-06-02 16:51:44 +03:00
Victor Stinner
ec5a860e60
Issue #21636 : Fix test_logging, skip UNIX stream (AF_UNIX) tests on Windows.
...
Patch written by Claudiu Popa.
2014-06-02 14:41:51 +02:00
Victor Stinner
d4d39c761c
Issue #21634 : Fix pystone micro-benchmark: use floor division instead of true
...
division to benchmark integers instead of floating point numbers. Set pystone
version to 1.2. Patch written by Lennart Regebro.
2014-06-02 14:16:44 +02:00
Gregory P. Smith
d04f699498
Skip test_subprocess test_close_fds_when_max_fd_is_lowered on FreeBSD
...
when fdescfs is not mounted on /dev/fd.
2014-06-01 15:27:28 -07:00
Gregory P. Smith
8fed4deb44
Attempt to fix the "too many open files" errors on several of the
...
buildbots that the new test_close_fds_when_max_fd_is_lowered test causes.
It now leaves 10 more low fd's available.
2014-06-01 15:15:44 -07:00
Gregory P. Smith
ffd529cde1
Explicitly wait for the child instead of letting a destructor do it.
2014-06-01 13:46:54 -07:00
Gregory P. Smith
d4dcb70287
Don't restrict ourselves to a "max" fd when closing fds before exec()
...
when we have a way to get an actual list of all open fds from the OS.
Fixes issue #21618 : The subprocess module would ignore fds that were
inherited by the calling process and already higher than POSIX resource
limits would otherwise allow. On systems with a functioning /proc/self/fd
or /dev/fd interface the max is now ignored and all fds are closed.
2014-06-01 13:18:28 -07:00
Serhiy Storchaka
694c3153b0
Issue #21605 : Added tests for Tkinter images.
2014-06-01 12:34:56 +03:00
Serhiy Storchaka
8381f90ee0
Added missed calls of splitlist().
2014-06-01 11:21:55 +03:00
Terry Jan Reedy
078b8a81b1
Issue #21477 : Update htest docstring and remove extraneous differences between
...
2.7 and 3.4. Original patch by Saimadhav Heblikar.
2014-06-01 00:30:34 -04:00
Ned Deily
5f8784b7cc
Issue #21572 : Change license command to fallback to generic license URL.
2014-05-30 23:46:19 -07:00
Serhiy Storchaka
aecfa9ead9
Test correct getXXX methods in Tkinter bigmem tests.
...
Tk.getint is just int, true Tk wrapper is available as Tk.tk.getint.
2014-05-30 15:54:35 +03:00
Serhiy Storchaka
79851d755b
Issue #21552 : Fixed possible integer overflow of too long string lengths in
...
the tkinter module on 64-bit platforms.
2014-05-30 14:24:03 +03:00
Serhiy Storchaka
9f1f4f40e4
Add tests for getint, getdouble and getboolean methods of the tkapp object.
2014-05-30 14:07:38 +03:00
Gregory P. Smith
0af8a86be8
Fix issue #14315 : The zipfile module now ignores extra fields in the central
...
directory that are too short to be parsed instead of letting a struct.unpack
error bubble up as this "bad data" appears in many real world zip files in the
wild and is ignored by other zip tools.
2014-05-29 23:42:14 -07:00
Terry Jan Reedy
2e8234a597
Issue #21477 : Add htests for GrepDialog, UndoDelegator, and configDialog.
...
Put instructions in a fixed size scrollable Text. Patch by Saimadhav Heblikar.
2014-05-29 01:46:26 -04:00
Victor Stinner
a5b257af22
Issue #21454 : Fix asyncio.BaseEventLoop.connect_read_pipe doc
...
The function sets the the pipe to non-blocking mode.
2014-05-29 00:14:03 +02:00
Serhiy Storchaka
12c575f2f6
Restore performance of some dumb database methods (regression introduced by #19385 ).
2014-05-28 18:49:52 +03:00
Serhiy Storchaka
b49eff25b7
Issue #21402 : tkinter.ttk now works when default root window is not set.
2014-05-28 18:38:27 +03:00
Serhiy Storchaka
ffc1e6d42b
Issue #21493 : Added test for ntpath.expanduser(). Original patch by
...
Claudiu Popa.
2014-05-28 18:11:29 +03:00
Serhiy Storchaka
47a981337a
Issue #10203 : sqlite3.Row now truly supports sequence protocol. In particulr
...
it supports reverse() and negative indices. Original patch by Claudiu Popa.
2014-05-28 12:58:34 +03:00
Vinay Sajip
432810f9f3
Issue #18807 : If copying (no symlinks) specified for a venv, then the python interpreter aliases (python, python3) are now created by copying rather than symlinking.
2014-05-28 08:06:24 +01:00
Andrew Svetlov
3207a03035
Fix for raising exception not derived from BaseException in _SelectorSslTransport.resume_reading
2014-05-27 21:24:43 +03:00
Terry Jan Reedy
0a4d13e87e
Issue #21477 : Add htests for Search and Replace dialogs.
...
Patch by Saimadhav Heblikar.
2014-05-27 03:30:54 -04:00
Raymond Hettinger
dea46ec965
Issue #21481 : Teach argparse equality tests to return NotImplemented when comparing to unknown types.
2014-05-26 00:43:27 -07:00
Raymond Hettinger
dd5e53a086
Issue 8743: Improve interoperability between sets and the collections.Set abstract base class.
2014-05-26 00:09:04 -07:00
Raymond Hettinger
978c6abced
Issue 13355: Make random.triangular degrade gracefully when low == high.
2014-05-25 17:25:27 -07:00
Terry Jan Reedy
a2fc99ecea
Issue #21477 : Idle htest: modify run; add more tests.
...
Patch by Saimadhav Heblikar. 2.7 version will follow.
2014-05-25 18:44:05 -04:00
Serhiy Storchaka
7df417d50a
Issue #19925 : Added tests for the spwd module. Original patch by Vajrasky Kok.
2014-05-25 16:21:45 +03:00
Serhiy Storchaka
5bb446f57e
Issue #18918 : Removed non-existing topic from a list of available topics.
...
The 'File objects' section was removed in Python 3.
Patch by Claudiu Popa.
2014-05-25 13:04:13 +03:00
Terry Jan Reedy
1b392ffe67
Issue #21477 : Idle htest: merge and modify run and runall; add many tests.
...
Patch by Saimadhav Heblikar
2014-05-24 18:48:18 -04:00
Serhiy Storchaka
10cbb1e463
Fixed new Tkinter tests added in issue #21522 with Tk 8.4.
2014-05-23 23:58:13 +03:00
Brett Cannon
8447c703d1
Issue #14710 : Fix both pkgutil.find_loader() and get_loader() to not
...
raise an exception when a module doesn't exist.
Thanks to Pavel Aslanov for the bug report.
2014-05-23 12:30:37 -04:00
Serhiy Storchaka
065266450e
Issue #21538 : The plistlib module now supports loading of binary plist files
...
when reference or offset size is not a power of two.
2014-05-23 16:13:33 +03:00
Serhiy Storchaka
f01fffedd1
Issue #21522 : Added Tkinter tests for Listbox.itemconfigure(),
...
PanedWindow.paneconfigure(), and Menu.entryconfigure().
2014-05-23 14:08:43 +03:00
Antoine Pitrou
9961405ed1
Issue #21523 : Fix over-pessimistic computation of the stack effect of some opcodes in the compiler.
...
This also fixes a quadratic compilation time issue noticeable when compiling
code with a large number of "and" and "or" operators.
2014-05-23 11:46:03 +02:00
Victor Stinner
93668f4459
asyncio: test_base_events: use mock.Mock instead of unittest.mock.Mock to
...
simplify the synchronization with Trollius
2014-05-20 15:57:08 +02:00
Terry Jan Reedy
b7b56e9110
merge heads
2014-05-19 22:54:58 -04:00
Terry Jan Reedy
ab4fd4448a
Issue #21477 : idle htests - lower case function names, other cleanups.
2014-05-19 00:12:10 -04:00
Larry Hastings
5c26a8afbb
Version bump for 3.4.1.
2014-05-17 21:46:35 -07:00
Larry Hastings
d08aa47f93
Rebuild pydoc topics.
2014-05-17 21:45:01 -07:00
Larry Hastings
3a260d228b
Merge.
2014-05-17 21:05:10 -07:00
Donald Stufft
b1a1ec3151
Upgrade pip to 1.5.6
2014-05-16 23:02:25 -04:00
Benjamin Peterson
5eb6b39210
support pep 3118 format strings for ctypes objects with nontrivial shapes ( closes #10744 )
...
Patch by Matti Picus.
2014-05-17 14:59:12 -07:00
Terry Jan Reedy
6936159dcd
Issue #18104 : revise docstrings, remove obsolete comments.
2014-05-15 20:50:10 -04:00
Serhiy Storchaka
429b59ec69
Issue #20998 : Fixed re.fullmatch() of repeated single character pattern
...
with ignore case. Original patch by Matthew Barnett.
2014-05-14 21:48:17 +03:00
Serhiy Storchaka
946cfc3e23
Issue #21075 : fileinput.FileInput now reads bytes from standard stream if
...
binary mode is specified. Patch by Sam Kimbrel.
2014-05-14 21:08:33 +03:00
Victor Stinner
e2d66903e8
Issue #21497 : faulthandler functions now raise a better error if sys.stderr is
...
None: RuntimeError("sys.stderr is None") instead of AttributeError("'NoneType'
object has no attribute 'fileno'").
2014-05-14 17:15:50 +02:00
Victor Stinner
e1e04ad8aa
Backed out changeset 6ceedbd88b5f
2014-05-14 17:12:27 +02:00
Victor Stinner
b78c448f4b
Issue #21488 : Add support of keyword arguments for codecs.encode and codecs.decode
2014-05-14 17:10:45 +02:00
Raymond Hettinger
23042cda40
Issue #21470 : Do a better job seeding the random number generator
...
to fully cover its state space.
2014-05-13 22:13:40 -07:00
Eric Snow
2f46a0e8be
Issue #21499 : Ignore __builtins__ in several test_importlib.test_api tests.
2014-05-13 12:15:42 -06:00
Guido van Rossum
7664eb0297
Fix test-order-dependend asyncio test failure caused by rev 909ea8cc86bbab92dbb6231668f403b7360f30fa.
2014-05-13 09:19:39 -07:00
doko@ubuntu.com
15bec9cb3f
- Issue #17756 : Fix test_code test when run from the installed location.
2014-05-13 11:28:12 +02:00
Raymond Hettinger
122541bece
Issue 21469: Mitigate risk of false positives with robotparser.
...
* Repair the broken link to norobots-rfc.txt.
* HTTP response codes >= 500 treated as a failed read rather than as a not
found. Not found means that we can assume the entire site is allowed. A 5xx
server error tells us nothing.
* A successful read() or parse() updates the mtime (which is defined to be "the
time the robots.txt file was last fetched").
* The can_fetch() method returns False unless we've had a read() with a 2xx or
4xx response. This avoids false positives in the case where a user calls
can_fetch() before calling read().
* I don't see any easy way to test this patch without hitting internet
resources that might change or without use of mock objects that wouldn't
provide must reassurance.
2014-05-12 21:56:33 -07:00
Eric Snow
08197a4616
Issue #21226 : Set all attrs in PyImport_ExecCodeModuleObject.
2014-05-12 17:54:55 -06:00
Victor Stinner
0cc45baa3d
Issue #21398 : Fix an unicode error in the pydoc pager when the documentation
...
contains characters not encodable to the stdout encoding.
2014-05-13 02:05:35 +02:00
Victor Stinner
7fe1049fcb
Issue #21422 : Add a test to check that bool << int and bool >> int return an int
2014-05-12 22:35:40 +02:00
Guido van Rossum
bf88ffba5e
asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if data exceeds buffer limit.
2014-05-12 10:04:37 -07:00
Terry Jan Reedy
8386fda154
whitespace
2014-05-11 23:35:09 -04:00
Terry Jan Reedy
06313b79d5
Issue #18104 : Add idlelib/idle_test/htest.py with a few sample tests to begin
...
consolidating and improving human-validated tests of Idle. Change other files
as needed to work with htest. Running the module as __main__ runs all tests.
2014-05-11 23:32:32 -04:00
Antoine Pitrou
5e6b5f2f26
Try to fix issue #21425 workaround for shared library builds
2014-05-11 19:13:43 +02:00
Antoine Pitrou
dab4e8a02d
Fix printing out error message when test fails and run with -bb
2014-05-11 19:05:23 +02:00
Antoine Pitrou
6b4b8d0722
Try workaround for test issues in #21425
2014-05-11 16:59:16 +02:00
Antoine Pitrou
9845c7ebc5
Issue #21425 : Fix flushing of standard streams in the interactive interpreter.
2014-05-11 13:42:17 +02:00
Guido van Rossum
3d1bc608a8
asyncio: Upstream issue #167 : remove dead code, by Marc Schlaich.
2014-05-10 15:47:15 -07:00
Tim Peters
5fbc7b12f7
Issue #21435 : Segfault in gc with cyclic trash
...
Changed the iteration logic in finalize_garbage() to tolerate objects vanishing
from the list as a side effect of executing a finalizer.
2014-05-08 17:42:19 -05:00
Antoine Pitrou
c644e7c39f
Issue #21396 : Fix TextIOWrapper(..., write_through=True) to not force a flush() on the underlying binary stream.
...
Patch by akira.
2014-05-09 00:24:50 +02:00
doko@ubuntu.com
e5de66eaa7
- Issue #17752 : Fix distutils tests when run from the installed location.
2014-05-07 12:57:44 +02:00
doko@ubuntu.com
8577e5ae09
- Issue #17752 : Fix distutils tests when run from the installed location.
2014-05-07 04:44:42 +02:00
R David Murray
e25244657c
#21300 : Clean up the docs for the email "policy" arguments.
2014-05-06 21:33:18 -04:00
Guido van Rossum
3d139d8ed6
asyncio: Fix the second half of issue #21447 : race in _write_to_self().
2014-05-06 14:42:40 -07:00
Larry Hastings
95e0b0d1d0
Version bump for 3.4.1rc1.
2014-05-04 05:06:24 -07:00
Larry Hastings
9147a9697a
Issue #21088 : Bugfix for curses.window.addch() regression in 3.4.0.
...
In porting to Argument Clinic, the first two arguments were reversed.
2014-05-04 04:41:18 -07:00
Ned Deily
88b5b6ddf6
Issue #18604 : Skip the Tk instantiation test on OS X because it can
...
cause GUI tests to segfault in Cocoa Tk when run under regrtest -j
(multiple threads running subprocesses).
2014-05-03 19:24:05 -07:00