Learning Python - Mark Lutz [614]
from imports and reload statement, reload May Not Impact from Imports, reload, from, and Interactive Testing
interactive testing, reload, from, and Interactive Testing
import statement, versus, Modules and namespaces
name copying without linking, from Copies Names but Doesn’t Link
pitfalls, Potential Pitfalls of the from Statement, When import is required, Potential Pitfalls of the from Statement, Potential Pitfalls of the from Statement, When import is required
corruption of namespaces, Potential Pitfalls of the from Statement
reload statement, when used with, Potential Pitfalls of the from Statement
when import is required, When import is required
variables and, from * Can Obscure the Meaning of Variables
_ (underscore) prefix and __all__ variable, Minimizing from * Damage: _X and __all__
from __future__ statement, Relative Import Basics
from_float method, Conversions and mixed types
frozen binaries, Frozen Binaries, Frozen Binary Executables, Development Tools for Larger Projects
frozenset built-in call, Immutable constraints and frozen sets
function argument-matching forms, Matching Syntax
function attributes, State with function attributes, Function Attributes
function calls, Class Method Calls
function decorators, Decorators and Metaclasses: Part 1, For More Details, Function Decorator Basics, A First Function Decorator Example, Coding Properties with Decorators, Managing Calls and Instances, Function Decorators, Usage, Implementation, Supporting method decoration, Coding Function Decorators, Why Decorators? (Revisited), Tracing Calls, State Information Retention Options, Function attributes, Class Blunders I: Decorating Class Methods, Using descriptors to decorate methods, Timing Calls, Timing Calls, Adding Decorator Arguments, Adding Decorator Arguments, Example: Validating Function Arguments, Other Applications: Type Testing (If You Insist!), A Basic Range-Testing Decorator for Positional Arguments, Generalizing for Keywords and Defaults, Too, Implementation Details, Open Issues
basics, Function Decorator Basics
coding, Coding Function Decorators, Why Decorators? (Revisited), Tracing Calls, State Information Retention Options, Function attributes, Class Blunders I: Decorating Class Methods, Using descriptors to decorate methods, Timing Calls, Timing Calls, Adding Decorator Arguments, Adding Decorator Arguments
adding arguments, Adding Decorator Arguments, Adding Decorator Arguments
decorating class methods, Class Blunders I: Decorating Class Methods, Using descriptors to decorate methods
state information retention, State Information Retention Options, Function attributes
timing calls, Timing Calls, Timing Calls
tracing calls, Tracing Calls
example, A First Function Decorator Example
function arguments, validating, Example: Validating Function Arguments, Other Applications: Type Testing (If You Insist!), A Basic Range-Testing Decorator for Positional Arguments, Generalizing for Keywords and Defaults, Too, Implementation Details, Open Issues
generalizing for keywords and defaults, Generalizing for Keywords and Defaults, Too
implementation details, Implementation Details
open issues, Open Issues
range-tester for positional arguments, A Basic Range-Testing Decorator for Positional Arguments
implementation, Implementation
properties of managed attributes, coding with, Coding Properties with Decorators
supporting method decoration, Supporting method decoration
usage, Usage
function introspection, Function introspection
functional programming, Functional Programming Tools: filter and reduce
functions, Common Coding Gotchas, Function Basics, def Executes at Runtime, Function Basics, Why Use Functions?, Coding Functions, def Executes at Runtime, def Statements, A First Example: Definitions and Calls, Definition, Calls, Polymorphism in Python, A Second Example: Intersecting Sequences, Local Variables, Definition, Calls, Polymorphism Revisited, Local Variables, Local Variables, Scope Rules, Scope Rules, Scope Rules, Function Design Concepts,