Add .swp to .gitignore.
Add python build stuff to .gitignore
Initial commit of pepy (pronounced p-pie).

This is a set of python bindings to pe-parse. It is nowhere near feature
complete yet but I'll keep working on it.
Add a test file that uses the bindings.
Add README. Still barebones.
Silence warnings in pepy.cpp.
Add a bunch of constants.

These are useful for checking values I'll be adding support for later.

import pepy
print hex(pepy.MZ_MAGIC)
Implement timedatestamp member.

While here, DECREF the string used in init. Also, make a note that I really
want to use a bytearray instead of a list for get_bytes().
Remove unused import.
Don't store parsed values in python objects.

Convert the PyObject pointers used inside pepy_parsed into their corresponding
native types and use those. Teach the members array to return them accordingly.

While here might as well add support for signature and machine values.

Also, convert test.py to have shorter output by not using pprint.
Fix crash, convert back to PyObject pointers.

There was some weird memory corruption caused by how pepy_parsed_init()
was parsing arguments. The result was that accessing attributes or methods
which didn't exist would periodically cause segfaults. This code was leftover
from an earlier way of doing things and doesn't need to be done this way.
Just parse straight to a C style string instead of this crap.

Also implement support for signature, machine support.

Also, add Py_TPFLAGS_BASETYPE as you should.
Turns out I like using native types.

Switch back to using native types. This is less memory for me to manage.
Switch from using members to getseters.

This means I don't have to store anything in the pepy_parsed object (PyObject
pointers or native C types). Use a macro to get things out of the parsed
structures and into python objects.
Support section, symbols and characteristics.

While here, make it easier to extend by providing macros to eliminate
the mundane that goes into writing getset members.
Sections are now their own type.

Do not return a list of dictionaries from get_sections(). Now it returns a
list of section objects, which expose the information via attributes.
Implement imports and exports.

Might as well do some general cleanup too:

Rename the len attribute of a section to length.

The section, import and export callbacks return 0 on success and anything else
on failure.

Whitespace fixes.

Fix a bunch of copy/paste mistakes in the test script.
Simplify things a bit.

Instead of having 2 macros for each object simplify by having 1 set of
macros that can work across all objects except the parsed object. I could
make this work for the parsed object by making the parsed object store
PyObject pointers to the parsed values instead of creating them on the fly
while getting an attribute.
Implement a bunch of parsed attributes.

These are all the things the dump-prog pulls out already.
Merge branch 'master' into pepy
Implement relocations.

This still needs testing.