Commit graph

13991 commits

Author SHA1 Message Date
Raymond Hettinger
b516370bcb Issue 1242657: list(obj) can swallow KeyboardInterrupt. 2009-02-02 21:50:13 +00:00
Guilherme Polo
b98cb43e4a Moving to importlib 2009-02-02 20:28:59 +00:00
Guilherme Polo
b64c989efc Restore the previous geometry before leaving the test 2009-02-02 20:23:29 +00:00
Guilherme Polo
905c6b7f48 Use a single Tcl interpreter through all these tests, this may help some
failing buildbots.
2009-02-02 00:38:54 +00:00
Guilherme Polo
3b331dd3ea Restore Tkinter.Tk._loadtk so this test doesn't fail for problems
related to ttk.
2009-02-01 02:56:16 +00:00
Gregory P. Smith
de1a8b720a - Issue #5104: The socket module now raises OverflowError when 16-bit port and
protocol numbers are supplied outside the allowed 0-65536 range on bind()
  and getservbyport().
2009-01-31 22:57:30 +00:00
Benjamin Peterson
fb921e2c00 I believe the intention here was to avoid a global lookup 2009-01-31 21:00:10 +00:00
Mark Dickinson
f709ab8526 Add an extra test for long <-> float hash equivalence. 2009-01-31 16:44:04 +00:00
Benjamin Peterson
1de05e9b2a check the errno in bad fd cases 2009-01-31 01:42:55 +00:00
Benjamin Peterson
b3619be995 make _tkinter._flatten check the result of PySequence_Size for errors #3880 2009-01-30 02:24:39 +00:00
Benjamin Peterson
4a69410e9f pep8tify conditionals 2009-01-30 02:02:25 +00:00
Tarek Ziadé
5da9a51d9d fixed test_make_distribution so it runs on any platform, as long as tar an gzip are available 2009-01-29 23:49:17 +00:00
Antoine Pitrou
707c593761 Issue #2047: shutil.move() could believe that its destination path was
inside its source path if it began with the same letters (e.g. "src" vs.
"src.new").
2009-01-29 20:19:34 +00:00
Mark Hammond
6ed1cb0014 Fix issue5075: bdist_wininst should not depend on the vc runtime? 2009-01-29 12:13:31 +00:00
Raymond Hettinger
f779e6f51b Issue 4920: Fixed next() vs __next__() issues in the ABCs
for Iterator and MutableSet.  Also added thorough test for
required abstractmethods.
2009-01-28 23:02:26 +00:00
Guilherme Polo
b1a98de25e Issue #5083: New 'gui' resource for regrtest. 2009-01-28 20:03:26 +00:00
Guilherme Polo
6d51f12c5e Make sure the root windows gets destroyed 2009-01-28 20:02:01 +00:00
Guilherme Polo
7a77ee88af * Renaming test_tk_* to test_ttk_* since that is what they are testing.
* Added ttk tests to the expected skips mapping just like where test_tcl
was expected to be skipped too.
2009-01-28 19:28:04 +00:00
Guilherme Polo
6785cf0169 Added support for collecting tests only from specific packages. 2009-01-28 19:23:28 +00:00
Guilherme Polo
cda93aafde Added the ttk module. See issue #2983: Ttk support for Tkinter. 2009-01-28 13:09:03 +00:00
Benjamin Peterson
fd0107fdf9 use True and False 2009-01-27 23:15:48 +00:00
Raymond Hettinger
560f9a8a90 Add more tests for the powerset() recipe. 2009-01-27 13:26:35 +00:00
Raymond Hettinger
2f6c2e03a8 More exhaustive combinatoric checks. 2009-01-27 10:36:14 +00:00
Raymond Hettinger
ecf252abac Issue 5021: doctest.testfile should set __name__ 2009-01-27 10:03:04 +00:00
Raymond Hettinger
f93f3032c6 Stronger tests for combinatoric relationships. 2009-01-27 09:52:35 +00:00
Raymond Hettinger
2976aaa396 Add tests to verify combinatoric relationships. 2009-01-27 09:33:06 +00:00
Benjamin Peterson
1763f8adb4 excellent place to use a set() #5069 2009-01-27 03:07:53 +00:00
Raymond Hettinger
d081abc8be Promote combinations_with_replacement() from a recipe to a regular itertool. 2009-01-27 02:58:49 +00:00
Raymond Hettinger
bf3f69ee85 Remove startup firewall message. That is handled by an error dialog
whenever a connection cannot be formed.  Also, the Idle version number
is already in the About Idle dialog.  Now, the startup is clean looking
once again.
2009-01-26 23:29:09 +00:00
Mark Dickinson
c028abf3cd Issue #5073: Fix occasional failure of bsddb/test/test_lock.py. Thanks
Hirokazu Yamamoto for the patch.
2009-01-26 21:51:56 +00:00
Brett Cannon
93881c6c58 Backport importlib in the form of providing importlib.import_module(). This has
been done purely to help transitions from 2.7 to 3.1.
2009-01-26 01:16:50 +00:00
Tarek Ziadé
aaedcef578 Fixed #1885: --formats=tar,gztar was not working properly in the sdist command 2009-01-25 23:34:00 +00:00
Tarek Ziadé
7c28be8df5 added missing module docstring 2009-01-25 22:11:04 +00:00
Tarek Ziadé
9f369e9163 Issue #5052: removed backward compatibility information (out of date) 2009-01-25 22:09:10 +00:00
Raymond Hettinger
68d919e4d6 Improved itertools recipe for generating powerset(). 2009-01-25 21:31:47 +00:00
Raymond Hettinger
2bcb8e9b0d Promote compress() from a recipe to being a regular itertool. 2009-01-25 21:04:14 +00:00
Tarek Ziadé
1af3b5a9a4 Issue #4863, removing remaining bits 2009-01-25 19:29:10 +00:00
Tarek Ziadé
ef249b13eb Fixed #4863: removed distutils.mwerkscompiler 2009-01-25 18:19:25 +00:00
Benjamin Peterson
78821ddf8c fix building the core with --disable-unicode
I changed some bytearray methods to use strings instead of unicode like bytes_repr
Also, bytearray.fromhex() can take strings as well as unicode
2009-01-25 17:15:10 +00:00
Mark Dickinson
e52c31450d Remove uses of cmp from the decimal module. 2009-01-25 10:39:15 +00:00
Jesse Noller
b5a4b0abed Properly document multiprocessing's logging support, resolve outstanding issues with the custom levels 2009-01-25 03:36:13 +00:00
Mark Dickinson
10085c656f Issue #3657: fix occasional test_pickletools failures. 2009-01-24 21:08:38 +00:00
Mark Dickinson
a3ecd2c668 Issue #1672332: Fix unpickling of subnormal floats, which was raising
ValueError on some platforms as a result of the platform strtod setting
errno on underflow.
2009-01-24 16:40:29 +00:00
Mark Dickinson
c187d11af3 Issue #5025: Fix occasional test_kqueue failure on OS X. 2009-01-24 16:17:27 +00:00
Martin v. Löwis
f081e1c9d9 Issue #3881: Help Tcl to load even when started through the
unreadable local symlink to "Program Files" on Vista.
2009-01-24 15:47:27 +00:00
Martin v. Löwis
7d7e1b7c2e Add heading for 2.7a0. 2009-01-24 15:45:18 +00:00
Martin v. Löwis
0dfcfc8b59 Issue #4710: Extract directories properly in the zipfile module;
allow adding directories to a zipfile.
2009-01-24 14:00:33 +00:00
Kristján Valur Jónsson
89e759d462 Add a test for UNC import paths, see issue 3677 2009-01-24 10:52:26 +00:00
Raymond Hettinger
1bc1c8ac76 Update comments and add an optimized path for Counter.update(). 2009-01-22 09:05:43 +00:00
Raymond Hettinger
0a1f7b8f72 Tighten-up the docs for Counter(). 2009-01-21 23:12:51 +00:00