In open(), only set the buffer size from st.st_blksize when it is greater
than 1. This matches the pure Python implementation in _pyio and should
fix a couple of failures on the NetBSD buildbot.
........
Issue #5027: The standard `xml` namespace is now understood by
xml.sax.saxutils.XMLGenerator as being bound to
http://www.w3.org/XML/1998/namespace. Patch by Troy J. Farrell.
........
Barry Warsaw [Fri, 22 Oct 2010 15:31:44 +0000 (15:31 +0000)]
Only hack cmd.library_dirs when running under Py_ENABLE_SHARED. Tested both
with and without --enable-shared on Ubuntu 10.10. Hopefully this finally
solves bug 10126. Will check 3.1 and py3k next.
#9289: Workaround for test_long_key(test_winreg) failure on Win2000.
RegDeleteKeyA fails with ERROR_MORE_DATA if the length of 2nd
parameter exceeds 260.
Barry Warsaw [Thu, 21 Oct 2010 22:13:29 +0000 (22:13 +0000)]
Fix issue 10126 for Python 2.7 by using $RUNSHARED to find the
directory to the shared library. test_distutils now passes when
Python was built with --enable-shared.
Fix #10162: Add try/except around _winreg.OpenKey for keys that are
unreadable by all users, e.g., Flash, Silverlight, and Java keys were
causing errors.
We don't currently have a way to grant/deny permissions for a key
via winreg so there are no tests for this.
........
Without this patch you'll get link errors in some extensions
(in particular the _curses_panel) one when you try to build
a 3-way universal framework when you previously installed a
2-way universal framework using the python.org installer.
........
Don't lie about the supported architectures in the OSX installer
Without this patch the i386/x86_64 installer for OSX 10.6
lies in the ReadMe file and the "Important Information" screen
of the installer (that is, the installer claims it supports
the i386 and ppc architectures insetead of the ones it really
supports)
........
Issue #5117: Case normalization was needed on ntpath.relpath(). And
fixed root directory issue on posixpath.relpath(). (Ported working fixes
from ntpath)
........
* Applys part of the patch from http://bugs.python.org/issue3631 to add
a py_decref macro, fixup the pyo macro and reuse it and avoid a memory
leak introduced by the pylocals macro.
* Adds a note about gdb 7 python debugging support with links for
more info on that.
........
fix for netbsd.
........
r85587 | gregory.p.smith | 2010-10-16 17:43:10 -0700 (Sat, 16 Oct 2010) | 3 lines
applying netbsd-wizs-mod.patch from issue5510 -
fixes for netbsd (and dragonflybsd?)
........
r85596 | gregory.p.smith | 2010-10-16 19:14:36 -0700 (Sat, 16 Oct 2010) | 6 lines
Fix multiprocessing Semaphore's on netbsd5. SEM_VALUE_MAX is defined
as (~0U) on NetBSD which was causing it to appear as -1 when used as
a signed int for _multprocessing.SemLock.SEM_VALUE_MAX. This works
around the problem by substituting INT_MAX on systems where it appears
negative when used as an int.
........
r85597 | gregory.p.smith | 2010-10-16 19:57:19 -0700 (Sat, 16 Oct 2010) | 2 lines
skip test_itimer_virtual on NetBSD to prevent the test suite from hanging.
........
r85598 | gregory.p.smith | 2010-10-16 20:09:12 -0700 (Sat, 16 Oct 2010) | 2 lines
Merged revisions 85589-85591 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85589 | benjamin.peterson | 2010-10-16 20:25:19 -0500 (Sat, 16 Oct 2010) | 1 line
remove rather pointless test
........
r85590 | benjamin.peterson | 2010-10-16 20:29:11 -0500 (Sat, 16 Oct 2010) | 1 line
disable the garbage collector while collecting traces, so that __del__s don't get caught
........
r85591 | benjamin.peterson | 2010-10-16 20:30:26 -0500 (Sat, 16 Oct 2010) | 1 line
Merged revisions 83852-83853,83857,84042,84216,84274-84276,84375,85388,85478,85506-85508 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r83852 | benjamin.peterson | 2010-08-08 15:45:44 -0500 (Sun, 08 Aug 2010) | 1 line
wrap with parens
........
r83853 | benjamin.peterson | 2010-08-08 15:46:31 -0500 (Sun, 08 Aug 2010) | 1 line
use parens
........
r83857 | benjamin.peterson | 2010-08-08 15:59:49 -0500 (Sun, 08 Aug 2010) | 1 line
things which use touch_import should be pre order
........
r84042 | george.boutsioukis | 2010-08-14 16:10:19 -0500 (Sat, 14 Aug 2010) | 2 lines
This revision incorporates into the 2to3 tool the new, faster, tree matching algorithm developed during a GSOC project. The algorithm resides in the two added modules, btm_matcher and btm_utils. New code has been added to drive the new matching process in refactor.py and a few minor changes were made in other modules. A BM_compatible flag(False by default) has been added in fixer_base and it is set to True in most of the current fixers.
........
r84216 | benjamin.peterson | 2010-08-19 16:44:05 -0500 (Thu, 19 Aug 2010) | 1 line
allow star_expr in testlist_gexp
........
r84274 | benjamin.peterson | 2010-08-22 18:40:46 -0500 (Sun, 22 Aug 2010) | 1 line
wrap long line
........
r84275 | benjamin.peterson | 2010-08-22 18:42:22 -0500 (Sun, 22 Aug 2010) | 1 line
cleanup
........
r84276 | benjamin.peterson | 2010-08-22 18:51:01 -0500 (Sun, 22 Aug 2010) | 1 line
when there's a None value and a traceback, don't call type with it #9661
........
r84375 | george.boutsioukis | 2010-08-31 08:38:53 -0500 (Tue, 31 Aug 2010) | 3 lines
Idiomatic code changes & stylistic issues fixed in the BottomMatcher module. Thanks to Benjamin Peterson for taking the time to review the code.
........
r85388 | benjamin.peterson | 2010-10-12 17:27:44 -0500 (Tue, 12 Oct 2010) | 1 line
fix urllib fixer with multiple as imports on a line #10069
........
r85478 | benjamin.peterson | 2010-10-14 08:09:56 -0500 (Thu, 14 Oct 2010) | 1 line
stop abusing docstrings
........
r85506 | benjamin.peterson | 2010-10-14 17:45:19 -0500 (Thu, 14 Oct 2010) | 1 line
kill sibling import
........
r85507 | benjamin.peterson | 2010-10-14 17:54:15 -0500 (Thu, 14 Oct 2010) | 1 line
remove trailing whitespace
........
r85508 | benjamin.peterson | 2010-10-14 17:55:28 -0500 (Thu, 14 Oct 2010) | 1 line
Fix the regex to match all kind of filenames, for interactive debugging in doctests. (issue #9409)
........
r85500 | florent.xicluna | 2010-10-14 23:35:58 +0200 (jeu., 14 oct. 2010) | 2 lines
Add test case for issue #9409, non-ascii char in doctest. It passes in 3.2 but needs fixing in 2.7.
........
Issue #6612: Fix site and sysconfig to catch os.getcwd() error, eg. if the
current directory was deleted.
........
r85387 | victor.stinner | 2010-10-13 00:26:08 +0200 (mer., 13 oct. 2010) | 2 lines
#6612: add the author of the patch (W. Trevor King)
........
r85389 | victor.stinner | 2010-10-13 00:42:37 +0200 (mer., 13 oct. 2010) | 2 lines
#4661: add bytes parsing and generation to email (email version bump to 5.1.0)
The work on this is not 100% complete, but everything is present to
allow real-world testing of the code. The only remaining major todo
item is to (hopefully!) enhance the handling of non-ASCII bytes in headers
converted to unicode by RFC2047 encoding them rather than replacing them with
'?'s.
........
r85326 | r.david.murray | 2010-10-08 17:37:39 -0400 (Fri, 08 Oct 2010) | 2 lines
Fix #8584. Fix the skipping of a number of tests due to incorrect importing.
This undoes a previous attempt to fix some of the skips. Value and copy
come from sharedctypes rather than plain ctypes, and the test skipping is
then done at the class level rather than test-by-test.
There are zero skipped tests after the fix.
........
Georg Brandl [Wed, 6 Oct 2010 09:50:09 +0000 (09:50 +0000)]
Blocked revisions 82804,83234,83605-83618,83649,84011,84016-84017,84020,84142,84249,84407,84448,84476-84479,84481,84520,84522,84528-84529,84533,84542,84552,84579,84684,84705-84706,84747,84751,84899,84903,85132,85228 via svnmerge
Allow set literals in literal_eval().
........
r83234 | georg.brandl | 2010-07-29 18:01:11 +0200 (Do, 29 Jul 2010) | 1 line
#6522: add a "decorator" directive to explicitly document decorators, and use it in a few places.
........
r83605 | georg.brandl | 2010-08-03 00:08:58 +0200 (Di, 03 Aug 2010) | 1 line
Make the Pynche tool work with Python 3.
........
r83606 | georg.brandl | 2010-08-03 00:25:16 +0200 (Di, 03 Aug 2010) | 1 line
Minimum fixes to make freeze.py do something useful.
........
r83607 | georg.brandl | 2010-08-03 00:28:01 +0200 (Di, 03 Aug 2010) | 1 line
Remove faqwiz tool.
........
r83608 | georg.brandl | 2010-08-03 00:31:22 +0200 (Di, 03 Aug 2010) | 1 line
Update README for Tools.
........
r83609 | georg.brandl | 2010-08-03 00:53:22 +0200 (Di, 03 Aug 2010) | 1 line
Update README, remove obsolete scripts.
........
r83610 | georg.brandl | 2010-08-03 00:55:17 +0200 (Di, 03 Aug 2010) | 1 line
Update README, remove obsolete script.
........
r83611 | georg.brandl | 2010-08-03 00:58:25 +0200 (Di, 03 Aug 2010) | 1 line
Make the framer run (still generates wrong code for module creation though.)
........
r83612 | georg.brandl | 2010-08-03 00:59:44 +0200 (Di, 03 Aug 2010) | 1 line
Fix unicode literal.
........
r83613 | georg.brandl | 2010-08-03 01:13:12 +0200 (Di, 03 Aug 2010) | 1 line
Update Demo README.
........
r83614 | georg.brandl | 2010-08-03 01:13:24 +0200 (Di, 03 Aug 2010) | 1 line
Make minigzip work again.
........
r83615 | georg.brandl | 2010-08-03 01:15:58 +0200 (Di, 03 Aug 2010) | 1 line
Another demo that at least runs again.
........
r83616 | georg.brandl | 2010-08-03 01:17:21 +0200 (Di, 03 Aug 2010) | 1 line
Remove obsolete pdist demo.
........
r83617 | georg.brandl | 2010-08-03 01:18:35 +0200 (Di, 03 Aug 2010) | 1 line
Remove reference to removed faqwiz tool.
........
r83618 | georg.brandl | 2010-08-03 01:30:09 +0200 (Di, 03 Aug 2010) | 1 line
Fix-up some tkinter demos.
........
r83649 | georg.brandl | 2010-08-03 09:56:50 +0200 (Di, 03 Aug 2010) | 1 line
Fix regrtest -F.
........
r84011 | georg.brandl | 2010-08-14 15:43:37 +0200 (Sa, 14 Aug 2010) | 1 line
There are no *.doc files anymore. Also update "funny" target.
........
r84016 | georg.brandl | 2010-08-14 17:46:15 +0200 (Sa, 14 Aug 2010) | 1 line
Wording fix.
........
r84017 | georg.brandl | 2010-08-14 17:46:59 +0200 (Sa, 14 Aug 2010) | 1 line
Typo fix.
........
r84020 | georg.brandl | 2010-08-14 17:57:20 +0200 (Sa, 14 Aug 2010) | 1 line
Fix format.
........
r84142 | georg.brandl | 2010-08-17 17:07:14 +0200 (Di, 17 Aug 2010) | 1 line
Consistency check for versionadded/changed directives.
........
r84249 | georg.brandl | 2010-08-22 01:20:01 +0200 (So, 22 Aug 2010) | 1 line
Remove usage of rexec in tkinter demo.
........
r84407 | georg.brandl | 2010-09-01 23:02:50 +0200 (Mi, 01 Sep 2010) | 1 line
Use tabs consistently.
........
r84477 | georg.brandl | 2010-09-04 00:19:07 +0200 (Sa, 04 Sep 2010) | 1 line
Fix typos and use tabs consistently.
........
r84478 | georg.brandl | 2010-09-04 00:20:58 +0200 (Sa, 04 Sep 2010) | 1 line
Make PEP section a bit less ugly and at least list implemented PEPs.
........
r84479 | georg.brandl | 2010-09-04 00:29:08 +0200 (Sa, 04 Sep 2010) | 1 line
Revert unintended change from r84458.
........
r84481 | georg.brandl | 2010-09-04 00:36:22 +0200 (Sa, 04 Sep 2010) | 1 line
#9767: doctest run over json docs.
........
r84520 | georg.brandl | 2010-09-05 10:28:41 +0200 (So, 05 Sep 2010) | 1 line
Fix reST in NEWS, and remove NEWS.help (all committers should now know reST anyway, and for those who do not, there is Documenting Python.)
........
r84542 | georg.brandl | 2010-09-05 23:29:17 +0200 (So, 05 Sep 2010) | 1 line
Get rid of tabs.
........
r84899 | georg.brandl | 2010-09-19 10:55:36 +0200 (So, 19 Sep 2010) | 1 line
Add "concurrent" subdir to Makefile.
........
r84903 | georg.brandl | 2010-09-19 11:31:09 +0200 (So, 19 Sep 2010) | 1 line
Edit concurrent docs, add versionadded and see also reference to the PEP.
........
r85132 | georg.brandl | 2010-10-01 07:38:10 +0200 (Fr, 01 Okt 2010) | 1 line
Fix weird markup that caused latex to fail.
........
r85228 | georg.brandl | 2010-10-05 09:16:01 +0200 (Di, 05 Okt 2010) | 1 line
High byte is the exit status.
........
r82958 | jean-paul.calderone | 2010-07-18 18:13:27 +0200 (So, 18 Jul 2010) | 1 line
There is no method named "register(fd, eventmask)"; fix markup to just indicate this is code.
........
r82959 | jean-paul.calderone | 2010-07-18 18:30:31 +0200 (So, 18 Jul 2010) | 1 line
Document the extra epoll flags
........
r83109 | brett.cannon | 2010-07-23 18:58:21 +0200 (Fr, 23 Jul 2010) | 4 lines
Mention in the fnmatch docs that meta-characters in translate cannot be quoted.
Closes issue 9358. Thanks to Brian Brazil for the patch.
........
r83127 | martin.v.loewis | 2010-07-24 12:09:11 +0200 (Sa, 24 Jul 2010) | 2 lines
Put listdir default argument into declaration.
........
r83224 | mark.dickinson | 2010-07-29 15:56:56 +0200 (Do, 29 Jul 2010) | 1 line
Add xml subpackages, since they are likely to have different maintainers.
And if not they can be merged back together when that becomes apparent.
........
r83982 | r.david.murray | 2010-08-13 20:16:35 +0200 (Fr, 13 Aug 2010) | 4 lines
Per request, make 'nosy' vs 'assign' explicit in maintainers.rst.
Also add myself as assignable for email issues.
........
r84000 | eric.araujo | 2010-08-14 06:56:48 +0200 (Sa, 14 Aug 2010) | 2 lines
Let's commit
........
r84005 | ezio.melotti | 2010-08-14 10:54:33 +0200 (Sa, 14 Aug 2010) | 1 line
Revert r82831 as discussed at EP now that the wording of maintainers.rst has been clarified.
........
r84006 | ezio.melotti | 2010-08-14 11:02:36 +0200 (Sa, 14 Aug 2010) | 1 line
Add myself for the bug tracker (and for re).
........
r84007 | antoine.pitrou | 2010-08-14 14:06:40 +0200 (Sa, 14 Aug 2010) | 3 lines
Add myself to threads topic (suggested by Ezio)
........
r84105 | tim.golden | 2010-08-16 22:10:39 +0200 (Mo, 16 Aug 2010) | 1 line
Add Tim Golden as interested in Windows
........
r84260 | vinay.sajip | 2010-08-22 20:41:24 +0200 (So, 22 Aug 2010) | 1 line
Georg Brandl [Wed, 6 Oct 2010 09:28:45 +0000 (09:28 +0000)]
Merged revisions 82798,82805,83659,83977,84015,84018,84141,84264,84326-84327,84480,84482,84484,84530-84531,84553,84619,84915-84916 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
#7935: cross-reference to ast.literal_eval() from eval() docs.
........
r83659 | georg.brandl | 2010-08-03 14:06:29 +0200 (Di, 03 Aug 2010) | 1 line
Terminology fix: exceptions are raised, except in generator.throw().
........
r83977 | georg.brandl | 2010-08-13 17:10:49 +0200 (Fr, 13 Aug 2010) | 1 line
Fix copy-paste error.
........
r84015 | georg.brandl | 2010-08-14 17:44:34 +0200 (Sa, 14 Aug 2010) | 1 line
Add some maintainers.
........
r84018 | georg.brandl | 2010-08-14 17:48:49 +0200 (Sa, 14 Aug 2010) | 1 line
Typo fix.
........
r84141 | georg.brandl | 2010-08-17 16:11:59 +0200 (Di, 17 Aug 2010) | 1 line
Markup nits.
........
r84264 | georg.brandl | 2010-08-22 22:23:38 +0200 (So, 22 Aug 2010) | 1 line
#9649: fix default value description.
........
r84326 | georg.brandl | 2010-08-26 16:30:15 +0200 (Do, 26 Aug 2010) | 1 line
#9689: add links from overview to in-depth class API descriptions.
........
r84327 | georg.brandl | 2010-08-26 16:30:56 +0200 (Do, 26 Aug 2010) | 1 line