1. 21 Apr, 2005 1 commit
    • Walter Dörwald's avatar
      If the data read from the bytestream in readline() ends in a '\r' read one more · bc8e642c
      Walter Dörwald authored
      byte, even if the user has passed a size parameter. This extra byte shouldn't
      cause a buffer overflow in the tokenizer. The original plan was to return a line
      ending in '\r', which might be recognizable as a complete line and skip any '\n'
      that was read afterwards. Unfortunately this didn't work, as the tokenizer only
      recognizes '\n' as line ends, which in turn lead to joined lines and
      SyntaxErrors, so this special treatment of a split '\r\n' has been dropped. (It
      can only happen with a temporarily exhausted bytestream now anyway.)
      Fixes parts of SF bugs #1163244 and #1175396.
      bc8e642c
  2. 20 Apr, 2005 3 commits
  3. 19 Apr, 2005 3 commits
  4. 18 Apr, 2005 1 commit
    • Michael W. Hudson's avatar
      Fix: · 774479c6
      Michael W. Hudson authored
      [ 1176893 ] Readline segfault
      
      by unsilly-ing PyGILState_Release().
      
      Backport candidate.
      774479c6
  5. 17 Apr, 2005 1 commit
  6. 15 Apr, 2005 3 commits
  7. 14 Apr, 2005 1 commit
  8. 13 Apr, 2005 2 commits
  9. 12 Apr, 2005 1 commit
  10. 11 Apr, 2005 2 commits
  11. 10 Apr, 2005 3 commits
  12. 09 Apr, 2005 8 commits
  13. 08 Apr, 2005 7 commits
  14. 07 Apr, 2005 3 commits
  15. 06 Apr, 2005 1 commit