class documentation
Gives us information about the platform we're running on.
| Method | __init__ |
Undocumented |
| Method | get |
Get platform type. |
| Method | is |
Check if the current platform is Linux in a Docker container. |
| Method | is |
Do we know about this platform? |
| Method | is |
Check if current platform is Linux. |
| Method | is |
Check if current platform is macOS. |
| Method | is |
Check if current platform is Windows Vista or Windows Server 2008. |
| Method | is |
Are we running in Windows? |
| Method | is |
Are we running in Windows NT? |
| Method | supports |
Return True if we can use the inotify API on this platform. |
| Method | supports |
Can threads be created? |
| Class Variable | seconds |
Undocumented |
| Instance Variable | type |
Undocumented |
| Method | _supports |
Check for symlink support usable for Twisted's purposes. |
| Instance Variable | _platform |
Undocumented |
Check if the current platform is Linux in a Docker container.
| Returns | |
bool | True if the current platform has been detected as Linux inside a Docker container. |
Do we know about this platform?
| Returns | |
bool | Boolean indicating whether this is a known platform or not. |
Check if current platform is Linux.
| Returns | |
bool | True if the current platform has been detected as Linux. |
Check if current platform is macOS.
| Returns | |
bool | True if the current platform has been detected as macOS. |
Check if current platform is Windows Vista or Windows Server 2008.
| Returns | |
bool | True if the current platform has been detected as Vista |
Are we running in Windows NT?
This is deprecated and always returns True on win32 because Twisted only supports Windows NT-derived platforms at this point.
| Returns | |
bool | True if the current platform has been detected as Windows NT. |