Serhiy Storchaka
70d28a184c
Remove unused imports.
2016-12-16 20:00:15 +02:00
Steve Dower
bce26262d1
Issue #28732 : Raise ValueError when argv[0] is empty
2016-11-19 19:17:26 -08:00
Steve Dower
859fd7bd7a
Issue #28732 : Raise ValueError when os.spawn*() is passed an empty tuple of arguments
2016-11-19 18:53:19 -08:00
Xavier de Gaye
21060105d9
Issue #26935 : Fix broken Android dup2() in test_os
2016-11-16 08:05:27 +01:00
Steve Dower
78057b4159
Closes #27781 : Removes special cases for the experimental aspect of PEP 529
2016-11-06 19:35:08 -08:00
Serhiy Storchaka
b6bd81dee9
Issue #28353 : Make test_os.WalkTests.test_walk_bad_dir stable.
2016-10-28 09:18:30 +03:00
Serhiy Storchaka
7865dfff2e
Issue #28353 : Make test_os.WalkTests.test_walk_bad_dir stable.
2016-10-28 09:17:38 +03:00
Serhiy Storchaka
36888dd970
Issue #28353 : Fixed tests of os.fwalk() with broken links.
2016-10-25 20:18:31 +03:00
Serhiy Storchaka
28f982060c
Issue #28353 : Try to fix tests.
2016-10-25 19:01:41 +03:00
Serhiy Storchaka
af4e4747f5
Issue #28353 : os.fwalk() no longer fails on broken links.
2016-10-25 14:34:38 +03:00
Serhiy Storchaka
42bababba6
Issue #28353 : os.fwalk() no longer fails on broken links.
2016-10-25 14:28:38 +03:00
Berker Peksag
bf3c1c3235
Issue #28075 : Fix test_access_denied in Python 3.5
...
I forgot there two variations of os.stat() in Python 3.5.
2016-09-18 13:56:29 +03:00
Berker Peksag
9a1c91a10d
Fix test_access_denied in 3.5
2016-09-17 16:20:55 +03:00
Berker Peksag
052e4f18c4
Issue #28075 : Merge from 3.5
2016-09-17 15:51:14 +03:00
Berker Peksag
0b4dc4846b
Issue #28075 : Check for ERROR_ACCESS_DENIED in Windows implementation of os.stat()
...
Patch by Eryk Sun.
2016-09-17 15:49:59 +03:00
Berker Peksag
4af23d7ddd
Use requires_os_func() to skip SpawnTests
2016-09-15 20:32:44 +03:00
Berker Peksag
47e7062f76
Make SpawnTest.create_args() keyword-only
2016-09-15 20:23:55 +03:00
Berker Peksag
8181646931
Issue #28114 : Fix a crash in parse_envlist() when env contains byte strings
...
Patch by Eryk Sun.
2016-09-15 20:19:47 +03:00
Victor Stinner
4659ccff70
Issue #28114 : Add unit tests on os.spawn*()
2016-09-14 10:57:00 +02:00
Martin Panter
99e843b48e
Correct spelling in documentation and code comment
2016-09-10 10:38:28 +00:00
Steve Dower
3929499914
Issue #1602 : Windows console doesn't input or print Unicode (PEP 528)
...
Closes #17602 : Adds a readline implementation for the Windows console
2016-08-30 21:22:36 -07:00
R David Murray
44b548dda8
#27364 : fix "incorrect" uses of escape character in the stdlib.
...
And most of the tools.
Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
2016-09-08 13:59:53 -04:00
Steve Dower
cc16be85c0
Issue #27781 : Change file system encoding on Windows to UTF-8 (PEP 529)
2016-09-08 10:35:16 -07:00
Victor Stinner
173a1f3dc7
Fix test_os.GetRandomTests()
...
Issue #27778 : Skip getrandom() tests if getrandom() fails with ENOSYS.
2016-09-06 19:57:40 -07:00
Victor Stinner
9b1f474df6
Add os.getrandom()
...
Issue #27778 : Expose the Linux getrandom() syscall as a new os.getrandom()
function.
This change is part of the PEP 524.
2016-09-06 16:18:52 -07:00
Brett Cannon
ec6ce879c7
Issue #26027 : Support path-like objects in PyUnicode-FSConverter().
...
This is to add support for os.exec*() and os.spawn*() functions. Part
of PEP 519.
2016-09-06 15:50:29 -07:00
Benjamin Peterson
a9ab165cd2
os.access does not allow a fd
2016-09-05 15:40:59 -07:00
Berker Peksag
d0f5bab21b
Issue #26027 : Fix test_path_t_converter on Windows
2016-08-27 21:26:35 +03:00
Brett Cannon
3ce2fd484b
Don't test for path-like bytes paths on Windows
2016-08-27 09:42:40 -07:00
Brett Cannon
8f96a30630
Issue #26027 : Don't test for bytearray in path_t as that's now
...
deprecated.
2016-08-26 19:30:11 -07:00
Brett Cannon
3f9183b5ac
Issue #26027 , #27524 : Add PEP 519/__fspath__() support to os and
...
os.path.
Thanks to Jelle Zijlstra for the initial patch against posixmodule.c.
2016-08-26 14:44:48 -07:00
Serhiy Storchaka
d73c31899e
Issue #26800 : Undocumented support of general bytes-like objects
...
as paths in os functions is now deprecated.
2016-08-06 23:22:08 +03:00
Xavier de Gaye
d141531eb5
Issue #27472 : Add test.support.unix_shell as the path to the default shell.
2016-07-22 12:15:29 +02:00
Brett Cannon
33ed881f79
Fix a failing test introduced as part of issue #27512
2016-07-15 11:26:53 -07:00
Brett Cannon
044283a426
Issue #27512 : Don't segfault when os.fspath() calls an object whose
...
__fspath__() raises an exception.
Thanks to Xiang Zhang for the patch.
2016-07-15 10:41:49 -07:00
Brett Cannon
a32c4d0531
Issue #27038 : Expose DirEntry as os.DirEntry.
...
Thanks to Jelle Zijlstra for the code portion of the patch.
2016-06-24 14:14:44 -07:00
Brett Cannon
c78ca1e044
Issue #27186 : Update os.fspath()/PyOS_FSPath() to check the return
...
type of __fspath__().
As part of this change, also make sure that the pure Python
implementation of os.fspath() is tested.
2016-06-24 12:03:43 -07:00
Martin Panter
0c9ad59dab
Issue #27186 : Skip scandir(bytes) test with os.name == "nt"
2016-06-13 03:28:35 +00:00
Brett Cannon
41ae559108
Issue #27186 : skip bytes path test for os.scandir() on Windows
2016-06-12 11:11:20 -07:00
Brett Cannon
96881cd621
Issue #27186 : Add os.PathLike support to DirEntry
...
Initial patch thanks to Jelle Zijlstra.
2016-06-10 14:37:21 -07:00
Ethan Furman
228c636908
issue27186: fix fsencode/fsdecode and update tests; patch by Jelle Zijlstra
2016-06-04 13:47:39 -07:00
Ethan Furman
958b3e4058
issue27186: add PathLike ABC
2016-06-04 12:49:35 -07:00
Ethan Furman
410ef8e230
issue27186: add C version of os.fspath(); patch by Jelle Zijlstra
2016-06-04 12:06:26 -07:00
Ethan Furman
c1cbeedf0c
issue27182: update fsencode and fsdecode for os.path(); patch by Dusty Phillips
2016-06-04 10:19:27 -07:00
Ethan Furman
cdc0879d3a
issue27186 -- initial docs, tests, and python version of os.fspath
2016-06-02 15:06:09 -07:00
Serhiy Storchaka
9e9235511e
Issue #26783 : test_os.WalkTests.test_walk_topdown did't test fwalk and bytes.
...
Patch by Aviv Palivoda.
2016-04-16 17:51:17 +03:00
Serhiy Storchaka
a07ab29a79
Issue #26783 : test_os.WalkTests.test_walk_topdown did't test fwalk and bytes.
...
Patch by Aviv Palivoda.
2016-04-16 17:51:00 +03:00
Victor Stinner
53b0a41d31
Issue #25911 : more info on test_os failure
2016-03-26 01:12:36 +01:00
Victor Stinner
e984eb501b
Fix test_os.test_symlink(): remove create symlink
2016-03-25 22:51:17 +01:00
Victor Stinner
32830149d8
changeset: 100749:0b61b2d28a07
...
tag: tip
parent: 100742:ebae81b31cf6
user: Victor Stinner <victor.stinner@gmail.com>
date: Fri Mar 25 15:03:34 2016 +0100
files: Lib/test/test_os.py
description:
test_os: Win32ErrorTests checks if file exists
Don't use os.path.exists() since it ignores *any* OSError.
2016-03-25 15:12:08 +01:00