230 Commits (bcc17eefd2b630aca2fc0f4e27f274a028030542)

Author SHA1 Message Date
Benjamin Peterson 72288d4f3c code style 15 years ago
R. David Murray 6bb9989ae3 #1574217: only swallow AttributeErrors in isinstance, not everything. 15 years ago
Benjamin Peterson 8042f4af29 Merged revisions 84714 via svnmerge from 16 years ago
Benjamin Peterson 568867a6f2 check for NULL tp_as_mapping in PySequence_(Get/Set/Del)Slice #9834 16 years ago
Antoine Pitrou b83df8f1b7 Merged revisions 84391 via svnmerge from 16 years ago
Antoine Pitrou f68c2a701b Issue #3101: Helper functions _add_one_to_C() and _add_one_to_F() become 16 years ago
Alexander Belopolsky f0f45142d5 Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99 16 years ago
Benjamin Peterson 26eb9d0b47 Merged revisions 82342 via svnmerge from 16 years ago
Benjamin Peterson e893af5ab7 update error message 16 years ago
Benjamin Peterson 6f889ad32f Merged revisions 81712 via svnmerge from 16 years ago
Benjamin Peterson da2cf04c28 Merged revisions 81706-81707 via svnmerge from 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Gregory P. Smith 68f52178d9 * Fix the refcount leak in _PySequence_BytesToCharpArray from r78946. 16 years ago
Gregory P. Smith fb94c5f1e5 * Replaces the internals of the subprocess module from fork through exec on 16 years ago
Benjamin Peterson 8f326b2369 Merged revisions 76052,76522,76591,76689,76697,76733 via svnmerge from 16 years ago
Georg Brandl c5605dffdb Merged revisions 73941-73943,74076,74094,74186,74211-74214,74247,74254,74262,74311,74334,74368 via svnmerge from 17 years ago
Georg Brandl 61b96dc2fe Slightly improve buffer-related error message. 17 years ago
Benjamin Peterson 94c65d9a8f Merged revisions 72907 via svnmerge from 17 years ago
Georg Brandl dcfe8e44c3 Remove unused variables. 17 years ago
Benjamin Peterson 88fe5f9776 Merged revisions 72690 via svnmerge from 17 years ago
Benjamin Peterson b0ba27dff1 only need to catch an TypeError here 17 years ago
Benjamin Peterson e18df23d5d Merged revisions 72518 via svnmerge from 17 years ago
Benjamin Peterson a5758c0120 Merged revisions 72508 via svnmerge from 17 years ago
Georg Brandl 0192bffe90 Merged revisions 71607,71653,71696,71771,71786 via svnmerge from 17 years ago
Mark Dickinson 934896dc09 Merged revisions 69846 via svnmerge from 17 years ago
Raymond Hettinger 5d65412d35 Validate that __length_hint__ returns a usable result. 17 years ago
Raymond Hettinger e8364233ae Issue 1242657: list(obj) can swallow KeyboardInterrupt. 17 years ago
Mark Dickinson f02e0aaafd Issue #1717: remove the cmp builtin function, the C-API functions 17 years ago
Amaury Forgeot d'Arc f343e01c17 Merged revisions 68560 via svnmerge from 17 years ago
Mark Dickinson e5e298f875 Issue #4910 (1st patch of a series): fix int() and the corresponding 17 years ago
Benjamin Peterson 60320cb3e4 #3946 fix PyObject_CheckBuffer on a memoryview object 18 years ago
Benjamin Peterson 9edd2bd35c Fix #3651 various memory leaks when using the buffer interface 18 years ago
Antoine Pitrou ec569b7947 Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as to 18 years ago
Martin v. Löwis 74bbea7ed7 Merged revisions 65677-65678,65683 via svnmerge from 18 years ago
Martin v. Löwis 423be95dcf Merged revisions 65654 via svnmerge from 18 years ago
Georg Brandl 86b2fb9d77 Merged revisions 64623,64640,64665,64687,64689-64690,64719,64721,64735,64742,64744-64746,64756-64761,64767-64769,64771-64772,64774-64775,64788,64793,64835-64836 via svnmerge from 18 years ago
Raymond Hettinger 5c960b8c64 Revert 64451. 18 years ago
Raymond Hettinger d11a44312f Merge 64438: hex/oct/bin can show floats exactly. 18 years ago
Travis E. Oliphant 3900088cb6 Remove locking from buffer protocol as-per discussion. 18 years ago
Christian Heimes 72b710a596 Renamed PyString to PyBytes 18 years ago
Trent Nelson 7179220b57 Issue 2440: revert r62269 and r62279. These changes were made in an effort to fix test_args2.Signed_TestCase.test_n(), which was failing on Windows x64 on the following line: 'self.failUnlessEqual(99, getargs_n(Long()))'. Although the two commits *did* fix the test on Windows x64, it's become clear that it's the test that's incorrect, and the changes to PyNumber_Index() in particular were not warranted (and actually violate PEP 357). This commit will get us back to where we were at r62268, before I started butchering things. 18 years ago
Trent Nelson d12fbe9ef7 Fix change to PyNumber_Index() made in r62269, which incorrectly allowed floats to be interpreted as longs. Thanks to Benjamin Peterson for picking this up. 18 years ago
Trent Nelson e2ae4684a5 Issue 2440: fix the handling of %n in Python/getargs.c's convertsimple(), extend Objects/abstract.c's PyNumber_Index() to accept PyObjects that have nb_int slots, and update test_getargs2 to test that an exception is thrown when __int__() returns a non-int object. 18 years ago
Christian Heimes e25f35ecd8 Merged revisions 61644,61646-61647,61649-61652,61656-61658,61663,61665,61667 via svnmerge from 18 years ago
Christian Heimes d5e2b6f3bc Merged revisions 61538-61540,61556,61559-61560,61563,61565,61571,61575-61576,61580-61582,61586,61591,61593,61595,61605-61606,61613-61616,61618,61621-61623,61625,61627,61631-61634 via svnmerge from 18 years ago
Gregory P. Smith 4621875407 Fix an apparent typo. This test of the readonly boolean should have been != 0 18 years ago
Eric Smith 8fd3eba050 Fixes for shared 2.6 code that implements PEP 3101, advanced string 18 years ago
Christian Heimes a156e09b19 Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60730,60732,60736,60742,60744,60746,60748,60750-60751,60753,60756-60757,60759-60761,60763-60764,60766,60769-60770,60774-60784,60787-60845 via svnmerge from 18 years ago
Christian Heimes 15ebc88d87 Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552-60567 via svnmerge from 18 years ago