<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to wiki</title><link href="https://sourceforge.net/p/oblivionworks/wiki/" rel="alternate"/><link href="https://sourceforge.net/p/oblivionworks/wiki/feed.atom" rel="self"/><id>https://sourceforge.net/p/oblivionworks/wiki/</id><updated>2013-05-04T19:43:44.716000Z</updated><subtitle>Recent changes to wiki</subtitle><entry><title>Developer Notes modified by Daidalos</title><link href="https://sourceforge.net/p/oblivionworks/wiki/Developer%2520Notes/" rel="alternate"/><published>2013-05-04T19:43:44.716000Z</published><updated>2013-05-04T19:43:44.716000Z</updated><author><name>Daidalos</name><uri>https://sourceforge.net/u/d4id4los/</uri></author><id>https://sourceforge.neteda3602c3cc5d5f86315780bd55e0f4108cbb404</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -2,7 +2,6 @@

 ### File Layout ###
 &lt;dl&gt;
-&lt;dt&gt;**ScriptParser.py**&lt;/dt&gt;&lt;dd&gt;Code for necessary parsing of text into a script language. No keywords,functions,etc are defined here, this is just the framework for a parser (so it's pretty well refactored out of the main Bash code already).&lt;/dd&gt;
 &lt;dt&gt;**belt.py**&lt;/dt&gt;&lt;dd&gt;Implements the Bash-specific parser for Wizards. Also implements the UI elements for Wizards. Could be split into two files possibly, but the two components are inter-dependent, so it might be easier to just leave it.&lt;/dd&gt;
 &lt;dt&gt;**balt.py**&lt;/dt&gt;&lt;dd&gt;Common UI classes and other wx-wrapper classes. Examples are the hSizer, vSizer functions, which provide shorthand ways to define sizers and layouts. Other stuff like the askXXX() functions, and button() function. Most of these are thin-wrappers that just provide better default arguments, etc, although there are a few hard hitters, like balt.Tank &lt;/dd&gt;
 &lt;dt&gt;**bapi.py**&lt;/dt&gt;&lt;dd&gt; Python interface to the BAPI (wraps classes around BAPI calls, etc)&lt;/dd&gt;
@@ -17,7 +16,7 @@
 &lt;dt&gt;**bosh.py**&lt;/dt&gt;&lt;dd&gt; BAIN code. PBash patchers. CBash patchers. Most of the nity-gritty details of Save file and non-patcher modfile manipulations. A bit of initialization code (settings dictionary, directories setup - bosh.dirs), ini parser, etc, etc. Some of the modfile reading/writing code is still here as well. Definitely needs some love.&lt;/dd&gt;
 &lt;dt&gt;**brec.py**&lt;/dt&gt;&lt;dd&gt; *most* of the modfile generic reading writing code (a little is still in bosh.py). Could split it up a little bit. &lt;/dd&gt;
 &lt;dt&gt;**bush.py**&lt;/dt&gt;&lt;dd&gt; Handles game detection, as well as importing values from the applicable game definition file as the 'bush.game' module. Also hold a lot of hard-coded data relating to mod file format stuff (the stuff is definitely applicable to Oblivion, and yet to be determined if it's applicable for Skyrim). Some of this isn't format specific, like "ABAT stands for Absorb Attribute", that sort of thing. Some of it is, like the Cobl exhaustion defines. This *used* to be a file containing Oblivion format/game defines/constants. It's been split off into oblivion.py/skyrim.py slowly as the applicable sections have been addressed.&lt;/dd&gt;
-&lt;dt&gt;**bweb.py**&lt;/dt&gt;&lt;dd&gt; Some internets communication code/parsing of specific webpages. &lt;/dd&gt;
+&lt;dt&gt;**bweb.py**&lt;/dt&gt;&lt;dd&gt; Some internets communication code/parsing of specific webpages. Specifically, parsing a TESNexus page for files available. Since items here will be used with the multiprocessing module, it needs to not have any dependancies on the rest of Wrye Bash's files.&lt;/dd&gt;
 &lt;dt&gt;**cint.py**&lt;/dt&gt;&lt;dd&gt; CBash Python interface. Defines Python classes as wrappers around the CBash API. It's very hard to read, because it's been written in syntax to maximize performance everywhere possible, using statments like:

     self.formID = FormID.EmptyFormID() if master is None else master.formID if isinstance(master, FormID) else FormID.RawFormID(master) if objectID is None else FormID.UnvalidatedFormID(GPath(master), objectID) if isinstance(master, (basestring, Path)) else None
@@ -32,4 +31,8 @@

 Are just sooo much faster than the "naive" way, it's ridiculous. &lt;/dd&gt;
 &lt;dt&gt;**keywordWIZBAIN, keywordWIZBAIN2, settingsModul, wizSTC**&lt;/dt&gt;&lt;dd&gt; WIZBAIN/bash.ini editor stuff looks like.&lt;/dd&gt;
+&lt;dt&gt;**oblivion.py**, **skyrim.py**&lt;/dt&gt;&lt;dd&gt; Everything that's game-specific should go in here. Currently, Bash isn't quite like that, but for Skyrim it is mostly true.&lt;/dd&gt;
+&lt;dt&gt;**libbsa.py**&lt;dt&gt;&lt;dd&gt; Python wrapper for libbsa &lt;/dd&gt;
+&lt;dt&gt;**liblo.py**&lt;dt&gt;&lt;dd&gt; Python wrapper for liblo &lt;/dd&gt;
+&lt;dt&gt;**ScriptParser.py**&lt;/dt&gt;&lt;dd&gt;Code for necessary parsing of text into a script language. No keywords,functions,etc are defined here, this is just the framework for a parser (so it's pretty well refactored out of the main Bash code already).&lt;/dd&gt;
 &lt;/dl&gt;
&lt;/pre&gt;
&lt;/div&gt;</summary></entry><entry><title>Developer Notes modified by Daidalos</title><link href="https://sourceforge.net/p/oblivionworks/wiki/Developer%2520Notes/" rel="alternate"/><published>2013-05-04T19:33:25.590000Z</published><updated>2013-05-04T19:33:25.590000Z</updated><author><name>Daidalos</name><uri>https://sourceforge.net/u/d4id4los/</uri></author><id>https://sourceforge.net867713420575da6e499a117bbf8a4f91d2d14b20</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -10,7 +10,7 @@
 &lt;dt&gt;**barg.py**&lt;/dt&gt;&lt;dd&gt; Command line arguments definitions and parsing. &lt;/dd&gt;
 &lt;dt&gt;**bash.py**&lt;/dt&gt;&lt;dd&gt; Startup code&lt;/dd&gt;
 &lt;dt&gt;**basher.py**&lt;/dt&gt;&lt;dd&gt; Pretty much all UI classes, user actions (menu commands, etc), default settings. This is one that could use some heavy refactoring. &lt;/dd&gt;
-&lt;dt&gt;**bashmon.py**&lt;/dt&gt;&lt;dd&gt; Console app, required for Wrye Morph. &lt;/dd&gt;
+&lt;dt&gt;**bashmon.py**&lt;/dt&gt;&lt;dd&gt; Console app, required for Wrye Morph. bashmon is a monitor program which handles requests from Breeze582000's OBSE extension. Current monitor commands are focused exclusively on shapeshifting the player.&lt;/dd&gt;
 &lt;dt&gt;**bass.py**&lt;/dt&gt;&lt;dd&gt; global app-wide constants. Used to avoid circular dependencies. Could probably move a bit of important constants here.&lt;/dd&gt;
 &lt;dt&gt;**bish.py**&lt;/dt&gt;&lt;dd&gt; Pretty much developer/modder command line tools. Contents are never guaranteed to remain the same, or even work. Sort of the trash bin for random code that shouldn't be part of Wrye Bash for most end users, but can be very useful for developers or advanced modders (in fact one function is needed for generating the Oblivion_ids.pkl and Skyrim_ids.pkl files). Luckily, this file doesn't get picked up by py2exe, so it's not included in the Standalone version. &lt;/dd&gt;
 &lt;dt&gt;**bolt.py**&lt;/dt&gt;&lt;dd&gt; Common functions and classes that are non-UI/wx related. Tons of utility classes in here - Path, GPath, BinaryFile, unicode functions, CsvReader, OmodFile, etc, etc. Could be split fairly easily into submodules.&lt;/dd&gt;
&lt;/pre&gt;
&lt;/div&gt;</summary></entry><entry><title>Home modified by Daidalos</title><link href="https://sourceforge.net/p/oblivionworks/wiki/Home/" rel="alternate"/><published>2013-05-04T19:29:37.941000Z</published><updated>2013-05-04T19:29:37.941000Z</updated><author><name>Daidalos</name><uri>https://sourceforge.net/u/d4id4los/</uri></author><id>https://sourceforge.net4792dc6659ee0b747fd36af02e77411469a131f2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,6 @@
-Welcome to your wiki!
+Oblivion Works is designed for making tools to better enjoy the games The Elder Scrolls IV: Oblivion and TES V: Skyrim.

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
-
-The wiki uses [Markdown](/p/oblivionworks/wiki/markdown_syntax/) syntax.
-
+The [Developer Notes] page has some info about the file structuring.
+[[project_screenshots]]
 [[project_admins]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</summary></entry><entry><title>Developer Notes modified by Daidalos</title><link href="https://sourceforge.net/p/oblivionworks/wiki/Developer%2520Notes/" rel="alternate"/><published>2013-05-04T19:25:17.751000Z</published><updated>2013-05-04T19:25:17.751000Z</updated><author><name>Daidalos</name><uri>https://sourceforge.net/u/d4id4los/</uri></author><id>https://sourceforge.net543b16ea1b41ed6623901d7f53b12dcfb5b2b6e3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,6 +1,6 @@
 A collection of info that might be usefull for current or future Wrye Bash devs.

-## File Layout ##
+### File Layout ###
 &lt;dl&gt;
 &lt;dt&gt;**ScriptParser.py**&lt;/dt&gt;&lt;dd&gt;Code for necessary parsing of text into a script language. No keywords,functions,etc are defined here, this is just the framework for a parser (so it's pretty well refactored out of the main Bash code already).&lt;/dd&gt;
 &lt;dt&gt;**belt.py**&lt;/dt&gt;&lt;dd&gt;Implements the Bash-specific parser for Wizards. Also implements the UI elements for Wizards. Could be split into two files possibly, but the two components are inter-dependent, so it might be easier to just leave it.&lt;/dd&gt;
@@ -15,22 +15,21 @@
 &lt;dt&gt;**bish.py**&lt;/dt&gt;&lt;dd&gt; Pretty much developer/modder command line tools. Contents are never guaranteed to remain the same, or even work. Sort of the trash bin for random code that shouldn't be part of Wrye Bash for most end users, but can be very useful for developers or advanced modders (in fact one function is needed for generating the Oblivion_ids.pkl and Skyrim_ids.pkl files). Luckily, this file doesn't get picked up by py2exe, so it's not included in the Standalone version. &lt;/dd&gt;
 &lt;dt&gt;**bolt.py**&lt;/dt&gt;&lt;dd&gt; Common functions and classes that are non-UI/wx related. Tons of utility classes in here - Path, GPath, BinaryFile, unicode functions, CsvReader, OmodFile, etc, etc. Could be split fairly easily into submodules.&lt;/dd&gt;
 &lt;dt&gt;**bosh.py**&lt;/dt&gt;&lt;dd&gt; BAIN code. PBash patchers. CBash patchers. Most of the nity-gritty details of Save file and non-patcher modfile manipulations. A bit of initialization code (settings dictionary, directories setup - bosh.dirs), ini parser, etc, etc. Some of the modfile reading/writing code is still here as well. Definitely needs some love.&lt;/dd&gt;
-    brec.py - *most* of the modfile generic reading writing code (a little is still in bosh.py). Could split it up a little bit.
-    bush.py - Handles game detection, as well as importing values from the applicable game definition file as the 'bush.game' module. Also hold a lot of hard-coded data relating to mod file format stuff (the stuff is definitely applicable to Oblivion, and yet to be determined if it's applicable for Skyrim). Some of this isn't format specific, like "ABAT stands for Absorb Attribute", that sort of thing. Some of it is, like the Cobl exhaustion defines. This *used* to be a file containing Oblivion format/game defines/constants. It's been split off into oblivion.py/skyrim.py slowly as the applicable sections have been addressed.
-    bweb.py - Some internets communication code/parsing of specific webpages.
-    cint.py - CBash Python interface. Defines Python classes as wrappers around the CBash API. It's very hard to read, because it's been written in syntax to maximize performance everywhere possible, using statments like:
+&lt;dt&gt;**brec.py**&lt;/dt&gt;&lt;dd&gt; *most* of the modfile generic reading writing code (a little is still in bosh.py). Could split it up a little bit. &lt;/dd&gt;
+&lt;dt&gt;**bush.py**&lt;/dt&gt;&lt;dd&gt; Handles game detection, as well as importing values from the applicable game definition file as the 'bush.game' module. Also hold a lot of hard-coded data relating to mod file format stuff (the stuff is definitely applicable to Oblivion, and yet to be determined if it's applicable for Skyrim). Some of this isn't format specific, like "ABAT stands for Absorb Attribute", that sort of thing. Some of it is, like the Cobl exhaustion defines. This *used* to be a file containing Oblivion format/game defines/constants. It's been split off into oblivion.py/skyrim.py slowly as the applicable sections have been addressed.&lt;/dd&gt;
+&lt;dt&gt;**bweb.py**&lt;/dt&gt;&lt;dd&gt; Some internets communication code/parsing of specific webpages. &lt;/dd&gt;
+&lt;dt&gt;**cint.py**&lt;/dt&gt;&lt;dd&gt; CBash Python interface. Defines Python classes as wrappers around the CBash API. It's very hard to read, because it's been written in syntax to maximize performance everywhere possible, using statments like:

     self.formID = FormID.EmptyFormID() if master is None else master.formID if isinstance(master, FormID) else FormID.RawFormID(master) if objectID is None else FormID.UnvalidatedFormID(GPath(master), objectID) if isinstance(master, (basestring, Path)) else None

-    Nuances of Python, statements like this actually evaluate faster than using traditional if/else blocks. Arguably though, just wrap that in parenthesis and Python's implicit line continuation in parenthesis would let you type that in a more readable manner:
+Nuances of Python, statements like this actually evaluate faster than using traditional if/else blocks. Arguably though, just wrap that in parenthesis and Python's implicit line continuation in parenthesis would let you type that in a more readable manner:

     self.formID = (FormID.EmptyFormID() if master is None          else master.formID if isinstance(mast,formID)          else FormID.RawFormID(master) if objectID is None          else FormID.UnvalidatedFormID(GPath(master), objectID) if isinstance(master, (basestring, Path))          else None)

-    Other tricks, like:
+Other tricks, like:

     [(attr,reduce(getattr, attr.split('.'), self)) for parentRecord in parentRecords if reduce(getattr, attr.split('.'), self) != reduce(getattr, attr.split('.'), parentRecord)]

-    Are just sooo much faster than the "naive" way, it's ridiculous.
-    keywordWIZBAIN, keywordWIZBAIN2, settingsModul, wizSTC - WIZBAIN/bash.ini editor stuff looks like.
-
+Are just sooo much faster than the "naive" way, it's ridiculous. &lt;/dd&gt;
+&lt;dt&gt;**keywordWIZBAIN, keywordWIZBAIN2, settingsModul, wizSTC**&lt;/dt&gt;&lt;dd&gt; WIZBAIN/bash.ini editor stuff looks like.&lt;/dd&gt;
 &lt;/dl&gt;
&lt;/pre&gt;
&lt;/div&gt;</summary></entry><entry><title>Developer Notes modified by Daidalos</title><link href="https://sourceforge.net/p/oblivionworks/wiki/Developer%2520Notes/" rel="alternate"/><published>2013-05-04T19:20:00.335000Z</published><updated>2013-05-04T19:20:00.335000Z</updated><author><name>Daidalos</name><uri>https://sourceforge.net/u/d4id4los/</uri></author><id>https://sourceforge.net2cefa4ebc8f8e99edb783b6710cf16ed9e6acea0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;A collection of info that might be usefull for current or future Wrye Bash devs.&lt;/p&gt;
&lt;h2 id="file-layout"&gt;File Layout&lt;/h2&gt;
&lt;p&gt;&lt;dl&gt;&lt;br /&gt;
&lt;dt&gt;&lt;strong&gt;ScriptParser.py&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt;Code for necessary parsing of text into a script language. No keywords,functions,etc are defined here, this is just the framework for a parser (so it's pretty well refactored out of the main Bash code already).&lt;/dd&gt;&lt;br /&gt;
&lt;dt&gt;&lt;strong&gt;belt.py&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt;Implements the Bash-specific parser for Wizards. Also implements the UI elements for Wizards. Could be split into two files possibly, but the two components are inter-dependent, so it might be easier to just leave it.&lt;/dd&gt;&lt;br /&gt;
&lt;dt&gt;&lt;strong&gt;balt.py&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt;Common UI classes and other wx-wrapper classes. Examples are the hSizer, vSizer functions, which provide shorthand ways to define sizers and layouts. Other stuff like the askXXX() functions, and button() function. Most of these are thin-wrappers that just provide better default arguments, etc, although there are a few hard hitters, like balt.Tank &lt;/dd&gt;&lt;br /&gt;
&lt;dt&gt;&lt;strong&gt;bapi.py&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt; Python interface to the BAPI (wraps classes around BAPI calls, etc)&lt;/dd&gt;&lt;br /&gt;
&lt;dt&gt;&lt;strong&gt;barb.py&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt; Backup related code. Handles backing up and restoring settings.&lt;/dd&gt;&lt;br /&gt;
&lt;dt&gt;&lt;strong&gt;barg.py&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt; Command line arguments definitions and parsing. &lt;/dd&gt;&lt;br /&gt;
&lt;dt&gt;&lt;strong&gt;bash.py&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt; Startup code&lt;/dd&gt;&lt;br /&gt;
&lt;dt&gt;&lt;strong&gt;basher.py&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt; Pretty much all UI classes, user actions (menu commands, etc), default settings. This is one that could use some heavy refactoring. &lt;/dd&gt;&lt;br /&gt;
&lt;dt&gt;&lt;strong&gt;bashmon.py&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt; Console app, required for Wrye Morph. &lt;/dd&gt;&lt;br /&gt;
&lt;dt&gt;&lt;strong&gt;bass.py&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt; global app-wide constants. Used to avoid circular dependencies. Could probably move a bit of important constants here.&lt;/dd&gt;&lt;br /&gt;
&lt;dt&gt;&lt;strong&gt;bish.py&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt; Pretty much developer/modder command line tools. Contents are never guaranteed to remain the same, or even work. Sort of the trash bin for random code that shouldn't be part of Wrye Bash for most end users, but can be very useful for developers or advanced modders (in fact one function is needed for generating the Oblivion_ids.pkl and Skyrim_ids.pkl files). Luckily, this file doesn't get picked up by py2exe, so it's not included in the Standalone version. &lt;/dd&gt;&lt;br /&gt;
&lt;dt&gt;&lt;strong&gt;bolt.py&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt; Common functions and classes that are non-UI/wx related. Tons of utility classes in here - Path, GPath, BinaryFile, unicode functions, CsvReader, OmodFile, etc, etc. Could be split fairly easily into submodules.&lt;/dd&gt;&lt;br /&gt;
&lt;dt&gt;&lt;strong&gt;bosh.py&lt;/strong&gt;&lt;/dt&gt;&lt;dd&gt; BAIN code. PBash patchers. CBash patchers. Most of the nity-gritty details of Save file and non-patcher modfile manipulations. A bit of initialization code (settings dictionary, directories setup - bosh.dirs), ini parser, etc, etc. Some of the modfile reading/writing code is still here as well. Definitely needs some love.&lt;/dd&gt;&lt;br /&gt;
    brec.py - &lt;em&gt;most&lt;/em&gt; of the modfile generic reading writing code (a little is still in bosh.py). Could split it up a little bit.&lt;br /&gt;
    bush.py - Handles game detection, as well as importing values from the applicable game definition file as the 'bush.game' module. Also hold a lot of hard-coded data relating to mod file format stuff (the stuff is definitely applicable to Oblivion, and yet to be determined if it's applicable for Skyrim). Some of this isn't format specific, like "ABAT stands for Absorb Attribute", that sort of thing. Some of it is, like the Cobl exhaustion defines. This &lt;em&gt;used&lt;/em&gt; to be a file containing Oblivion format/game defines/constants. It's been split off into oblivion.py/skyrim.py slowly as the applicable sections have been addressed.&lt;br /&gt;
    bweb.py - Some internets communication code/parsing of specific webpages.&lt;br /&gt;
    cint.py - CBash Python interface. Defines Python classes as wrappers around the CBash API. It's very hard to read, because it's been written in syntax to maximize performance everywhere possible, using statments like:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;formID&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="n"&gt;FormID&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;EmptyFormID&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;master&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;None&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="n"&gt;master&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;formID&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;isinstance&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;master&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;FormID&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="n"&gt;FormID&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;RawFormID&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;master&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;objectID&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;None&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="n"&gt;FormID&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;UnvalidatedFormID&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;GPath&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;master&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;objectID&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;isinstance&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;master&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;basestring&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Path&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="n"&gt;None&lt;/span&gt;

&lt;span class="n"&gt;Nuances&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;Python&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;statements&lt;/span&gt; &lt;span class="n"&gt;like&lt;/span&gt; &lt;span class="n"&gt;this&lt;/span&gt; &lt;span class="n"&gt;actually&lt;/span&gt; &lt;span class="n"&gt;evaluate&lt;/span&gt; &lt;span class="n"&gt;faster&lt;/span&gt; &lt;span class="n"&gt;than&lt;/span&gt; &lt;span class="n"&gt;using&lt;/span&gt; &lt;span class="n"&gt;traditional&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="n"&gt;blocks&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="n"&gt;Arguably&lt;/span&gt; &lt;span class="n"&gt;though&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;just&lt;/span&gt; &lt;span class="n"&gt;wrap&lt;/span&gt; &lt;span class="n"&gt;that&lt;/span&gt; &lt;span class="n"&gt;in&lt;/span&gt; &lt;span class="n"&gt;parenthesis&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;Python&lt;/span&gt;&lt;span class="o"&gt;'&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="n"&gt;implicit&lt;/span&gt; &lt;span class="n"&gt;line&lt;/span&gt; &lt;span class="n"&gt;continuation&lt;/span&gt; &lt;span class="n"&gt;in&lt;/span&gt; &lt;span class="n"&gt;parenthesis&lt;/span&gt; &lt;span class="n"&gt;would&lt;/span&gt; &lt;span class="n"&gt;let&lt;/span&gt; &lt;span class="n"&gt;you&lt;/span&gt; &lt;span class="n"&gt;type&lt;/span&gt; &lt;span class="n"&gt;that&lt;/span&gt; &lt;span class="n"&gt;in&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="n"&gt;more&lt;/span&gt; &lt;span class="n"&gt;readable&lt;/span&gt; &lt;span class="n"&gt;manner&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;

&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;formID&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;FormID&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;EmptyFormID&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;master&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;None&lt;/span&gt;          &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="n"&gt;master&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;formID&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;isinstance&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mast&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;formID&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;          &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="n"&gt;FormID&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;RawFormID&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;master&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;objectID&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;None&lt;/span&gt;          &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="n"&gt;FormID&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;UnvalidatedFormID&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;GPath&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;master&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;objectID&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;isinstance&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;master&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;basestring&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Path&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;          &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="n"&gt;None&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;Other&lt;/span&gt; &lt;span class="n"&gt;tricks&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;like&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;

&lt;span class="p"&gt;[(&lt;/span&gt;&lt;span class="n"&gt;attr&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;reduce&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;getattr&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;attr&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;'.'&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;parentRecord&lt;/span&gt; &lt;span class="n"&gt;in&lt;/span&gt; &lt;span class="n"&gt;parentRecords&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;reduce&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;getattr&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;attr&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;'.'&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; !&lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="n"&gt;reduce&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;getattr&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;attr&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;'.'&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="n"&gt;parentRecord&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;

&lt;span class="n"&gt;Are&lt;/span&gt; &lt;span class="n"&gt;just&lt;/span&gt; &lt;span class="n"&gt;sooo&lt;/span&gt; &lt;span class="n"&gt;much&lt;/span&gt; &lt;span class="n"&gt;faster&lt;/span&gt; &lt;span class="n"&gt;than&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &amp;quot;&lt;span class="n"&gt;naive&lt;/span&gt;&amp;quot; &lt;span class="n"&gt;way&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;it&lt;/span&gt;&lt;span class="o"&gt;'&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="n"&gt;ridiculous&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;span class="n"&gt;keywordWIZBAIN&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;keywordWIZBAIN2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;settingsModul&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;wizSTC&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;WIZBAIN&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bash&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ini&lt;/span&gt; &lt;span class="n"&gt;editor&lt;/span&gt; &lt;span class="n"&gt;stuff&lt;/span&gt; &lt;span class="n"&gt;looks&lt;/span&gt; &lt;span class="n"&gt;like&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;/dl&gt;
&lt;/div&gt;</summary></entry><entry><title>WikiPage Home modified by Arthmoor</title><link href="https://sourceforge.net/p/oblivionworks/wiki/Home/" rel="alternate"/><published>2012-09-12T07:51:16.214000Z</published><updated>2012-09-12T07:51:16.214000Z</updated><author><name>Arthmoor</name><uri>https://sourceforge.net/u/rlibiez/</uri></author><id>https://sourceforge.net73914d119fa3d30e9371b15804a66f09cb79e1fe</id><summary type="html">Welcome to your wiki!

This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].

The wiki uses [Markdown](/p/oblivionworks/wiki/markdown_syntax/) syntax.

[[project_admins]]
[[download_button]]
</summary></entry></feed>