Commit Graph

52 Commits

Author SHA1 Message Date
rdb 140644d8b6 stdpy: add Python 3 stuff to glob module, remove re dependency 2018-05-20 11:50:32 +02:00
Michael Wass b10ee32752 direct: Fix some more NameErrors
Closes #274
2018-03-08 11:44:04 +01:00
rdb 1f017997f9 stdpy: fix issues with direct.stdpy.threading thread cleanup
Fixes: #164
2017-08-30 13:00:02 +02:00
rdb c66b4792d7 stdpy: protect against thread error when interpreter shuts down 2017-08-29 23:50:16 +02:00
rdb 1dc02f6a28 stdpy: fix direct.stdpy.threading cleanup issue after thread runs
Fixes: #164
2017-08-27 16:56:16 +02:00
rdb 2d1f0e4866 stdpy: update threading modules 2017-08-27 16:53:41 +02:00
kamgha b9437316b4 Add snake-case function names for 'threading2'-module
Closes: #165
2017-08-27 16:33:03 +02:00
rdb d576c6b638 Improvements to generated API docs, especially in direct tree.
Also add an entry point for pfreeze.
2017-05-24 13:30:21 +02:00
rdb 47388b0dbc Separate out CPython calls from core libs; eliminate need for pystub 2016-07-20 14:30:41 +02:00
rdb 14af38712b Merge branch 'release/1.9.x' 2016-04-01 18:07:33 +02:00
rdb 35ef92f8da Fix AttributeError in setDaemon in threading module 2016-04-01 10:44:47 +02:00
rdb 15b0ba45f9 Fix broken pickling in Python 3 build 2016-03-31 16:49:27 +02:00
rdb 23bf9ea5c7 The direct tree is now valid Python 2 *and* 3 2016-03-28 22:33:30 +02:00
rdb 54fa31ba17 StandardError -> Exception, other 2to3 changes, threaded 2to3 2016-03-25 17:13:09 +01:00
rdb 0d03207d1b Dramatically reduce size of frozen/compiled code by pruning/masking unnecessary imports/code 2016-02-12 22:20:27 +01:00
Harvir f725cda60c Fix import errors introduced with the core.pyd rename. 2015-11-10 13:04:36 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb 6714de8090 Allow passing a unicode object to write() in Python 2 2015-10-22 23:06:18 +02:00
rdb 047e5cafcc Fix Python 3 error in direct.stdpy.file 2015-10-16 14:59:04 +02:00
rdb 7004283150 Fix stdpy error reporting in Python 2 2015-10-10 14:33:53 +02:00
rdb 1ccf1cf29b Port pdeploy to Python 3 2015-09-30 14:06:12 +02:00
rdb 49088fb7ce Fix some issues with new VFS open() implementation 2015-09-21 17:46:50 +02:00
rdb 62217c652e Fix various link issues on Windows when building rtdist 2015-09-20 01:37:49 +02:00
rdb 445c3461d6 Python 3 support to rtdist, reimplement VFS open() on top of io.IOBase, allow freezing into .c target, make VFSImporter and friends frozen into p3dpython 2015-09-18 21:20:25 +02:00
rdb f14f7d1913 Add missing 'os' module import 2015-08-18 17:46:38 +02:00
Ed Swartz 03d633f2e7 For stdpy.file wrapper, handle mode more consistently with Python.
For Python 2, ignore unknown characters in the mode rather than silently failing to open.
For Python 3, fail if unknown characters appear.
2015-08-11 11:47:11 -05:00
rdb 0aa0f34c74 Lots of work to make the rtdist work with the new library building system 2015-01-12 15:02:42 +01:00
rdb 350b2aaf3c Add version of execfile() that uses the VFS 2013-07-23 17:27:58 +00:00
rdb 8062339604 fix broken implementation of join() 2012-02-09 12:01:40 +00:00
David Rose b5eeced04a whoops, remove debug prints 2011-12-29 22:02:08 +00:00
David Rose 5496c4a9ec more writable vfs stuff 2011-09-27 16:10:19 +00:00
David Rose 703271d15d writable vfs 2011-09-17 00:41:06 +00:00
David Rose 016ff7d026 fix tell() bug (632883) 2010-09-08 05:19:48 +00:00
rdb ac1223d0da Ditch stuff like has_key and backticks 2010-03-19 10:32:09 +00:00
David Rose 991d5179a3 add __enter__ and __exit__ 2010-03-03 18:32:46 +00:00
David Rose e68e597b6a more verbose error messages 2010-03-01 19:06:12 +00:00
David Rose 3cf40a0a28 support glob for vfs 2010-02-24 01:58:36 +00:00
David Rose f6f9e269f4 introduce stdpy.pickle module with support for common-node NodePaths within a pickle stream 2010-02-10 19:43:58 +00:00
David Rose 779d246bad oops, leftover typo 2009-12-12 18:15:30 +00:00
David Rose f582d8f950 add forceYield(), considerYield() at this level too 2009-11-18 15:20:48 +00:00
David Rose 5289285624 more robust temp file and log handling 2009-08-20 00:24:00 +00:00
David Rose da2f1cd9c9 better frozen module handling 2009-08-19 18:35:21 +00:00
David Rose 54f7b2376a renamed python file streams 2009-08-09 16:06:45 +00:00
David Rose 854e5f345a fix some python errors 2009-04-03 21:30:38 +00:00
David Rose fcf157cdfc cleaner shutdown 2008-11-12 18:43:29 +00:00
David Rose d315cbf20e handle invalid dir better 2008-11-12 04:31:18 +00:00
David Rose 4139466fc9 join 2008-11-12 04:05:21 +00:00
David Rose 0f52801b0c listdir, walk 2008-11-12 03:58:47 +00:00
David Rose 512197c7d3 allow a VirtualFile 2008-11-04 23:21:57 +00:00
David Rose 5f5dd02b30 oops 2008-11-04 10:17:02 +00:00