Benjamin Peterson
753d16234f
when print() gets unicode arguments, sep and end should be unicode by default #4618
2009-07-02 18:16:45 +00:00
Benjamin Peterson
4a3cf191f4
small optimization: avoid popping the current block until we have to
2009-07-01 23:45:19 +00:00
Georg Brandl
e323e0e91a
Fix error handling in PyCode_Optimize, by Alexander Schremmer at EuroPython sprint.
2009-06-29 14:44:49 +00:00
Alexandre Vassalotti
7274cffa9e
Update docstrings for sys.getdlopenflags() and sys.setdlopenflags().
2009-06-29 01:01:51 +00:00
Benjamin Peterson
8f7b94eae9
use stack macros
2009-06-28 16:14:07 +00:00
Benjamin Peterson
b8338ab92c
add two generic macros for peeking and setting in the stack
2009-06-28 16:08:02 +00:00
Benjamin Peterson
1a4ceb2f4b
fix grammar
2009-06-23 01:18:57 +00:00
Benjamin Peterson
d9920c255d
remove tmpname support since it's no longer used
2009-06-21 23:03:36 +00:00
Benjamin Peterson
f67caf8523
don't need to add the name 'lambda' as assigned
2009-06-21 23:01:07 +00:00
Benjamin Peterson
5ecf57adcf
remove unused 'encoding' member from the compiler struct
2009-06-17 03:23:04 +00:00
Benjamin Peterson
8fa3e933c1
update ast version
2009-06-13 20:30:48 +00:00
Benjamin Peterson
a72be3b325
when no module is given in a 'from' relative import, make ImportFrom.module NULL
2009-06-13 20:23:33 +00:00
Benjamin Peterson
52c4bec76b
give a better error message when deleting ()
2009-06-13 17:08:53 +00:00
Benjamin Peterson
5d1ff94b9e
set Print.values to NULL if there are no values
2009-06-13 16:19:19 +00:00
Benjamin Peterson
d1f5a59edb
allow importing from a module named None if it has an 'as' clause
2009-06-13 13:06:21 +00:00
Benjamin Peterson
565e1b6bb7
prevent import statements from assigning to None
2009-06-13 03:46:30 +00:00
Benjamin Peterson
4afbba3d34
keep the slice.step field as NULL if no step expression is given
2009-06-13 01:40:00 +00:00
Alexandre Vassalotti
a6e3474d02
Add const qualifier to PyErr_SetFromErrnoWithFilename and to
...
PyErr_SetFromErrnoWithUnicodeFilename.
2009-06-12 20:57:12 +00:00
Benjamin Peterson
4efb5d0b82
remove check for case handled in sub-function
2009-06-11 22:29:23 +00:00
Benjamin Peterson
b266481ed8
revert r73361
2009-06-11 17:49:38 +00:00
Benjamin Peterson
e5fa5fe8fc
remove duplicate check
2009-06-11 16:25:52 +00:00
Benjamin Peterson
a5a5728cf0
remove error checks already done in set_context()
2009-06-08 23:44:13 +00:00
Benjamin Peterson
8ea4ded9a6
remove useless assertion
2009-06-08 22:18:32 +00:00
Antoine Pitrou
46dbe27f7e
Issue #5330 : C functions called with keyword arguments were not reported by
...
the various profiling modules (profile, cProfile). Patch by Hagen Fürstenau.
2009-05-30 21:27:00 +00:00
Jeffrey Yasskin
7937d939b1
Fix nearly all compilation warnings under Apple gcc-4.0. Tested with OPT="-g
...
-Wall -Wstrict-prototypes -Werror" in both --with-pydebug mode and --without.
There's still a batch of non-prototype warnings in Xlib.h that I don't know how
to fix.
2009-05-29 03:44:31 +00:00