[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

[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 not

[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

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

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

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

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

[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

[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 which

[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 ZipFile.clo

[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
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

[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

[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

[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

[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

[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

[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

[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 >&

[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

[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

[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

[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 i

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

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

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

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

2020-08-06 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker <https://bugs.python.org/issue34360> ___ ___ 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

[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

[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
Jeffrey Kintscher added the comment: Clarification: PurePath.__new__() calls PurePath._from_parts(), which then calls PurePath._init() -- ___ Python tracker <https://bugs.python.org/issue41

[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

[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

[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

[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

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

2020-08-08 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

[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

[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

[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.

[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-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)() inste

[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

[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

[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

[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

[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

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

2020-08-18 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 : -- components: +Library (Lib) ___ Python tracker <https://bugs.python.org/issue41109> ___ ___ 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

[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

[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

[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

[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-

[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

[issue18060] Updating _fields_ of a derived struct type yields a bad cif

2019-05-16 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +13285 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue18060> ___ _

[issue36596] tarfile module considers anything starting with 512 bytes of zero bytes to be a valid tar file

2019-05-17 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: I did some testing with BSD and GNU tar to compare with Python's behavior. jfoo:~ jeff$ tar --version bsdtar 2.8.3 - libarchive 2.8.3 jeff@albarino:~$ tar --version tar (GNU tar) 1.28 Both BSD tar and GNU tar can create an empty tar file that consis

[issue36630] failure of test_colors_funcs in test_curses with ncurses 6.1

2019-05-19 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The test fails because curses.pair_content(curses.COLOR_PAIRS-1) validates its parameter against the limits for signed short (max 32767) while curses.COLOR_PAIRS-1 has the value 65535. Unfortunately, re-plumbing curses.pair_content() to use signed

[issue36630] failure of test_colors_funcs in test_curses with ncurses 6.1

2019-05-20 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: I posted a bug report to the bug-ncurses mailing list: https://lists.gnu.org/archive/html/bug-ncurses/2019-05/msg00022.html -- ___ Python tracker <https://bugs.python.org/issue36

[issue36982] Add support for extended color functions in ncurses 6.1

2019-05-20 Thread Jeffrey Kintscher
New submission from Jeffrey Kintscher : ncurses 6.1 adds extended color functions to support terminals with 256 colors (e.g. xterm-256color). The extended functions take color pair values that are signed integers because the existing functions only take signed 16-bit values. My goal with

[issue29699] shutil.rmtree should not fail with FileNotFoundError (race condition)

2019-05-22 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +websurfer5 ___ Python tracker <https://bugs.python.org/issue29699> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36520] Email header folded incorrectly

2019-05-22 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +websurfer5 ___ Python tracker <https://bugs.python.org/issue36520> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-05-22 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +websurfer5 ___ Python tracker <https://bugs.python.org/issue36422> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36372] Flawed handling of URL redirect

2019-05-22 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +websurfer5 ___ Python tracker <https://bugs.python.org/issue36372> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36979] ncurses extension uses wrong include path

2019-05-22 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +websurfer5 ___ Python tracker <https://bugs.python.org/issue36979> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36758] configured libdir not correctly passed to Python executable

2019-05-22 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +websurfer5 ___ Python tracker <https://bugs.python.org/issue36758> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36982] Add support for extended color functions in ncurses 6.1

2019-05-23 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: A new function called curses.has_extended_color_support() will indicate whether the linked ncurses library provides extended color support. It returns true if curses.h defines NCURSES_EXT_COLORS and NCURSES_EXT_FUNCS, indicating that the extended color

[issue36982] Add support for extended color functions in ncurses 6.1

2019-05-23 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: Corrected typos in msg343336 for clarity: At first glance, has_extended_colors() seems like a better name because it is similar to has_colors(), but the two functions have very different semantics that could confuse developers. has_extended_color_support

[issue36630] failure of test_colors_funcs in test_curses with ncurses 6.1

2019-05-23 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: I created issue #36982 to track the extended color changes since they broader than this issue. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36982] Add support for extended color functions in ncurses 6.1

2019-05-23 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +13448 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36982> ___ _

[issue36982] Add support for extended color functions in ncurses 6.1

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

[issue36982] Add support for extended color functions in ncurses 6.1

2019-05-24 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- components: +Extension Modules -Library (Lib) ___ Python tracker <https://bugs.python.org/issue36982> ___ ___ Python-bugs-list m

[issue36979] ncurses extension uses wrong include path

2019-05-25 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: This explains some of the build/linkage problems encountered in issue #36630, and that I encountered while working on issue #36982. -- nosy: +yan12125 ___ Python tracker <https://bugs.python.org/issue36

[issue29699] shutil.rmtree should not fail with FileNotFoundError (race condition)

2019-05-25 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +13487 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13580 ___ Python tracker <https://bugs.python.org/issu

[issue29699] shutil.rmtree should not fail with FileNotFoundError (race condition)

2019-05-25 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: I created pull request bpo-29699 to fix this issue. It adds an additional exception handler to ignore FileNotFoundError for most of the try blocks that already handle OSError. I decided not to add it to the initial os.open() call. This should provide the

[issue36520] Email header folded incorrectly

2019-05-26 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: To aid with debugging the code, the Subject line can be simplified: >>> from email.message import EmailMessage >>> m = EmailMessage() >>> m['Subject'] = 'Hello >>> =?utf-8?q?W=C3=B6rld!_Hello_W=C3=B6rl

[issue36520] Email header folded incorrectly

2019-05-27 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: I uploaded a test script with some test cases: The failure mode occurs when 1. line folding occurs 2. the first folded line has two or more words with UTF-8 characters 3. subsequent lines contain a word with UTF-8 characters located at a different offset

[issue36520] Email header folded incorrectly

2019-05-27 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +13514 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13608 ___ Python tracker <https://bugs.python.org/issu

[issue36520] Email header folded incorrectly

2019-05-27 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- pull_requests: +13515 pull_request: https://github.com/python/cpython/pull/13610 ___ Python tracker <https://bugs.python.org/issue36

[issue36520] Email header folded incorrectly

2019-05-27 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The pull request has been submitted with both the code fix and tests. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36596] tarfile module considers anything starting with 512 bytes of zero bytes to be a valid tar file

2019-05-27 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: I recommend closing this issue since the behavior is the same as the BSD and GNU tar utilities. -- type: -> behavior ___ Python tracker <https://bugs.python.org/issu

[issue35070] test_posix fails on macOS 10.14 Mojave

2019-05-27 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue35070> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue37040] checking for membership in itertools.count enters infinite loop with no way to exit

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

[issue37036] Iterating a text file by line should not implicitly disable tell

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

[issue36411] Python 3 f.tell() gets out of sync with file pointer in binary append+read mode

2019-05-28 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : Added file: https://bugs.python.org/file48369/bpo-36411.c ___ Python tracker <https://bugs.python.org/issue36411> ___ ___ Python-bugs-list m

[issue36411] Python 3 f.tell() gets out of sync with file pointer in binary append+read mode

2019-05-28 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: I adapted the test code on StackOverflow to show the expected and actual values. I get this output using Python 2.7.16: opening myfile with wb writing 3 bytes to file ('f.tell(): expecting 3, got', 3) closing myfile opening myfile with a+

[issue36411] Python 3 f.tell() gets out of sync with file pointer in binary append+read mode

2019-05-28 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : Removed file: https://bugs.python.org/file48369/bpo-36411.c ___ Python tracker <https://bugs.python.org/issue36411> ___ ___ Python-bug

[issue36411] Python 3 f.tell() gets out of sync with file pointer in binary append+read mode

2019-05-28 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: I saw the bug in the C output after I hit submit. Here is the correct output: opening file with wb writing 3 bytes to file ftell(f): expecting 3, got 3 closing file opening file with a+b ftell(f): expecting 3, got 3 writing 3 bytes to file ftell(f

[issue37005] bz2 module doesn't write end-of-stream marker

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

[issue36988] zipfile: string IndexError on extract

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

[issue36976] email: AttributeError

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

[issue36910] Certain Malformed email causes email.parser to throw AttributeError

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

[issue36881] isinstance raises TypeError for metaclass with metaclass=ABCMeta

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

  1   2   3   >