]>
granicus.if.org Git - python/log
Zachary Ware [Sat, 30 Jan 2016 01:06:00 +0000 (19:06 -0600)]
Issue #25934: Default to /fp:strict for ICC builds
Martin Panter [Sat, 30 Jan 2016 02:36:00 +0000 (02:36 +0000)]
Issue #26173: Fix test_ssl confusion with non-existing cert and wrongcert.pem
Testing for a non-existing certificate file is already done in test_errors().
The wrongcert.pem test was originally testing behaviour with a mismatched
certificate.
Martin Panter [Fri, 29 Jan 2016 10:12:19 +0000 (10:12 +0000)]
Issue #19023: Document ctypes array and pointer classes
Also add some more tests. Based on patch by Sye van der Veen.
Serhiy Storchaka [Thu, 28 Jan 2016 22:55:37 +0000 (00:55 +0200)]
Fixed a crash in new tests in test_getargs2 added in
60a2d67dacb3 (issue #26198).
Serhiy Storchaka [Thu, 28 Jan 2016 22:37:28 +0000 (00:37 +0200)]
Fixed an infinite loop in zipimport caused by
cebcd2fd3e1f (issue #19883).
Serhiy Storchaka [Thu, 28 Jan 2016 19:32:53 +0000 (21:32 +0200)]
Issue #19883: Fixed possible integer overflows in zipimport.
Serhiy Storchaka [Thu, 28 Jan 2016 17:56:04 +0000 (19:56 +0200)]
Issue #26198: Added tests for string-related format units of PyArg_Parse*()
functions: "s", "s*", "s#", "t#", "z", "z*", "z#", "w", "w*", "w#", "u",
"u#", "es", "et", "es#", "et#" and "c".
Terry Jan Reedy [Wed, 27 Jan 2016 16:51:45 +0000 (11:51 -0500)]
Issue #25507: revert incorrect movement of idleConf import in
a37ea1d56e98 .
Augment htest to include all major IOBinding functions.
Berker Peksag [Mon, 25 Jan 2016 06:24:57 +0000 (08:24 +0200)]
Fix typo in test.rst
Reported by Mike Scalora on docs@p.o.
Victor Stinner [Sat, 23 Jan 2016 11:55:11 +0000 (12:55 +0100)]
doc: i18n HTML templates
Issue #25907: Use {% trans %} tags in HTML templates to ease the translation of
the documentation. The tag comes from Jinja templating system, used by Sphinx.
Patch written by Julien Palard.
Gregory P. Smith [Fri, 22 Jan 2016 21:17:41 +0000 (13:17 -0800)]
Per issue21949 and issue1629: Document the Py_SIZE, Py_TYPE, Py_REFCNT macros.
This was already done in the 3.5 branch; this just does the same in the 2.7
branch.
Victor Stinner [Fri, 22 Jan 2016 11:33:12 +0000 (12:33 +0100)]
code_richcompare() now uses the constants types
Issue #25843: When compiling code, don't merge constants if they are equal but
have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now
correctly compiled to two different functions: f1() returns 1 (int) and f2()
returns 1.0 (int), even if 1 and 1.0 are equal.
Add a new _PyCode_ConstantKey() private function.
Benjamin Peterson [Fri, 22 Jan 2016 06:02:46 +0000 (22:02 -0800)]
reject negative data_size
Donald Stufft [Fri, 22 Jan 2016 02:57:17 +0000 (21:57 -0500)]
Upgrade pip to 8.0.2
Berker Peksag [Thu, 21 Jan 2016 22:07:00 +0000 (00:07 +0200)]
Issue #18620: Improve Pool examples in multiprocessing documentation
A single call to Pool.apply_async() will create only one process. To use all
of the pool's processes, it should be invoked multiple times:
with Pool(processes=4) as pool:
results = [pool.apply_async(func, ()) for i in range(4)]
Patch by Davin Potts.
Victor Stinner [Thu, 21 Jan 2016 07:56:00 +0000 (08:56 +0100)]
Issue #26106: doc: Move text of licenses to parsed literal block
This change helps to ignore text of PSF, BEOPEN.com and CNRI licenses when
translating the documentation. Patch written by Julien Palard who is
translating Python 3.5 doc to french. Text of other licenses already used
preformatted format.
Benjamin Peterson [Thu, 21 Jan 2016 06:23:44 +0000 (22:23 -0800)]
prevent buffer overflow in get_data (closes #26171)
Benjamin Peterson [Thu, 21 Jan 2016 06:06:43 +0000 (22:06 -0800)]
fix refleak in error condition
Victor Stinner [Wed, 20 Jan 2016 21:30:58 +0000 (22:30 +0100)]
Replace fpgetmask() with fedisableexcept()
Issue #24520: On FreeBSD, fpgetmask() was deprecated long time ago.
fedisableexcept() is now preferred.
Senthil Kumaran [Wed, 20 Jan 2016 11:18:48 +0000 (03:18 -0800)]
issue25982 - Add a class definition for managers.Namespace in the multiprocessing docs.
Serhiy Storchaka [Wed, 20 Jan 2016 08:33:51 +0000 (10:33 +0200)]
Issue #26147: xmlrpclib now works with unicode not encodable with used
non-UTF-8 encoding.
Zachary Ware [Wed, 20 Jan 2016 06:11:52 +0000 (00:11 -0600)]
Issue #25925: Backport C coverage reporting Makefile targets
Originally added by Christian Heimes in
85ec2b5bfcd2 .
Initial patch for the backport by Alecsandru Patrascu.
Donald Stufft [Wed, 20 Jan 2016 01:17:03 +0000 (20:17 -0500)]
Upgrade pip to 8.0.0 and setuptools to 19.4
Serhiy Storchaka [Tue, 19 Jan 2016 11:55:36 +0000 (13:55 +0200)]
Issue #16620: Fixed AttributeError in msilib.Directory.glob().
Benjamin Peterson [Tue, 19 Jan 2016 05:18:49 +0000 (21:18 -0800)]
add space
Benjamin Peterson [Tue, 19 Jan 2016 05:17:54 +0000 (21:17 -0800)]
set tp_new from the class in the hierarchy that actually owns the descriptor (closes #25731)
Debugging by Eryk Sun.
Serhiy Storchaka [Mon, 18 Jan 2016 17:38:53 +0000 (19:38 +0200)]
Issue #9006: Added tests for XML RPC with non-UTF-8 encoding.
Serhiy Storchaka [Mon, 18 Jan 2016 17:35:23 +0000 (19:35 +0200)]
Issue #21847: Fixed xmlrpclib and tests on Unicode-disabled builds.
Serhiy Storchaka [Mon, 18 Jan 2016 08:35:40 +0000 (10:35 +0200)]
Issue #6500: Fixed infinite recursion in urllib2.Request.__getattr__().
Senthil Kumaran [Mon, 18 Jan 2016 02:45:11 +0000 (18:45 -0800)]
Issue26017 - Suggest enclosing command args in double quotes when using characters which get interpreted by shell.
Senthil Kumaran [Mon, 18 Jan 2016 01:05:14 +0000 (17:05 -0800)]
Issue26142 - Fix a formatting bug in c-api intro doc.
Terry Jan Reedy [Sun, 17 Jan 2016 04:43:58 +0000 (23:43 -0500)]
Issue #25905: Specify 'ascii' encoding for README.txt and NEWS.txt.
Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'.
Steve Dower [Sat, 16 Jan 2016 21:41:48 +0000 (13:41 -0800)]
Issue #25824: Fixes sys.winver to not include any architecture suffix.
Senthil Kumaran [Sat, 16 Jan 2016 06:13:16 +0000 (22:13 -0800)]
Issue26035 - Correct the argument names used in the docs of the traceback module. Make it consistent with module args.
Martin Panter [Sat, 16 Jan 2016 05:07:35 +0000 (05:07 +0000)]
Issue #14771: Redirect GDB's stdin to avoid messing the terminal settings
Otherwise, GDB seems to affect the terminal's foreground process group,
interfering with test_ioctl, which does not expect the foreground process to
change during the test. This change also solves the problem of the tests
being stopped in the shell if test_gdb is run twice in parallel.
Martin Panter [Sat, 16 Jan 2016 04:32:52 +0000 (04:32 +0000)]
Issue #26127: Fix links in tokenize documentation
Brett Cannon [Fri, 15 Jan 2016 17:41:49 +0000 (09:41 -0800)]
Issue #26114: Remove mention of 'Numerical Recipes'.
Senthil Kumaran [Fri, 15 Jan 2016 05:57:57 +0000 (21:57 -0800)]
Issue26097 - Fix the TextTestRunner documentation, mention all the arguments of the class.
Patch contributed by Nicolas Évrard.
Martin Panter [Fri, 15 Jan 2016 00:25:29 +0000 (00:25 +0000)]
Issue #25940: Use self-signed.pythontest.net in SSL tests
This is instead of svn.python.org, whose certificate recently expired, and
whose new certificate uses a different root certificate.
The certificate used at the pythontest server was modifed to set the "basic
constraints" CA flag. This flag seems to be required for test_get_ca_certs_
capath() to work.
Added the new self-signed certificate to capath with the following commands:
cp Lib/test/{selfsigned_pythontestdotnet.pem,capath/}
c_rehash -v Lib/test/capath/
c_rehash -v -old Lib/test/capath/
# Note the generated file names
cp Lib/test/capath/{selfsigned_pythontestdotnet.pem,
0e4015b9 .0}
mv Lib/test/capath/{selfsigned_pythontestdotnet.pem,
ce7b8643 .0}
When attempting to connect to port 444 on the new server, the resulting error
code is EHOSTUNREACH on Linux, and ETIMEDOUT on Windows.
Ezio Melotti [Wed, 13 Jan 2016 20:21:21 +0000 (22:21 +0200)]
#7944: close files explicitly in test_tarfile (backport
d560eece0857 ).
Ezio Melotti [Wed, 13 Jan 2016 17:36:49 +0000 (19:36 +0200)]
Convert test_tarfile to ASCII (backport
c1ed490bd266 ).
Ezio Melotti [Tue, 12 Jan 2016 09:36:25 +0000 (11:36 +0200)]
#25574: backport glossary doc fix about hash and id of user-defined classes.
Ezio Melotti [Tue, 12 Jan 2016 09:03:10 +0000 (11:03 +0200)]
#19006: fix wording in unittest docs.
Zachary Ware [Tue, 12 Jan 2016 07:20:33 +0000 (01:20 -0600)]
Issue #25348: Add --pgo and --pgo-job flags to PCbuild\build.bat
Ezio Melotti [Mon, 11 Jan 2016 22:11:24 +0000 (00:11 +0200)]
Merge heads.
Ezio Melotti [Mon, 11 Jan 2016 22:07:23 +0000 (00:07 +0200)]
#25517: fix regex in the regex howto. Patch by Elena Oat.
Gregory P. Smith [Mon, 11 Jan 2016 21:56:42 +0000 (13:56 -0800)]
Fixes issue #26083: Workaround a subprocess bug that raised an incorrect
"ValueError: insecure string pickle" exception instead of the actual exception
on some platforms such as Mac OS X when an exception raised in the forked child
process prior to the exec() was large enough that it overflowed the internal
errpipe_read pipe buffer.
Ezio Melotti [Mon, 11 Jan 2016 21:30:15 +0000 (23:30 +0200)]
#25991: fix readline example to limit history size. Patch by Daniel Dye.
Barry Warsaw [Mon, 11 Jan 2016 19:49:34 +0000 (14:49 -0500)]
Comment out another test that won't pass after reverting the picklability
regression.
Barry Warsaw [Mon, 11 Jan 2016 19:44:59 +0000 (14:44 -0500)]
Comment out two tests that won't pass now after reverting the typeobject.c
change. Also, as per further discussion, we'll just remove the regressing
code in typeobject.c
Barry Warsaw [Mon, 11 Jan 2016 18:52:23 +0000 (13:52 -0500)]
Issue #22995: [UPDATE] Comment out the one of the pickleability tests in
_PyObject_GetState() due to regressions observed in Cython-based projects.
Benjamin Peterson [Sun, 10 Jan 2016 07:55:47 +0000 (23:55 -0800)]
delete old crypto prose (closes #26066)
Senthil Kumaran [Sun, 10 Jan 2016 06:36:13 +0000 (22:36 -0800)]
Issue23675 - A tiny clarification in the MRO glossary term.
Senthil Kumaran [Fri, 8 Jan 2016 09:05:57 +0000 (01:05 -0800)]
Issue20969 - Set the Epub Author and Epub Publisher in Python docs.
Benjamin Peterson [Fri, 8 Jan 2016 06:01:26 +0000 (22:01 -0800)]
fix typo in unittest docs (closes #26046)
Patch from Upendra Kumar.
Berker Peksag [Thu, 7 Jan 2016 16:49:53 +0000 (18:49 +0200)]
Issue #5501: Clarify that invoking freeze_support() on non-Windows platforms has no effect
Patch by Davin Potts and Camilla Montonen.
Senthil Kumaran [Wed, 6 Jan 2016 11:54:18 +0000 (03:54 -0800)]
Fix issue18918 : Attach the pydoc documentation for 'FILES' topic.
Also rebuilt the pydoc_data with this change.
Berker Peksag [Wed, 6 Jan 2016 01:08:12 +0000 (03:08 +0200)]
Issue #6500: Reverting
fbea8ff8db5e since it broke tests
Berker Peksag [Wed, 6 Jan 2016 00:04:52 +0000 (02:04 +0200)]
Issue #6500: Fix "maximum recursion depth exceeded" error caused by Request.__getattr__()
Senthil Kumaran [Tue, 5 Jan 2016 06:40:39 +0000 (22:40 -0800)]
Issue24733 - Remove unreachable code in traceback.c
Senthil Kumaran [Mon, 4 Jan 2016 02:07:06 +0000 (18:07 -0800)]
Backport documentation improvement.
Issue24898 - Improve str.find documentation.
Simplify str.find explaination as per Georg Brandl's suggestion.
Senthil Kumaran [Sun, 3 Jan 2016 09:03:40 +0000 (01:03 -0800)]
Backport doc improvements for Issue21221 - Explain the usage of tm_isdst
attribute of mktime, with valid values and meaning.
Patch contributed by Andrew Scheller.
Ned Deily [Fri, 1 Jan 2016 22:45:31 +0000 (17:45 -0500)]
Update copyrights for 2016.
Zachary Ware [Fri, 1 Jan 2016 18:22:16 +0000 (12:22 -0600)]
Fix grammar.
Reported by Anatoly Techtonik on docs@
Benjamin Peterson [Fri, 1 Jan 2016 17:53:47 +0000 (11:53 -0600)]
remove some copyright notices supserseded by the toplevel ones
Benjamin Peterson [Fri, 1 Jan 2016 17:12:44 +0000 (11:12 -0600)]
reflow
Benjamin Peterson [Fri, 1 Jan 2016 16:23:45 +0000 (10:23 -0600)]
2016 will be another year of writing copyrighted code
Serhiy Storchaka [Thu, 31 Dec 2015 10:03:14 +0000 (12:03 +0200)]
Issue #25961: Fixed compilation error and a leak in type constructor.
Serhiy Storchaka [Wed, 30 Dec 2015 19:39:21 +0000 (21:39 +0200)]
Issue #25961: Disallowed null characters in the type name.
Serhiy Storchaka [Wed, 30 Dec 2015 18:59:32 +0000 (20:59 +0200)]
Make catched exceptions more specific and correct a comment.
Serhiy Storchaka [Wed, 30 Dec 2015 18:43:29 +0000 (20:43 +0200)]
Issue #22995: Instances of extension types with a state that aren't
subclasses of list or dict and haven't implemented any pickle-related
methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__,
or __getstate__), can no longer be pickled. Including memoryview.
Serhiy Storchaka [Sun, 27 Dec 2015 13:41:58 +0000 (15:41 +0200)]
Issue #20440: More use of Py_SETREF.
This patch is manually crafted and contains changes that couldn't be handled
automatically.
Serhiy Storchaka [Sun, 27 Dec 2015 10:38:48 +0000 (12:38 +0200)]
Issue #20440: Applied yet one patch for using Py_SETREF.
The patch is automatically generated, it replaces the code that uses Py_CLEAR.
Vinay Sajip [Sat, 26 Dec 2015 12:21:47 +0000 (12:21 +0000)]
Closes #25664: handled logger names in Unicode.
Serhiy Storchaka [Thu, 24 Dec 2015 09:51:24 +0000 (11:51 +0200)]
Issue #24103: Fixed possible use after free in ElementTree.iterparse().
Serhiy Storchaka [Thu, 24 Dec 2015 08:35:35 +0000 (10:35 +0200)]
Issue #20440: Massive replacing unsafe attribute setting code with special
macro Py_SETREF.
Zachary Ware [Mon, 21 Dec 2015 17:43:03 +0000 (11:43 -0600)]
Issue #25827: Add support for ICC to configure
Serhiy Storchaka [Sun, 20 Dec 2015 09:40:00 +0000 (11:40 +0200)]
Fixed sizeof tests for dict and type (they were passed by accident).
Added tests for dict views.
Serhiy Storchaka [Sun, 20 Dec 2015 07:36:55 +0000 (09:36 +0200)]
Create a file in SizeofTest only if needed.
Serhiy Storchaka [Sat, 19 Dec 2015 20:49:29 +0000 (22:49 +0200)]
Use correct PyGC_Head size in tests for issue #25421.
Serhiy Storchaka [Sat, 19 Dec 2015 18:07:48 +0000 (20:07 +0200)]
Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
Terry Jan Reedy [Fri, 18 Dec 2015 20:46:52 +0000 (15:46 -0500)]
Issue #25905: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK.
Serhiy Storchaka [Fri, 18 Dec 2015 11:12:33 +0000 (13:12 +0200)]
Issue #25899: Fixed typo in .bzrignore.
Martin Panter [Mon, 14 Dec 2015 03:41:59 +0000 (03:41 +0000)]
Issue #22088: Port base64 character ignoring doc and test from
857d9fe60169
Martin Panter [Mon, 14 Dec 2015 02:54:40 +0000 (02:54 +0000)]
Issue #20837: Base-64 alphabet clarification from revision
1853679c6f71
R David Murray [Sun, 13 Dec 2015 23:04:14 +0000 (18:04 -0500)]
#25495: Clarify b2a_base64 documentation vis 57 bytes.
Gregory P. Smith [Sun, 13 Dec 2015 21:57:50 +0000 (13:57 -0800)]
Fixes issue #20954: _args_from_interpreter_flags used by multiprocessing
and some tests no longer behaves incorrectly in the presence of the
PYTHONHASHSEED environment variable.
Victor Stinner [Sun, 13 Dec 2015 20:25:42 +0000 (21:25 +0100)]
Issue #25696: Don't ignore errors in 'make bininstall' on creating $(LIBPC) directory
Victor Stinner [Sun, 13 Dec 2015 20:19:28 +0000 (21:19 +0100)]
Issue #25696: Fix installation of Python on UNIX with make -j9.
Martin Panter [Sat, 12 Dec 2015 06:53:34 +0000 (06:53 +0000)]
Issue #25809: Skip testing platform-dependent French thousands separator
Serhiy Storchaka [Wed, 9 Dec 2015 17:44:30 +0000 (19:44 +0200)]
Fixed possible leaks in ElementTree parser.
Zachary Ware [Wed, 9 Dec 2015 07:53:44 +0000 (01:53 -0600)]
Clarify that only *documentation* bugs should go to docs@python.org
Serhiy Storchaka [Sun, 6 Dec 2015 21:51:53 +0000 (23:51 +0200)]
Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().
Ned Deily [Sun, 6 Dec 2015 05:00:57 +0000 (00:00 -0500)]
merge heads
Benjamin Peterson [Sun, 6 Dec 2015 04:52:43 +0000 (20:52 -0800)]
remove pointless keys() call
Ned Deily [Sun, 6 Dec 2015 04:47:34 +0000 (23:47 -0500)]
Issue #25798: Update OS X 10.5+ 32-bit-only installer to build
and link with OpenSSL 1.0.2e.
Benjamin Peterson [Sat, 5 Dec 2015 19:46:21 +0000 (11:46 -0800)]
off to 2.7.12 we go
Benjamin Peterson [Sat, 5 Dec 2015 19:45:48 +0000 (11:45 -0800)]
merge 2.7.11 branch
Benjamin Peterson [Sat, 5 Dec 2015 19:45:22 +0000 (11:45 -0800)]
Added tag v2.7.11 for changeset
6d1b6a68f775
Benjamin Peterson [Sat, 5 Dec 2015 19:45:17 +0000 (11:45 -0800)]
2.7.11 final