Skip to content

Conversation

@altendky
Copy link
Contributor

@altendky altendky commented Feb 16, 2018

1st1 and others added 30 commits January 15, 2018 17:56
Add a queue.SimpleQueue class, an unbounded FIFO queue with a reentrant C implementation of put().
AttributeError was raised always when attribute is not found. This commit skip raising AttributeError when `tp_getattro` is `PyObject_GenericGetAttr`. It makes hasattr() and getattr() about 4x faster when attribute is not found.
bpo-29240: On FreeBSD, if the LC_CTYPE locale is "C" or "POSIX", writing and reading non-ASCII bytes into/from a TTY works, but readline or ncurses ignores non-ASCII bytes on read.
* Add tests for date subclass alternate constructors * Switch over alternate date constructors to fast path * Switch datetime constructors to fastpath, fix bpo-32404 * Add fast path for datetime in date subclass constructor * Set fold in constructor in datetime.combine * Add news entries.
Use an improved version of multissl test helper to compile a local copy of OpenSSL 1.1.0g. Signed-off-by: Christian Heimes <christian@python.org>
bpo-32248: Make sure that Git checks out data files with Unix line ending on Windows as well.
Use the binary.file instead of utf-8.file to avoid issues with Unix newlines vs Windows newlines.
This test doesn't care about order, the underlying filesystem APIs do not guarantee directory listings on subsequent calls will be in the same order.
The comment for PyThread_allocate_lock says "It has too be implemented ...". There was an extra "o" in ".. to be implemented.."
Where a queue may be invoked from a weakref callback, we need to use the reentrant SimpleQueue.
* Use wider types (int => Py_ssize_t) to avoid integer overflows. * Fix gc.get_freeze_count(): use Py_ssize_t type rather than int, since gc_list_size() returns a Py_ssize_t.
Fixes some redirection links in docs.
The suggested replacement for print statements previously failed to account for leading whitespace and hence could end up including unwanted text in the proposed call to the print builtin. Patch by Sanyam Khurana.
This PR re-designs the internal typing API using the new PEP 560 features. However, there are only few minor changes in the public API.
Add https://www.gnu.org/software/autoconf-archive/ax_check_openssl.html to auto-detect compiler flags, linker flags and libraries to compile OpenSSL extensions. The M4 macro uses pkg-config and falls back to manual detection. Add autoconf magic to detect usable X509_VERIFY_PARAM_set1_host() and related functions. Refactor setup.py to use new config vars to compile _ssl and _hashlib modules. Signed-off-by: Christian Heimes <christian@python.org>
Add test certs and test for ECDSA cert and EC/RSA dual mode. I'm also adding certs for IDNA 2003/2008 tests and simplify some test data handling. Signed-off-by: Christian Heimes <christian@python.org>
* Add coro.cr_origin and sys.set_coroutine_origin_tracking_depth * Use coroutine origin information in the unawaited coroutine warning * Stop using set_coroutine_wrapper in asyncio debug mode * In BaseEventLoop.set_debug, enable debugging in the correct thread
csabella and others added 22 commits February 11, 2018 23:10
This is not the ideal solution; this means that a test module is now always included in the main python3x.dll. However, we're already including xxsubtype, so why not?
…nGH-5622) Describe *text* as an alias for *universal_newlines* in more places that people are likely to be referred to.
The PrintNameOffset field of the reparse data buffer was treated as a number of characters instead of bytes.
…t. (pythonGH-5639) GUI test test_file_buttons() only looks at initial ascii-only lines, but failed on systems where open() defaults to 'ascii' because readline() internally reads and decodes far enough ahead to encounter a non-ascii character in CREDITS.txt.
…ythonGH-5646) Using the system and place-dependent default encoding for open() is a bad idea for IDLE's system and location-independent files.
This note incorrectly stated that "Base64 has an expansion factor of 6 to 4" (it is actually 4 to 3). It was decided to remove the note.
Remove pkg_add -r python from FreeBSD installation section. Moved to OpenBSD.
A closing parentheses was missing. Signed-off-by: Ngie Cooper <yaneurabeya@gmail.com>
@altendky altendky changed the base branch from master to 3.6 February 16, 2018 20:47
@altendky
Copy link
Contributor Author

Forgot to pick the proper branch initially, looks like I just messed it all up now.

@altendky altendky closed this Feb 16, 2018
@altendky altendky deleted the fix-issue-32852-3.6 branch February 16, 2018 20:51
@altendky altendky restored the fix-issue-32852-3.6 branch February 16, 2018 20:51
@altendky altendky deleted the fix-issue-32852-3.6 branch February 16, 2018 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment