[issue15533] subprocess.Popen(cwd) documentation: Posix vs Windows

2021-08-12 Thread ban
ban added the comment: >> "In particular, the function looks for executable (or for the >> first item in args) relative to cwd if the executable path is >> a relative path." > > For POSIX, this should be stated as a "relative path without a slash

[issue40772] module 'resource' has no attribute 'RLIMIT_VMEM'

2020-05-25 Thread Titusz Ban
New submission from Titusz Ban : While trying to limit the virtual memory used by a process, using import resource MAX_VIRTUAL_MEMORY = 1 * 1024 * 1024 resource.setrlimit(resource.RLIMIT_VMEM, (MAX_VIRTUAL_MEMORY, MAX_VIRTUAL_MEMORY)) The following error occurred: AttributeError: module

[issue26812] ExtendedInterpolation drops user-defined 'vars' during _interpolate_some() recursion

2016-05-03 Thread Yih-En Andrew Ban
Yih-En Andrew Ban added the comment: Sure, patch attached. -- keywords: +patch Added file: http://bugs.python.org/file42702/issue26812.patch ___ Python tracker <http://bugs.python.org/issue26

[issue26812] ExtendedInterpolation drops user-defined 'vars' during _interpolate_some() recursion

2016-04-20 Thread Yih-En Andrew Ban
New submission from Yih-En Andrew Ban: In Python 3.5.1, configparser.ExtendedInterpolation will drop the user-defined 'vars' passed in via ConfigParser.get(vars=...) due to a bug when recursing beyond depth 1 in ExtendedInterpolation._interpolate_some(). Line 509 of configparser.py