[issue41564] Cannot access member "hex" for type "ByteString"

2020-08-23 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: hex.py works for me with CPython versions 3.5, 3.7, 3.8, and 3.9, and the master branch. -- ___ Python tracker <https://bugs.python.org/issue41

[issue41564] Cannot access member "hex" for type "ByteString"

2020-08-19 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher status: pending -> open ___ Python tracker <https://bugs.python.org/issue41564> ___ ___ Python-

[issue41560] pathlib.Path.glob fails on empty string

2020-08-19 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41560> ___ ___ Python-bugs-list mailing list Unsub

[issue41585] policy.max_line_length is incorrectly assumed to never be None

2020-08-19 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41585> ___ ___ Python-bugs-list mailing list Unsub

[issue41593] pathlib PermissionError problem

2020-08-19 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41593> ___ ___ Python-bugs-list mailing list Unsub

[issue41595] curses' window.chgat does not change color when specifying curses.A_COLOR

2020-08-19 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41595> ___ ___ Python-bugs-list mailing list Unsub

[issue41109] subclasses of pathlib.PurePosixPath never call __init__ or __new__

2020-08-19 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- components: +Library (Lib) ___ Python tracker <https://bugs.python.org/issue41109> ___ ___ Python-bugs-list mailing list Unsub

[issue41109] subclasses of pathlib.PurePosixPath never call __init__ or __new__

2020-08-19 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: I created a PR that should provide the desired behavior: __init__() and __new__() get called in subclass objects that are created by Path and PurePath. Also, Path and PurePath now have __init__() functions, and the __new__() functions only return new

[issue41109] subclasses of pathlib.PurePosixPath never call __init__ or __new__

2020-08-18 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +21034 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21920 ___ Python tracker <https://bugs.python.org/issu

