157 Commits (b11a951f16f0603d98de24fee5c023df83ea552c)

Author SHA1 Message Date
Christian Heimes 4d8a6f4834 Merged revisions 66748 via svnmerge from 18 years ago
Christian Heimes 32a66a0410 Fixed a couple more C99 comments and one occurence of inline. 18 years ago
Brett Cannon 54bd41d81b The _warnings module did not properly handle cases where strings were not being 18 years ago
Brett Cannon ec92e181fb Merge in r66135. Doing also required removing a stale DeprecationWarning along 18 years ago
Brett Cannon 1eaf0742d8 Move test.test_support.catch_warning() to the warnings module, rename it 18 years ago
Marc-André Lemburg 4cc0f24857 Rename PyUnicode_AsString -> _PyUnicode_AsString and 18 years ago
Georg Brandl 2ee470f7f9 Merged revisions 64722,64729,64753,64845-64846,64849,64871,64880-64882,64885,64888,64897,64900-64901,64915,64926-64929,64938-64941,64944,64961,64966,64973 via svnmerge from 18 years ago
Benjamin Peterson e65282114e implement chained exception tracebacks 18 years ago
Amaury Forgeot d'Arc 2252d11c08 #3342: In tracebacks, printed source lines were not indented since r62555. 18 years ago
Brett Cannon db7349128f Merged revisions 64549 via svnmerge from 18 years ago
Brett Cannon dea1b5653f warnings.warn_explicit() did not have the proper TypeErrors in place to prevent 18 years ago
Martin v. Löwis 1a21451b1d Implement PEP 3121: new module initialization and finalization API. 18 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Benjamin Peterson dacde0d6ae turn PyErr_WarnPy3k into a macro 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Alexandre Vassalotti e9f305fd16 Merged revisions 63208-63209,63211-63212,63214-63217,63219-63224,63226-63227,63229-63232,63234-63235,63237-63239,63241,63243-63246,63250-63254,63256-63259,63261,63263-63264,63266-63267,63269-63270,63272-63273,63275-63276,63278,63280-63281,63283-63284,63286-63287,63289-63290,63292-63293,63295-63296,63298-63299,63301-63302,63304-63305,63307,63309-63314,63316-63322,63324-63325,63327-63335,63337-63338,63340-63342,63344-63346,63348 via svnmerge from 18 years ago
Georg Brandl 9c5b51541c Fix a refleak in the _warnings module. 18 years ago
Christian Heimes 8dc226fccd Merged revisions 62774-62775,62785,62787-62788 via svnmerge from 18 years ago
Benjamin Peterson d295032910 Fix logic error in Python/_warnings.c and add a test to verify 18 years ago
Christian Heimes 5d8da20dd1 Merged revisions 62713,62715,62728,62737,62740,62744,62749,62756 via svnmerge from 18 years ago
Brett Cannon e3dcb01bfc Fix a bug in the handling of the stacklevel argument in warnings.warn() where 18 years ago
Brett Cannon 8a232cc385 Add a DeprecationWarning for when warnings.showwarning() is set to a function 18 years ago
Benjamin Peterson 9f4bf1dcd1 Fix merge error 18 years ago
Christian Heimes 81ee3efede Merged revisions 62425-62429,62434-62436,62441,62444,62446-62448,62450-62455,62463,62465-62466,62469,62474,62476-62478,62480,62485,62492,62497-62498,62500,62507,62513-62514,62516,62521,62531,62535,62545-62546,62548-62551,62553-62559,62569,62574,62577,62593,62595,62604-62606,62608,62616,62626-62627,62636,62638,62644-62645,62647-62648,62651-62653,62656,62661,62663,62680,62686-62687,62696,62699-62703,62711 via svnmerge from 18 years ago
Brett Cannon 64a4bbeb25 Fix the C implementation of 'warnings' to infer the filename of the module that 18 years ago
Brett Cannon ab9cc1b7ad Fix some indentation errors. 18 years ago
Brett Cannon b457ddaff2 Fix a backwards-compatibility mistake where a new optional argument for 18 years ago
Benjamin Peterson a692c4df63 Added PyErr_WarnPy3k function. (issue 2671) I will be converting current Py3k warnings to the use of this function soon. 18 years ago
Neal Norwitz 32dde22186 Merged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464,61466-61467,61469-61470,61476-61477,61479,61481-61482,61485,61487,61490,61493-61494,61497,61499-61502,61505-61506,61508,61511-61514,61519,61521-61522,61530-61531,61533-61537,61541-61555,61557-61558,61561-61562,61566-61569,61572-61574,61578-61579,61583-61584,61588-61589,61592,61594,61598-61601,61603-61604,61607-61612,61617,61619-61620,61624,61626,61628-61630,61635-61638,61640-61643,61645,61648,61653-61655,61659-61662,61664,61666,61668-61671,61673,61675,61679-61680,61682,61685-61686,61689-61695,61697-61699,61701-61703,61706,61710,61713,61717,61723,61726-61730,61736,61738,61740,61742,61745-61752,61754-61760,61762-61764,61768,61770-61772,61774-61775,61784-61787,61789-61792,61794-61795,61797-61806,61808-61809,61811-61812,61814-61819,61824,61826-61833,61835-61840,61843-61845,61848,61850,61854-61862,61865-61866,61868,61872-61873,61876-61877,61883-61888,61890-61891,61893-61899,61901-61903,61905-61912,61914,61917,61920-61921,61927,61930,61932-61934,61939,61941-61942,61944-61951,61955,61960-61963,61980,61982-61983,61991,61994-61996,62001-62003,62008-62010,62016-62017,62022,62024,62027,62031-62034,62041,62045-62046,62055-62058,62060-62066,62068-62074,62076-62079,62081-62083,62086-62089,62092-62094,62098,62101,62104,62106-62109,62115-62122,62124-62125,62128,62130,62132,62134-62135,62137,62139-62140,62144,62146,62151,62155,62157,62162-62166,62171-62172,62175-62176,62178,62181-62186,62188-62192,62196,62200-62203,62206,62211-62213,62215-62218,62222,62224-62226,62228,62232,62236,62240-62245,62248,62250-62254,62256-62258,62262,62264-62265,62267-62270,62272-62276,62280-62288,62291-62292,62299-62301,62307,62312,62316-62318,62322-62331,62333-62337,62339-62344,62346-62348 via svnmerge from 18 years ago
Amaury Forgeot d'Arc f9e7ebe165 Correct a refleak found by "regrtest.py -R:: test_structmembers" 18 years ago
Christian Heimes 33fe8093df Merged revisions 62260-62261,62266,62271,62277-62279,62289-62290,62293-62298,62302-62306,62308,62311,62313-62315,62319-62321 via svnmerge from 18 years ago
Christian Heimes 6715352848 Use PyString_InternFromString instead of PyString_FromString for static vars 18 years ago
Brett Cannon e974689038 Re-implement the 'warnings' module in C. This allows for usage of the 18 years ago