Commit Graph

96 Commits

Author SHA1 Message Date
rdb 37b5c9ad9e direct: More code style changes 2023-02-22 11:52:19 +01:00
rdb 8b1126ba3e direct: General cleanup of Python code 2023-02-20 20:52:14 +01:00
WMOkiishi c7c70bc32a
direct: Cut down on usage of `import *` (#1454)
* Remove most `import *`s in `direct`

* Address feedback
2023-02-12 13:16:52 +00:00
rdb 5fcc04ba7f distributed: Change `gc-save-all` to 0 by default
Fixes #1407
2022-12-07 13:54:47 +01:00
rdb cf04a04e32 Merge branch 'release/1.10.x' 2022-07-24 21:43:09 +02:00
Derzsi Dániel 89ee20bcf7 distributed: Import inspect only during DC file read
Closes #1336
2022-07-24 21:40:11 +02:00
rdb be9dde1eee direct: add .pylintrc, perform major code cleanup pass
Closes #989

Co-authored-by: Daniel Stokes <kupomail@gmail.com>
2020-12-31 01:36:23 +01:00
rdb 8178fb21f3 direct: don't rely on vfs being present in builtins 2020-08-11 09:40:34 +02:00
Tohka 0b1ad67e13 distributed: Fix DC file reading regression (#295) 2018-03-31 04:01:35 -06:00
Sam Edwards ac8417ffdf distributed: `type(x) == types.FooType` -> `inspect.isfoo(x)`
This is more compatible across Python 2 vs. 3.

[skip ci]
2018-03-04 15:28:39 -07:00
Sam Edwards 97368ec321 distributed: Make a few slight cleanliness changes
I brought all of these over from the Astron fork
2018-02-23 15:55:30 -07:00
Sam Edwards 0846a89677 general: Stop using several deprecated pandac.PandaModules imports. 2016-06-27 00:06:40 -07: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
mfwass f8837999ed Cleanup trailing whitespace 2015-12-13 10:08:41 -05:00
rdb 32367fcbdc Fix various import issues in the direct tree 2015-12-06 22:36:05 +01:00
rdb 3371df8403 Fix tp_compare, better __repr__/__str__ handling 2015-03-25 19:36:35 +01:00
Ken Patel fa68ec6a52 GIB - improve logging esp in httpChannel to identify which channel is associated with each log message 2010-10-13 21:16:25 +00:00
David Rose 1d7fd44214 uninstall wip, utf-8 2009-12-18 23:42:09 +00:00
Darren Ranalli 7747bab024 fixed leaked event logout crash 2009-12-08 01:55:28 +00:00
David Rose e90652e89e move finalExitCallbacks to CMU implementation 2009-12-07 20:21:01 +00:00
David Rose 6df61edb83 threaded lost-connection 2009-12-05 22:58:01 +00:00
David Rose b0993e4a53 fix some event name collisions with multiple CR's, tag some more methods BLOCKING 2009-12-05 19:39:13 +00:00
David Rose 72da0ee5f1 clean up ConnectionRepository on exit 2009-12-05 07:17:53 +00:00
David Rose eaa2163cb0 fix problem with non-unique task names 2009-11-23 21:07:42 +00:00
David Rose abbbb21a8e some more explicit control over connection parameters 2009-11-19 02:37:09 +00:00
David Rose d8471bdf32 fixes for public net interface 2009-11-08 19:30:04 +00:00
David Rose 7b00b88f29 separate out cmu and disney distributed systems better 2009-06-08 18:49:09 +00:00
Darren Ranalli 2c71002065 fix for client crash 2009-01-23 00:31:18 +00:00
Darren Ranalli 07461ccbdd shift-f11 logs garbage cycle info and reports results in the client 2009-01-22 19:19:37 +00:00
Darren Ranalli a9f3242305 check for garbage leaks in dev on window close and defocus, check on both client and AI 2009-01-21 23:49:33 +00:00
Darren Ranalli d4cc5e7a57 added allow-garbage-cycles, garbage error reporting 2009-01-21 19:01:47 +00:00
Darren Ranalli b36dc682a3 pulled garbage collect frequency reduction code from 1_0_14 2008-12-22 21:46:00 +00:00
Darren Ranalli 0fb988e6d3 default gc to DEBUG_SAVEALL, added delOnly option to GarbageReport, to deal with garbage collect CPU spikes 2008-12-19 21:54:47 +00:00
Darren Ranalli fb1aa31b78 stop using gc.DEBUG_SAVEALL (not necessary), GarbageReport output readability improvements 2008-12-05 01:50:55 +00:00
David Rose cce4f2195e more threading improvements 2008-10-02 18:02:18 +00:00
Darren Ranalli 9dd0e3b685 added want-message-bundling 2007-12-07 00:58:21 +00:00
Darren Ranalli 859f6904b8 don't abort DC class discovery if a module exists but does not define the class 2007-12-06 19:47:29 +00:00
Joe Shochet 7055683eb5 removed print statements 2007-09-03 04:50:16 +00:00
Roger Hughston 2d2f8d7100 Changed the lack of dc definition to be a warning 2007-08-09 20:21:44 +00:00
Chris Brunner f40a92ed1b changed a print to a notify 2007-07-26 22:52:12 +00:00
Roger Hughston ffa480bde7 Changes to support yielding instead of sleeping 2007-05-05 00:32:51 +00:00
David Rose 81d1f43ad0 allow connect-method config var 2007-03-30 16:36:00 +00:00
Darren Ranalli 7ad04f5061 added verbose-*repository configs 2007-02-22 01:05:24 +00:00
Joe Shochet f149e311eb not having a class definition is a debug now 2006-12-19 08:58:59 +00:00
Zachary Pavlov 01c54a2d3c failsafe now in for systems without native 2006-11-27 20:52:21 +00:00
Zachary Pavlov ad5972e5a3 okay, there is now a native-capable net interface 2006-11-10 04:29:59 +00:00
Zachary Pavlov c0f9dce26f CR now requires a connection method,will be changed to has-a later 2006-11-09 22:22:59 +00:00
Darren Ranalli 70db0829ff added getServerAddress 2006-10-27 23:19:46 +00:00
Darren Ranalli 7ebfa95b92 fix for non-debug mode 2006-07-07 17:43:24 +00:00