Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exceptions cleanup #3

Closed
wants to merge 50 commits into from
Closed

Conversation

moreati
Copy link
Contributor

@moreati moreati commented Jun 29, 2015

No description provided.

moreati and others added 30 commits June 19, 2015 12:26
This also fixes Mac OS X Lion options being selected on Snow Leopard -
due to misordered of elif blocks.
The remaining instance will now print a full traceback. This should
improve on with https://sourceforge.net/p/pyscard/bugs/8/, or at least
make it easier to solve
5 undefined variables remain unfixed, they appear to be missing
`smartcard.scard.scard` exports
```
************* Module smartcard.pcsc.PCSCReader
E: 67,22: Undefined variable 'SCardIntroduceReader' (undefined-variable)
E: 70,22: Undefined variable 'SCardAddReaderToGroup' (undefined-
variable)
E: 85,22: Undefined variable 'SCardRemoveReaderFromGroup' (undefined-
variable)
************* Module smartcard.pcsc.PCSCReaderGroups
E: 66,22: Undefined variable 'SCardIntroduceReaderGroup' (undefined-
variable)
E: 90,22: Undefined variable 'SCardForgetReaderGroup' (undefined-
variable)
```
…INFO

PKG-INFO and included in the sdist package each time setup.py is run.
Storing it in source control is redundant.
AppVeyor is a Continuous Integration build system for Windows.
The travis-ci icon now links to the project on travis-ci.org
LudovicRousseau and others added 20 commits June 29, 2015 08:49
Do not forget to close the file handle when the file can be open
correctly.
Use spaces instead of tabs
Some values have been renamed or removed.
This also fixes Mac OS X Lion options being selected on Snow Leopard -
due to misordered of elif blocks.
The remaining instance will now print a full traceback. This should
improve on with https://sourceforge.net/p/pyscard/bugs/8/, or at least
make it easier to solve
5 undefined variables remain unfixed, they appear to be missing
`smartcard.scard.scard` exports
```
************* Module smartcard.pcsc.PCSCReader
E: 67,22: Undefined variable 'SCardIntroduceReader' (undefined-variable)
E: 70,22: Undefined variable 'SCardAddReaderToGroup' (undefined-
variable)
E: 85,22: Undefined variable 'SCardRemoveReaderFromGroup' (undefined-
variable)
************* Module smartcard.pcsc.PCSCReaderGroups
E: 66,22: Undefined variable 'SCardIntroduceReaderGroup' (undefined-
variable)
E: 90,22: Undefined variable 'SCardForgetReaderGroup' (undefined-
variable)
```
…aders

Ideally there would be no naked exception handlers, but if we have these
already and removing them would probably break backward compatibility
too much.

At least we can give complete tracebacks - with line numbers etc.
@moreati moreati closed this Jun 29, 2015
@moreati moreati deleted the except-cleanup branch June 29, 2015 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants