Walter Dörwald
966c264b02
Fix typos.
2005-11-09 17:12:43 +00:00
Vinay Sajip
8b6b53f8ac
Fixed indentation bug in _connect_unixsocket (thanks to Ken Lalonde for reporting it/supplying a patch)
2005-11-09 13:55:13 +00:00
Neal Norwitz
286d74764e
SF Bug #1348477 , regextest can't be pydoc'ed. Will backport.
2005-11-09 07:07:58 +00:00
Neal Norwitz
67715f0420
- SF Bug #1350188 , "setdlopenflags" leads to crash upon "import"
...
It was possible dlerror() returns a NULL pointer, use a default error
message in this case.
2005-11-09 06:59:35 +00:00
Brett Cannon
789fd005e0
Fix typo in envvar name.
2005-11-07 21:42:42 +00:00
Marc-André Lemburg
380f417e15
Patch by pythonic <pythonic@gmail.com> to support Fedora
...
as Linux distro.
2005-11-07 16:11:02 +00:00
Armin Rigo
c6686b7c7e
Added proper reflection on instances of <type 'method-wrapper'>, e.g.
...
'[].__add__', to match what the other internal descriptor types provide:
'__objclass__' attribute, '__self__' member, and reasonable repr and
comparison.
Added a test.
2005-11-07 08:38:00 +00:00
Armin Rigo
64b414ad4c
svn:ignoring all .pyc and .pyo files in all subdirectories of Lib/ that contain
...
.py files.
2005-11-07 07:47:30 +00:00
Armin Rigo
f4afb21526
similar to SF bug 847019: a quick check in the time() constructor, which
...
accepts strings only for unpickling reasons. This check prevents the honest
mistake of passing a string like '2:59.0' to time() and getting an insane
object.
2005-11-07 07:15:48 +00:00
Ka-Ping Yee
9a2dcf8ac1
Fix SF bug #417833 (pydoc HTTP reload failure) by removing from
...
sys.modules all submodules of a the given module/package path
when trying to reload a module.
2005-11-05 05:04:41 +00:00
Ka-Ping Yee
a487e4eb05
Accept patch to resolve SF bug #651124 .
2005-11-05 04:49:18 +00:00
Neal Norwitz
6d98ed4ad2
Oops, forgot to add the output file to 41388.
2005-11-03 05:07:15 +00:00
Neal Norwitz
0f46bbf781
Bug #1346533 , select.poll() doesn't raise an error if timeout > sys.maxint
...
Need to check return result of PyInt_AsLong()
Will backport.
2005-11-03 05:00:25 +00:00
Neal Norwitz
26f4c23074
Make consistent with 2.4
2005-11-03 04:39:09 +00:00
Brett Cannon
5d0bf9446b
Change time.strptime() to raise ValueError whenever there is an error in the
...
format string. Before exceptions generated by the internal code propagated up
to the user and were not helpful.
Closes bug #1340337 .
2005-11-02 23:04:26 +00:00
Brett Cannon
076b7325a8
Add an import line to a code fragment.
...
Closes bug #1346395 .
2005-11-02 22:58:12 +00:00
Andrew M. Kuchling
8294de5673
Another comment typo fix
2005-11-02 16:36:12 +00:00
Walter Dörwald
2e2c02fedb
Fix typo in comment.
2005-11-02 08:57:11 +00:00
Walter Dörwald
9fd115cb63
Whitespace cleanup.
2005-11-02 08:30:08 +00:00
Neal Norwitz
cf4863831c
Fix SF #1345263 , colorsys tests, bug in frange
...
Fix a typo that caused step to be ignored.
Will backport.
2005-11-02 05:54:27 +00:00
Neal Norwitz
6eac2005bf
Cleanup the previous checkin.
...
Close the fd in the close method and invalidated it. Don't try
to close a second time when deallocating.
2005-11-02 05:36:37 +00:00
Neal Norwitz
7b631793ab
Bug #1344508 , Fix UNIX mmap leaking file descriptors. Will backport.
2005-11-02 05:26:07 +00:00
Vinay Sajip
245a5ab31b
Exception handling now raises KeyboardInterrupt and SystemExit rather than passing to handleError
2005-10-31 14:27:01 +00:00
Vinay Sajip
85c1909a78
Exception handling now raises KeyboardInterrupt and SystemExit rather than passing to handleError
2005-10-31 13:14:19 +00:00
Martin v. Löwis
ab0f947a21
Remove .cvsignore files, as they live in svn:ignore
...
properties now.
2005-10-30 22:01:41 +00:00
Fred Drake
59c61911ac
add missing "and"
2005-10-30 04:29:49 +00:00
Hye-Shik Chang
8c147c3386
SF Bug #1341934 : Fix a representation of "\n" to use a proper tag.
2005-10-30 03:05:27 +00:00
Tim Peters
383d3c0a68
test_directories(): This test had no chance of passing on
...
Windows. Hacked it to pass, but not sure it's worth the
bother.
2005-10-30 01:15:38 +00:00
Martin v. Löwis
39914b172e
Add *.pyc to svn:ignore.
...
Add libpython*.a to .cvsignore and svn:ignore.
2005-10-29 19:40:21 +00:00
Tim Peters
2576c97f52
_PyUnicode_IsWhitespace(),
...
_PyUnicode_IsLinebreak():
Changed the declarations to match the definitions.
Don't know why they differed; MSVC warned about it;
don't know why only these two functions use "const".
Someone who does may want to do something saner ;-).
2005-10-29 02:33:18 +00:00
Vinay Sajip
00b5c932f3
Minor update to HTTPHandler documentation to indicate that host:port can be used.
2005-10-29 00:40:15 +00:00
Fred Drake
db390c1ad8
fix typos, mostly in comments
2005-10-28 14:39:47 +00:00
Neal Norwitz
f339654280
Patch #1338314 , Bug #1336623 : fix tarfile so it can extract
...
REGTYPE directories from tarfiles written by old programs.
Will backport.
2005-10-28 05:52:22 +00:00
Martin v. Löwis
466e5b336e
Update instructions according to Dave Abrahams
...
instructions.
2005-10-27 18:56:22 +00:00
Marc-André Lemburg
68b49ef8a1
Add Makefile which allows easily rebuilding the charmap codecs.
2005-10-25 11:55:01 +00:00
Marc-André Lemburg
89bbfd4a36
Add custom mapping files used for generating some of the charmap
...
codecs.
2005-10-25 11:54:04 +00:00
Marc-André Lemburg
bd20ea55bc
Apply some cosmetic fixes to the output of the script.
...
Only include the decoding map if no table can be generated.
2005-10-25 11:53:33 +00:00
Neil Schemenauer
982e8d671c
Refactor code for translating "power" nodes.
2005-10-25 09:16:05 +00:00
Neil Schemenauer
c5dd10aa1d
Write a separate ast_for_testlist_gexp() function instead of overloading
...
ast_for_testlist(). Also, write a ast_for_class_bases() function and in
the process fix a memory leak. Add some assertions.
2005-10-25 07:54:54 +00:00
Neil Schemenauer
c396d9edd6
Ensure that compiler_exit_scope() is called as necessary to free memory
...
allocated by compiler_enter_scope(). Change return type for
compiler_exit_scope() to be void.
2005-10-25 06:30:14 +00:00
Marc-André Lemburg
d9cf593b49
Cosmetic change: make all hex literals use upper case hex so that they
...
look more like the Unicode Consortium files.
Add ending new-line to all source files.
2005-10-24 12:14:59 +00:00
Marc-André Lemburg
3c72ded23d
Removed the decoding_map from the codecs where this is possible.
...
Replaced the tis_620, cp1140 and koi8_u codecs with new ones
based on custom mapping files.
2005-10-24 12:07:49 +00:00
Neal Norwitz
921fa8595e
use PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-Py PREFIXED macros, etc?
2005-10-24 01:07:47 +00:00
Neal Norwitz
62c2fac9a0
Do not pollute name block_ty, prefix with _Py_
2005-10-24 00:30:44 +00:00
Neal Norwitz
6ab080cd40
Fix problem handling EXTENDED_ARGs from SF bug # 1333982
2005-10-24 00:08:10 +00:00
Neal Norwitz
f8950654e3
Fix compiler test when run with -u (long mode)
2005-10-24 00:01:37 +00:00
Neal Norwitz
f1d50684c6
Fix problem handling EXTENDED_ARGs from SF bug # 1333982
2005-10-23 23:00:41 +00:00
Neal Norwitz
7d37f2ff40
cleanup a bit and reuse instrsize (instruction size). working towards fixing problems with EXTENDED_ARG
2005-10-23 22:40:47 +00:00
Vinay Sajip
1e86beb3f8
One-off "No handlers..." error message only raised if raiseExceptions is set.
2005-10-23 22:32:59 +00:00
Andrew M. Kuchling
db85ed548a
Add paragraphs on AST branch. AST'ers, please suggest corrections
2005-10-23 21:52:59 +00:00