Victor Stinner
|
9c61e24be4
|
Issue #3080: On DJGPP, case_bytes() returns -1 to signal an error if the file
cannot be found.
|
2011-03-22 01:22:27 +01:00 |
|
Victor Stinner
|
0a5f65ab0a
|
Issue #7330, #10833: Replace %100s by %.100s and %200s by %.200s
I suppose that the author would like to truncate the type name, not get a
string of 100/200 characters.
|
2011-03-22 01:09:21 +01:00 |
|
Victor Stinner
|
6ced7c4333
|
Issue #10833: Use PyErr_Format() and PyUnicode_FromFormat() instead of
PyOS_snprintf() to avoid temporary buffer allocated on the stack and a
conversion from bytes to Unicode.
|
2011-03-21 18:15:42 +01:00 |
|
Victor Stinner
|
451385d8f8
|
Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file
doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int
(length bigger than 2^31-1 bytes).
|
2011-03-21 03:22:50 +01:00 |
|
Victor Stinner
|
9c4efe571d
|
Fix #11586: typo in initfsencoding()
Patch written by Ray Allen.
|
2011-03-20 23:23:22 +01:00 |
|
Victor Stinner
|
4ca2809b5c
|
Fix #11586: typo in initfsencoding()
Patch written by Ray Allen.
|
2011-03-20 23:09:03 +01:00 |
|
Victor Stinner
|
6ae1e7f04e
|
Issue #3080: imp.load_module() accepts None for the module path
imp.find_module() returns None as module path for builtin and frozen builtins.
|
2011-03-20 22:37:17 +01:00 |
|
Victor Stinner
|
cc9564ecd8
|
Issue #3080: Fix call to case_ok() in find_init_module()
|
2011-03-20 04:58:29 +01:00 |
|
Victor Stinner
|
1304f2d8a3
|
Issue #3080: Fix case_ok() using case_bytes()
Invert name and namelen arguments.
|
2011-03-20 04:28:55 +01:00 |
|
Ezio Melotti
|
3b3499ba69
|
#11565: Merge with 3.1.
|
2011-03-16 11:35:38 +02:00 |
|
Ezio Melotti
|
13925008dc
|
#11565: Fix several typos. Patch by Piotr Kasprzyk.
|
2011-03-16 11:05:33 +02:00 |
|
Raymond Hettinger
|
29dcaad6eb
|
Issue 11510: Fix BUILD_SET optimizer bug.
|
2011-03-15 14:50:16 -07:00 |
|
Ezio Melotti
|
4969f709cc
|
#11515: Merge with 3.1.
|
2011-03-15 05:59:46 +02:00 |
|
Ezio Melotti
|
42da663e6f
|
#11515: fix several typos. Patch by Piotr Kasprzyk.
|
2011-03-15 05:18:48 +02:00 |
|
Victor Stinner
|
fe93faf98c
|
Issue #3080: Add PyImport_ImportModuleLevelObject() function
Use it for the builtin __import__ function.
|
2011-03-14 15:54:52 -04:00 |
|
Victor Stinner
|
98dbba5d20
|
Issue #3080: Use repr() to format the module name on error
|
2011-03-14 15:15:47 -04:00 |
|
Victor Stinner
|
ccbf475dfd
|
Fix imp.cache_from_source() if the directory name contains a dot
If the directory name contains a dot but not the filename, don't strip at the
dot.
|
2011-03-14 15:05:12 -04:00 |
|
Victor Stinner
|
fe19d21815
|
Issue #3080: imp.new_module() uses Unicode
|
2011-03-14 14:53:28 -04:00 |
|
Victor Stinner
|
2fd76e478f
|
Issue #3080: find_module() returns the path as Unicode
|
2011-03-14 15:19:39 -04:00 |
|
Victor Stinner
|
c9a271cf2b
|
Issue #3080: case_ok() expects Unicode strings
|
2011-03-14 14:34:13 -04:00 |
|
Victor Stinner
|
547a2a6d52
|
Issue #3080: find_init_module() expects Unicode
|
2011-03-20 03:07:28 +01:00 |
|
Victor Stinner
|
d029621c70
|
Issue #3080: Refactor find_module_path(), use return instead of break
Prepare also the API change of case_ok()
|
2011-03-14 14:04:10 -04:00 |
|
Victor Stinner
|
df75a023a0
|
Issue #3080: find_module() sets an empty path for builtin and frozen modules
|
2011-03-14 13:40:04 -04:00 |
|
Victor Stinner
|
533d78399f
|
Issue #3080: Rename some path variables to path_list
|
2011-03-14 13:22:54 -04:00 |
|
Victor Stinner
|
ad3c03b23e
|
Issue #3080: find_module() expects module fullname and subname as Unicode
And PyImport_ReloadModule() uses Unicode for the module name.
|
2011-03-14 09:21:33 -04:00 |
|