Martin Panter
b362f75f6e
Issue #25523 : Correct "a" article to "an" article
...
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
to fix the grammar.
2015-11-02 03:37:02 +00:00
Serhiy Storchaka
9b2e37f688
Marked keystrokes with the :kbd: role.
...
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:47:12 +03:00
Victor Stinner
62b109ddc5
Issue #23458 : Remove test_os.test_urandom_fd_non_inheritable()
...
os.urandom() only tries to make the os.random() file descriptor non
inheritable, but there is no guarantee. The test fails on too many operating
systems: Windows, OS X 10.5, OpenIndiana.
This issue is correctly fixed in Python 3.4 with the PEP 446. Upgrade to Python
3.4 is you need stronger guarantees.
2015-04-06 23:39:47 +02:00
Ned Deily
9e52735d22
Issue #23458 : Skip test_urandom_fd_non_inheritable on OS X 10.4 since
...
FD_CLOEXEC is not supported there.
2015-03-17 15:18:07 -07:00
Ned Deily
596b751f97
Issue #22585 , #23115 : make URandomFDTests test case actually run
2015-03-17 04:34:46 -07:00
Victor Stinner
ebcbbfb9a2
Issue #23458 : skip test_os.test_urandom_fd_non_inheritable() on Windows
2015-02-24 15:12:57 +01:00
Victor Stinner
e0a0bd6eaa
Issue #23458 : On POSIX, the file descriptor kept open by os.urandom() is now
...
set to non inheritable
2015-02-24 14:30:43 +01:00
Benjamin Peterson
27c269a1fe
use getentropy when available (backport of 75ede5bec8db) ( closes #23115 )
2014-12-26 11:09:00 -06:00
Zachary Ware
b06231a9c9
Issue #19572 : Replace a return that shouldn't have been removed from test_os.
...
This should fix the test_os failure on the AMD64 Windows 7 buildbot.
2013-12-10 16:06:46 -06:00
Zachary Ware
1f70221b86
Issue #19572 : More silently skipped tests explicitly skipped.
2013-12-10 14:09:20 -06:00
Serhiy Storchaka
d412b495da
Fix test_os (issue #18702 ).
2013-11-03 23:25:42 +02:00
Serhiy Storchaka
32e23e739f
Issue #18702 : All skipped tests now reported as skipped.
2013-11-03 23:15:46 +02:00
Antoine Pitrou
e758715144
Issue #18756 : make test_urandom_failure more robust by executing its code in a subprocess
2013-08-24 20:52:27 +02:00
Antoine Pitrou
326ec048bf
test_execvpe_with_bad_arglist shouldn't be in URandomTests
2013-08-16 20:56:12 +02:00
Antoine Pitrou
f48a67b317
Issue #18756 : Improve error reporting in os.urandom() when the failure is due to something else than /dev/urandom not existing.
2013-08-16 20:44:38 +02:00
Andrew Svetlov
4bb142b1b7
Issue #16714 : use 'raise' exceptions, don't 'throw'.
...
Patch by Serhiy Storchaka.
2012-12-18 21:27:37 +02:00
Antoine Pitrou
341016e8bf
Fix sporadic test_os failure under Windows
2012-02-22 22:16:25 +01:00
Antoine Pitrou
0607f731f2
Fix flaky os.urandom test.
2012-02-21 22:02:04 +01:00
Benjamin Peterson
72949bd511
this was supposed to die
2012-02-20 22:33:33 -05:00
Benjamin Peterson
aee9dfba4a
merge 2.6 with hash randomization fix
2012-02-20 21:44:56 -05:00
Barry Warsaw
1e13eb084f
- Issue #13703 : oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
...
environment variable, to provide an opt-in way to protect against denial of
service attacks due to hash collisions within the dict and set types. Patch
by David Malcolm, based on work by Victor Stinner.
2012-02-20 20:42:21 -05:00
Charles-François Natali
27bc4d07cc
Issue #13415 : Skip test_os.test_unset_error on FreeBSD and OS X.
2011-11-27 13:05:14 +01:00
Victor Stinner
091b6ef793
Issue #13436 : Fix unsetenv() test on Windows
2011-11-22 22:30:19 +01:00
Victor Stinner
53853c3fa9
Issue #13415 : os.unsetenv() doesn't ignore errors anymore.
2011-11-22 22:20:13 +01:00
Ezio Melotti
24b07bcba3
#11515 : fix several typos. Patch by Piotr Kasprzyk.
2011-03-15 18:55:01 +02:00