[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2020-08-14 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue35786> ___ ___ Python-bugs-list mailing list Unsub

[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-08-14 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41552> ___ ___ Python-bugs-list mailing list Unsub

[issue41553] encoded-word abused for header line folding causes RFC 2047 violation

2020-08-14 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41553> ___ ___ Python-bugs-list mailing list Unsub

[issue41109] subclasses of pathlib.PurePosixPath never call __init__ or __new__

2020-08-13 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The current implementation calls object.__new__(cls), where cls is the child class type, from within a class method (@classmethod). This is fine for Path.__new__() and PurePath.__new__(), which are called by the child class's __new__(), because we don't

[issue41109] subclasses of pathlib.PurePosixPath never call __init__ or __new__

2020-08-13 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: Adding __init__() to PurePath complicates things and doesn't provide any benefit. A subclass that calls super.__init__() ends up invoking object.__init__(), which is perfectly fine. I was able to find a solution by calling type(self)() instead

[issue41518] incorrect printing behavior with parenthesis symbols

2020-08-11 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: -Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41518> ___ ___ Python-bugs-list mailing list Unsub

[issue41109] subclasses of pathlib.PurePosixPath never call __init__ or __new__

2020-08-10 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The purpose of the _init() function in PurePath is to allow PurePath methods to call the Path subclass override _init() function when initializing a Path object. -- ___ Python tracker <https://bugs.python.

[issue41517] Enum multiple inheritance loophole

2020-08-10 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41517> ___ ___ Python-bugs-list mailing list Unsub

[issue41518] incorrect printing behavior with parenthesis symbols

2020-08-10 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41518> ___ ___ Python-bugs-list mailing list Unsub

[issue41097] confusing BufferError: Existing exports of data: object cannot be re-sized

2020-08-09 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +20931 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/21792 ___ Python tracker <https://bugs.python.org/issu

[issue41097] confusing BufferError: Existing exports of data: object cannot be re-sized

2020-08-08 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: >>> import io >>> b = io.BytesIO() >>> b.write(b'abc') 3 >>> buf = b.getbuffer() >>> b.seek(0) 0 >>> b.write(b'?') Traceback (most recent call last): File "", line 1, in BufferError: Existi

[issue41097] confusing BufferError: Existing exports of data: object cannot be re-sized

2020-08-08 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The error message is found in three different locations in the source code. One is in the bytearray class, and the other two are in the BytesIO class. They are unrelated code paths. -- nosy: +Jeffrey.Kintscher

[issue32884] Adding the ability for getpass to print asterisks when password is typed

2020-08-08 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: This is easy to implement for Windows (as shown), but the unix implementation uses io.TextIOWrapper.readline() to get the password input. The unix implementation would have to be rewritten to provide the same functionality

[issue32884] Adding the ability for getpass to print asterisks when password is typed

2020-08-07 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue32884> ___ ___ Python-bugs-list mailing list Unsub

[issue41109] subclasses of pathlib.PurePosixPath never call __init__ or __new__

2020-08-07 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: Clarification: PurePath.__new__() calls PurePath._from_parts(), which then calls PurePath._init() -- ___ Python tracker <https://bugs.python.org/issue41

[issue41109] subclasses of pathlib.PurePosixPath never call __init__ or __new__

2020-08-07 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The workaround is to override _init(), which I agree is not desirable. This is the relevant code in PurePath, which is the super class of PurePosixPath: @classmethod def _from_parsed_parts(cls, drv, root, parts, init=True): self = object

[issue41109] subclasses of pathlib.PurePosixPath never call __init__ or __new__

2020-08-07 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41109> ___ ___ Python-bugs-list mailing list Unsub

[issue5141] C API for appending to arrays

2020-08-07 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue5141> ___ ___ Python-bugs-list mailing list Unsub

[issue34360] urllib.parse doesn't fully comply to RFC 3986

2020-08-07 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue34360> ___ ___ Python-bugs-list mailing list Unsub

[issue37495] socket.inet_aton parsing issue on some libc versions

2020-08-07 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue37495> ___ ___ Python-bugs-list mailing list Unsub

[issue41419] Path.mkdir and os.mkdir don't respect setgid if its parent is g-s

2020-08-07 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: -Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41419> ___ ___ Python-bugs-list mailing list Unsub

[issue41168] Lack of proper checking in PyObject_SetAttr leads to segmentation fault

2020-08-06 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: Can you attach the Python source code for the PoC? -- ___ Python tracker <https://bugs.python.org/issue41168> ___ ___ Pytho

[issue41168] Lack of proper checking in PyObject_SetAttr leads to segmentation fault

2020-08-06 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41168> ___ ___ Python-bugs-list mailing list Unsub

[issue41157] email.message_from_string() is unable to find the headers for the .msg files

2020-08-06 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41157> ___ ___ Python-bugs-list mailing list Unsub

[issue41169] socket.inet_pton raised when pass an IPv6 address like "[::]" to it

2020-08-06 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41169> ___ ___ Python-bugs-list mailing list Unsub

[issue37724] [[Errno 17] File exists: ] # Try create directories that are not part of the archive with

2020-08-06 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue37724> ___ ___ Python-bugs-list mailing list Unsub

[issue41238] Python 3 shelve.DbfilenameShelf is generating 164 times larger files than Python 2.7 when storing dicts

2020-08-06 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41238> ___ ___ Python-bugs-list mailing list Unsub

[issue41419] Path.mkdir and os.mkdir don't respect setgid if its parent is g-s

2020-08-06 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41419> ___ ___ Python-bugs-list mailing list Unsub

[issue26791] shutil.move fails to move symlink (Invalid cross-device link)

2020-08-06 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +20904 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21759 ___ Python tracker <https://bugs.python.org/issu

[issue41456] loop.run_in_executor creat thread but not destory it after the task run over

2020-08-06 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: -Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41456> ___ ___ Python-bugs-list mailing list Unsub

[issue22107] tempfile module misinterprets access denied error on Windows

2020-08-06 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: -Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue22107> ___ ___ Python-bugs-list mailing list Unsub

[issue26791] shutil.move fails to move symlink (Invalid cross-device link)

2020-08-06 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- versions: +Python 3.10, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue26791> ___ ___ Pytho

[issue26791] shutil.move fails to move symlink (Invalid cross-device link)

2020-08-06 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: SilentGhost's analysis is correct. The provided example code causes the error because it is trying to move the symlink into its target when the target is a directory. Any cross-device moving issues are unrelated to this example code. Here

[issue41456] loop.run_in_executor creat thread but not destory it after the task run over

2020-08-05 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41456> ___ ___ Python-bugs-list mailing list Unsub

[issue41450] OSError is not documented in ssl library, but still can be thrown

2020-08-05 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41450> ___ ___ Python-bugs-list mailing list Unsub

[issue41458] Avoid overflow/underflow in math.prod()

2020-08-05 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41458> ___ ___ Python-bugs-list mailing list Unsub

[issue41465] io.TextIOWrapper.errors not writable

2020-08-05 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: I looked at the implementation in Lib/_pyio.py. The only way to change the error handler is by calling TextIOWrapper.reconfigure() and supply the new error handler as the "errors" parameter. For example: >>> import io >&

[issue41465] io.TextIOWrapper.errors not writable

2020-08-05 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41465> ___ ___ Python-bugs-list mailing list Unsub

[issue41398] cgi module, parse_multipart fails

2020-08-05 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41398> ___ ___ Python-bugs-list mailing list Unsub

[issue41470] smtplib.SMTP should reset internal 'helo' and 'ehlo' state within 'connect()'

2020-08-05 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41470> ___ ___ Python-bugs-list mailing list Unsub

[issue41477] test_genericalias fails if ctypes is missing

2020-08-05 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41477> ___ ___ Python-bugs-list mailing list Unsub

[issue41489] HTMLParser : HTMLParser.error creating multiple errors.

2020-08-05 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41489> ___ ___ Python-bugs-list mailing list Unsub

[issue41491] plistlib can't load macOS BigSur system LaunchAgent

2020-08-05 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41491> ___ ___ Python-bugs-list mailing list Unsub

[issue41350] Use of zipfile.Path causes attempt to write after ZipFile is closed

2020-07-24 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +20745 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21604 ___ Python tracker <https://bugs.python.org/issu

[issue41350] Use of zipfile.Path causes attempt to write after ZipFile is closed

2020-07-24 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- versions: +Python 3.10 ___ Python tracker <https://bugs.python.org/issue41350> ___ ___ Python-bugs-list mailing list Unsub

[issue41350] Use of zipfile.Path causes attempt to write after ZipFile is closed

2020-07-24 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: I created a simpler test case that exercises the buggy code. The problem can be reproduced by passing ZipFile.__init__() a file-like object with the write flag (mode "w") and then closing the file-like object before calling Zip

[issue41350] Use of zipfile.Path causes attempt to write after ZipFile is closed

2020-07-23 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: It looks like a copy of the zip_file object is getting created, probably by the Path constructor: zip_path = Path(zip_file, "file-a") When return is invoked, the copy still has a reference to the now closed bytes_io object wh

[issue41350] Use of zipfile.Path causes attempt to write after ZipFile is closed

2020-07-23 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41350> ___ ___ Python-bugs-list mailing list Unsub

[issue37095] [Feature Request]: Add zstd support in tarfile

2020-07-23 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue37095> ___ ___ Python-bugs-list mailing list Unsub

[issue41368] Allow compiling Python with llvm-clang on Windows.

2020-07-23 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41368> ___ ___ Python-bugs-list mailing list Unsub

[issue41357] pathlib.Path.resolve incorrect os.path equivalent

2020-07-22 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +20735 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21596 ___ Python tracker <https://bugs.python.org/issu

[issue41357] pathlib.Path.resolve incorrect os.path equivalent

2020-07-22 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: I uploaded a script illustrating the differences between how Path.resolve(), os.path.abspath(), and os.path.realpath() handle symlinks. As noted by Jendrik, Path.resolve() and os.path.realpath() both resolve symlinks, while os.path.abspath() does

[issue41357] pathlib.Path.resolve incorrect os.path equivalent

2020-07-22 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue41357> ___ ___ Python-bugs-list mailing list Unsub

[issue37130] pathlib.Path.with_name() handles '.' and '..' inconsistently

2019-07-26 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: I'll take a crack at adding support for Path('.').name == '.'. -- ___ Python tracker <https://bugs.python.org/issue37

[issue24231] os.makedirs('/', exist_ok=True) fails on Darwin

2019-07-16 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: This issue appears to have been fixed: Python 3.7.3 (default, May 1 2019, 00:00:47) [Clang 10.0.1 (clang-1001.0.46.4)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>

[issue37529] Mimetype module duplicates

2019-07-16 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: This appears to have been fixed by issue #4963 and backported to the 3.7 and 3.8 branches: Python 3.7.4+ (heads/3.7-dirty:e7bec26937, Jul 16 2019, 12:53:26) [Clang 10.0.1 (clang-1001.0.46.4)] on darwin Type "help", "copyright", &

[issue37549] os.dup() fails for standard streams on Windows 7

2019-07-12 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue37549> ___ ___ Python-bugs-list mailing list Unsub

[issue37565] test_faulthandler failure

2019-07-12 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue37565> ___ ___ Python-bugs-list mailing list Unsub

[issue30755] locale.normalize() and getdefaultlocale() convert C.UTF-8 to en_US.UTF-8

2019-07-11 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue30755> ___ ___ Python-bugs-list mailing list Unsub

[issue37529] Mimetype module duplicates

2019-07-11 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue37529> ___ ___ Python-bugs-list mailing list Unsub

[issue37542] UDP sendto() sends duplicate packets

2019-07-11 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue37542> ___ ___ Python-bugs-list mailing list Unsub

[issue36132] Python cannot access hci_channel field in sockaddr_hci

2019-07-09 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue36132> ___ ___ Python-bugs-list mailing list Unsub

[issue37367] octal escapes applied inconsistently throughout the interpreter and lib

2019-07-08 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The PR is ready for review. It raises ValueError if the escaped octal value in a byte string is greater than 255. -- ___ Python tracker <https://bugs.python.org/issue37

[issue37367] octal escapes applied inconsistently throughout the interpreter and lib

2019-07-08 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +14461 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14654 ___ Python tracker <https://bugs.python.org/issu

[issue37367] octal escapes applied inconsistently throughout the interpreter and lib

2019-07-05 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: Here is the problematic code in _PyBytes_DecodeEscape in Objects/bytesobject.c: c = s[-1] - '0'; if (s < end && '0' <= *s && *s <= '7') { c = (c<<3) + *s++ - '0'; if (s

[issue37367] octal escapes applied inconsistently throughout the interpreter and lib

2019-07-04 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: >>> b'\407' b'\x07' >>> ord(b'\407') 7 This is the object structure passed to builtin_ord(): (lldb) p *((PyBytesObject *)(c)) (PyBytesObject) $19 = { ob_base = { ob_base = { ob_refcnt = 4 ob_type = 0x0001003cb0b0

[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2019-07-03 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue12782> ___ ___ Python-bugs-list mailing list Unsub

[issue33408] Enable AF_UNIX support in Windows

2019-07-03 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue33408> ___ ___ Python-bugs-list mailing list Unsub

[issue22107] tempfile module misinterprets access denied error on Windows

2019-07-03 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue22107> ___ ___ Python-bugs-list mailing list Unsub

[issue37366] Add an "onitem" callback parameter to shutil.rmtree()

2019-07-03 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- resolution: rejected -> versions: +Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue37366> ___ ___ Py

[issue37366] Add an "onitem" callback parameter to shutil.rmtree()

2019-07-03 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- resolution: -> rejected ___ Python tracker <https://bugs.python.org/issue37366> ___ ___ Python-bugs-list mailing list Un

[issue37399] XML text behaviour change if there are comments

2019-06-28 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue37399> ___ ___ Python-bugs-list mailing list Unsub

[issue26468] shutil.copy2 raises OSError if filesystem doesn't support chmod

2019-06-28 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: -Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue26468> ___ ___ Python-bugs-list mailing list Unsub

[issue36956] Calling "functions" used to implement generators/comps easily cause crash

2019-06-28 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: Specifically, the crash occurs in Python/ceval.c function _PyEval_EvalFrameDefault() in the TARGET(FOR_ITER) case at line 3198 (master branch): PyObject *next = (*iter->ob_type->tp_iternext)(iter); It segfaults because tp_iternext i

[issue36956] Calling "functions" used to implement generators/comps easily cause crash

2019-06-28 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: What is the preferred behavior? Raise an exception of some kind? -- ___ Python tracker <https://bugs.python.org/issue36

[issue37366] Add an "onitem" callback parameter to shutil.rmtree()

2019-06-28 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: Yes, onerror allows you to delete an undeletable item. But, in the case of a mount point, the contents of the mounted filesystem get deleted *before* the mount point triggers onerror. This is the case described in issue #36422. The behavior provided

[issue37366] Add an "onitem" callback parameter to shutil.rmtree()

2019-06-26 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +14232 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14419 ___ Python tracker <https://bugs.python.org/issu

[issue37302] Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions

2019-06-22 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- components: +Library (Lib) ___ Python tracker <https://bugs.python.org/issue37302> ___ ___ Python-bugs-list mailing list Unsub

[issue37366] Add an "onitem" callback parameter to shutil.rmtree()

2019-06-21 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- versions: +Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue37366> ___ ___ Python-bugs-list mailin

[issue37302] Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions

2019-06-21 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- versions: +Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue37302> ___ ___ Python-bugs-list m

[issue37366] Add an "onitem" callback parameter to shutil.rmtree()

2019-06-21 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +giampaolo.rodola, josh.r, max, paul.moore, riccardomurri, serhiy.storchaka, steve.dower, tarek, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue37

[issue37366] Add an "onitem" callback parameter to shutil.rmtree()

2019-06-21 Thread Jeffrey Kintscher
New submission from Jeffrey Kintscher : Add an "onitem" callback paramter to shutil.rmtree() that, if provided, gets called for each directory entry as it is encountered. This allows the caller to perform any required special handling of individual directory entries (e.g. unmounti

[issue37302] Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions

2019-06-21 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- type: -> enhancement ___ Python tracker <https://bugs.python.org/issue37302> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue37302] Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions

2019-06-21 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The PR is ready for review. -- ___ Python tracker <https://bugs.python.org/issue37302> ___ ___ Python-bugs-list mailin

[issue37302] Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions

2019-06-21 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +14116 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14292 ___ Python tracker <https://bugs.python.org/issu

[issue36422] tempfile.TemporaryDirectory() removes entire directory tree even if it's a mount-point

2019-06-21 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +14117 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14292 ___ Python tracker <https://bugs.python.org/issu

[issue36422] tempfile.TemporaryDirectory() removes entire directory tree even if it's a mount-point

2019-06-20 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: I implemented an onerror callback for tempfile.TemporaryDirectory() and confirmed that it cannot be used to unmount a mount point. Attempting to unmount the mount point from within the callback results in a resource busy error. It may be related

[issue37302] Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions

2019-06-15 Thread Jeffrey Kintscher
New submission from Jeffrey Kintscher : Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions so that the caller can perform special handling for directory items that it can't automatically delete. The caller created the undeletable directory e

[issue37260] shutil.rmtree() FileNotFoundError race condition

2019-06-15 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The PR is ready for review. -- ___ Python tracker <https://bugs.python.org/issue37260> ___ ___ Python-bugs-list mailin

[issue37260] shutil.rmtree() FileNotFoundError race condition

2019-06-13 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +13924 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14064 ___ Python tracker <https://bugs.python.org/issu

[issue37260] shutil.rmtree() FileNotFoundError race condition

2019-06-12 Thread Jeffrey Kintscher
New submission from Jeffrey Kintscher : shutil.rmtree() is susceptible to a race condition that can needlessly raise OSError: 1. os.scandir() returns the list of entries in a directory 2. while iterating over the list, another thread or process deletes one or more of the entries not yet

  1   2   3   >