Staging
v0.5.1
https://github.com/python/cpython
Revision f3fa07470381b4f54b2d3f911fc22624e9b0b27d authored by Antoine Pitrou on 31 January 2010, 22:26:04 UTC, committed by Antoine Pitrou on 31 January 2010, 22:26:04 UTC
  file position when calling `truncate()`.  It would previously change the
  file position to the given argument, which goes against the tradition of
  ftruncate() and other truncation APIs.  Patch by Pascal Chambon.
1 parent e70c72c
Raw File
Tip revision: f3fa07470381b4f54b2d3f911fc22624e9b0b27d authored by Antoine Pitrou on 31 January 2010, 22:26:04 UTC
- Issue #6939: Fix file I/O objects in the `io` module to keep the original
Tip revision: f3fa074
vgrindefs
# vgrind is a pretty-printer that takes source code and outputs
# eye-pleasing postscript.  The entry below should be added to your
# local vgrindefs file.  Contributed by Neale Pickett <neale@lanl.gov>.

python|Python|py:\
        :pb=^\d?(def|class)\d\p(\d|\\|\(|\:):\
        :cb=#:ce=$:sb=":se=\e":lb=':le=\e':\
        :kw=assert and break class continue def del elif else except\
         exec finally for from global if import in is lambda not or\
         pass print raise return try while yield:
back to top