Senthil Kumaran
b968b36ad0
merge heads
2012-03-13 00:15:15 -07:00
Ezio Melotti
b56b6fff1f
#14179 : add tests for re.compile. Patch by Florian Mladitsch.
2012-03-13 01:25:40 +02:00
Senthil Kumaran
c768d4caa8
closes issue14257 - Grammatical fix
2012-03-12 10:05:04 -07:00
Senthil Kumaran
814d316888
closes issue14257 minor error in glossary wording regarding __hash__
2012-03-11 21:04:05 -07:00
Senthil Kumaran
15b6f3f825
Fix closes issue14258 - added clarification to \W and \S flags
2012-03-11 20:37:39 -07:00
Ezio Melotti
b60156e809
#14161 : fix test failures on Windows.
2012-03-12 02:09:02 +02:00
Ezio Melotti
eace3a7261
#14161 : fix compile error under Windows.
2012-03-12 01:28:45 +02:00
Ezio Melotti
11f8b6872a
#14161 : fix the __repr__ of file objects to escape the file name.
2012-03-12 01:17:02 +02:00
Antoine Pitrou
f60845b70a
Issue #14252 : Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.
2012-03-11 19:29:12 +01:00
Mark Dickinson
5081957642
Closes #9574 : Note that complex constructor doesn't allow whitespace around central operator.
2012-03-10 16:09:35 +00:00
Jason R. Coombs
e107ab3b6c
Moved symlink support into its own module. Ported can_symlink from Python 3.2, skipping symlink test when it cannot be invoked (such as when the symlink privilege is not present).
2012-03-08 18:28:08 -05:00
Jason R. Coombs
ea4629afa6
Improve the test case to avoid spurious errors about already existing symlinks.
2012-03-08 10:31:29 -05:00
Jason R. Coombs
0e17dfbdcf
Test in 6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again.
2012-03-08 09:56:00 -05:00
Jason R. Coombs
4a24283272
Adding regression test for issue6727
2012-01-15 11:45:27 -05:00
Jason R. Coombs
0737b7281e
Fix indentation
2012-01-13 17:59:05 -05:00
Jason R. Coombs
fa93cf8e3e
Extracted Windows directory detection from NullImporter.__init__. This greatly simplifies the code and fixes issue6727.
2012-01-13 17:37:18 -05:00
Jason R. Coombs
925ff7495b
Moved directory detection into an isdir function
2012-01-13 17:12:25 -05:00
Benjamin Peterson
a84f468cf1
move notes for 2.7.4 to the right place
2012-03-07 19:17:57 -06:00
Benjamin Peterson
a8d458560e
allow cycles throught the __dict__ slot to be cleared ( closes #1469629 )
...
Patch from Armin, test from me.
2012-03-07 18:41:11 -06:00
Éric Araujo
ec17afdfda
Backout buggy patch for #13719
2012-03-07 21:00:44 +01:00
Jason R. Coombs
d6a80ee2c7
Use PEP-8 style in logging example
2012-03-07 10:24:04 -05:00
Vinay Sajip
da563bfa48
Closes #14158 : We now track test_support.TESTFN cleanup, and test_mailbox uses shutil.rmtree for simpler code.
2012-03-06 20:07:15 +00:00
Éric Araujo
1bf6bb6c37
Fix NameError
2012-03-05 17:00:49 +01:00
Éric Araujo
dcd280480f
Make distutils’ upload command work with bdist_msi products ( #13719 ).
...
Patch by Ralf Schmitt.
2012-03-05 16:47:33 +01:00
Éric Araujo
d2e19b5173
Move xml.etree higher and xml.parsers.expat lower in the markup ToC.
...
I assume that most users looking at this page are looking for a library
to process XML, not a low-level parser. First proposed in #11379 .
2012-03-05 16:44:49 +01:00
Éric Araujo
76c6aa860c
Use source reST role instead of file where it makes sense.
...
source generates a nifty link to the Mercurial web viewer.
2012-03-05 16:43:41 +01:00
Éric Araujo
47546e6e3d
Remove mention of defunct file.
...
Misc/COPYRIGHT was renamed twelve years ago to LICENSE and later copied
to the main docs, to which there is already a link.
2012-03-05 16:30:46 +01:00
Éric Araujo
7c16412425
Use raw string for a docstring that uses a backslash
2012-03-05 16:29:30 +01:00
Meador Inge
104f18977f
Issue #14195 : Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.
2012-03-04 22:02:17 -06:00
Antoine Pitrou
94c2d6df54
Fix some set algebra methods of WeakSet objects.
2012-03-04 20:47:05 +01:00
Antoine Pitrou
859416e980
Fix sporadic failure in test_weakset
2012-03-04 20:20:34 +01:00
Armin Rigo
1cb2e04238
Add a crasher for the documented issue of calling "Py_DECREF(self->xxx)";
2012-03-04 18:56:23 +01:00
Georg Brandl
21ccb7318d
Fix link to global module index.
2012-03-03 21:25:42 +01:00
Eli Bendersky
2b65408dec
Issue #11379 : add a note in xml.dom.minidom suggesting to use etree in some cases
2012-03-02 07:45:55 +02:00
Petri Lehtinen
a15a8d2a0c
sqlite3: Port relevant documentation changes from 3.2
...
Initial patch by Johannes Vogel. Issue #13491 .
2012-03-01 21:48:30 +02:00
Antoine Pitrou
c56bca31e9
Issue #14159 : Fix the len() of weak sets to return a better approximation when some objects are dead or dying.
...
Moreover, the implementation is now O(1) rather than O(n).
Thanks to Yury Selivanov for reporting.
2012-03-01 16:26:35 +01:00
Stefan Krah
4666ebd8fa
Issue #14152 : backport fix.
2012-02-29 14:17:18 +01:00
Ezio Melotti
ca666245e7
#14089 : increase coverage of the fractions module. Patch by Oleg Plakhotnyuk.
2012-02-29 14:04:02 +02:00
Ezio Melotti
d9de93eb67
#14155 : remove duplication about search vs match in re doc.
2012-02-29 13:37:07 +02:00
Ezio Melotti
38ae5b2392
#10713 : Improve documentation for \b and \B and add a few tests. Initial patch and tests by Martin Pool.
2012-02-29 11:40:00 +02:00
Larry Hastings
0555cde98d
Issue #13086 : Update howto/cporting.rst to discuss "Python 3" instead of "3.0".
2012-02-28 15:17:23 -08:00
Nadeem Vawda
a6bdfd1fa9
Give better failure messages in test_strptime (cf. issue #14113 ).
2012-02-29 00:21:40 +02:00
Martin v. Löwis
58e5257e92
null-merge v2.6.8rc1 tag
2012-02-28 09:31:41 +01:00
Antoine Pitrou
6a1cd1b3b1
Issue #13521 : dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes.
...
Patch by Filip Gruszczyński.
2012-02-27 00:45:12 +01:00
Éric Araujo
92904d3a4a
Branch merge
2012-02-26 03:48:36 +01:00
Éric Araujo
6d37c4e388
Add versionadded for sys.flags.hash_randomization variable
2012-02-26 02:03:39 +01:00
Éric Araujo
060b812a4b
Fix markup errors
2012-02-26 02:00:35 +01:00
Éric Araujo
ae50babe32
Synchronize some distutils tests with 3.2.
...
- Actually check the contents of the file created by bdist_dumb.
- Don’t use “RECORD” as filename for non-PEP 376 record file
- Don’t start method name with “_test”, it looks like a disabled test
method instead of an helper method
- Fix some idioms (assertIn, addCleanup)
2012-02-26 01:53:53 +01:00
Éric Araujo
7f4b3be2cc
Fix typo “seperator”
2012-02-26 01:41:39 +01:00
Éric Araujo
a358bc3ca2
State explicitely that PYTHONDONTWRITEBYTECODE is equivalent to -B
2012-02-26 01:38:26 +01:00