[issue2630] repr() should not escape non-ASCII characters

2008-06-03 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: One more thing: with r63891 the encoding and errors arguments for the creation of sys.stderr were made configurable; you'll have to adapt the patch so that it defaults to backslashescape but can be overridden by PYTHO

[issue2906] tkinter, assorted fixes

2008-06-03 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Applied in trunk, 25-maint and 3k. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue2630] repr() should not escape non-ASCII characters

2008-06-03 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Review: * Why is an empty string not printable? In any case, the empty string should be among the test cases for isprintable(). * Why not use PyUnicode_DecodeASCII instead of PyUnicode_FromEncodedObject? It should be a bit faster. *

[issue2630] repr() should not escape non-ASCII characters

2008-06-03 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: ascii() should probably be in future_builtins. Whether the C API stuff and .isprintable() should be backported to 2.6 is something for Guido to decide. ___ Python tracker <[EMAIL PROTECTE

[issue3036] docs - print() example wrong in whatsnew

2008-06-04 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Have you tried it? :) The example is correct as it is. -- resolution: -> invalid status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3037] in output

2008-06-04 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Okay, closing as "wfm". -- resolution: -> works for me status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <h

[issue1608818] Sloppy error checking in listdir() for Posix

2008-06-04 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> loewis components: +Extension Modules -Library (Lib) keywords: +easy nosy: +loewis priority: normal -> high type: -> crash versions: +Python 2.6, Python 3.0 ___ Python

[issue2630] repr() should not escape non-ASCII characters

2008-06-04 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I would expect "abc".isprintable() give me a bool and "abc".printable() to return a printable string, as with "abc".lower() and "abc".islower(). ___ Python track

[issue3041] autodoc does not support unicode docstrings

2008-06-05 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r63958. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3047] string object's lstrip function

2008-06-06 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: What did you expect? Quoting from the docs, """The chars argument is not a prefix; rather, all combinations of its values are stripped: >>> 'www.example.com'.lstrip('cmowz.') 'exam

[issue3002] shutil.copyfile blocks indefinitely on named pipes

2008-06-06 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- priority: -> critical versions: +Python 3.0 -Python 2.3, Python 2.4 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3043] Recursion bug in deepcopy

2008-06-06 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- resolution: -> wont fix status: open -> pending ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3051] heapq change breaking compatibility

2008-06-06 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3057] 2.6 abc fixes

2008-06-07 Thread Georg Brandl
New submission from Georg Brandl <[EMAIL PROTECTED]>: This patch makes the 2.6 Mapping ABC use the 2.6 dict interface. It also removes registering list as a KeysView, ValuesView and ItemsView. -- assignee: gvanrossum components: Library (Lib) files: abcoll.diff keywords: 26ba

[issue3057] 2.6 abc fixes

2008-06-07 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: OK, committed as r64018. -- resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue2847] Remove cl usage from aifc

2008-06-07 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I found a few more bytes/str problems, committed patch in r64023. -- resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3060] Warn about tuple parameters

2008-06-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Why not warn in the AST, like for the other syntax-related changes? The relevant location is ast_for_arguments, line 680 in current SVN. ___ Python tracker <[EMAIL PROTECTED]> <http://

[issue2349] Py3K warn against assigning to True/False

2008-06-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Hmm, I'd even go a step further and factor out the whole checking for invalid/warnable names, like in Py3k's forbidden_name. Also the warning text shouldn't start with uppercase a

[issue3060] Warn about tuple parameters

2008-06-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Also a test is missing. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3060> ___ __

[issue3061] time.strftime() always decodes result with UTF-8

2008-06-08 Thread Georg Brandl
New submission from Georg Brandl <[EMAIL PROTECTED]>: It decodes the system strftime's result using TZNAME_ENCODING which is also used to decode timezone names. This may be correct for timezone names themselves (I don't know), but the strftime result is encoded in the LC_TI

[issue3028] tokenize module: normal lines, not "logical"

2008-06-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I got it wrong too at first; the "logical line" refers to the last tuple item, the line string, not the line *number* passed. It should now be clear as of r64037. -- resolution: -> fixed sta

[issue3059] Removing .decode calls from Lib/calendar.py

2008-06-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, committed in r64033. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3060] Warn about tuple parameters

2008-06-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Replace "upacking" with "unpacking" and you can commit it :) ___ Python tracker <[EMAIL PROTECTED]> &

[issue2349] Py3K warn against assigning to True/False

2008-06-08 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: The macro at the top of the patch should be removed, then this can be checked in. -- resolution: -> accepted ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3050] Implement PEP 371: multiprocessing module

2008-06-10 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Attaching reviewed docs patch. Added file: http://bugs.python.org/file10572/mpdocs.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2536] itertools.permutations docstring is misleading

2008-06-10 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r64067. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue2997] PyNumberMethods has left-over fields in Py3

2008-06-10 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- priority: -> critical ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2997> ___ ___

[issue2330] Update PEP 3000 with new release schedule

2008-06-10 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue1722348] urlparse.urlunparse forms file urls incorrectly

2008-06-10 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- resolution: -> works for me status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue2630] repr() should not escape non-ASCII characters

2008-06-11 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Patch committed to Py3k branch in r64138. Thanks all! -- resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue1819] Speed hack for function calls with named parameters

2008-06-11 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: gvanrossum -> georg.brandl nosy: +georg.brandl ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3026] mmap broken with large files on 64bit system

2008-06-11 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- priority: -> critical versions: +Python 3.0 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3013] disutils fails with GNU ld (GNU Binutils) 2.18.50.20080523

2008-06-11 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- resolution: -> duplicate status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue2419] Remove all IRIX dependant modules from aifc module

2008-06-11 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- resolution: -> duplicate status: open -> closed superseder: -> Remove cl usage from aifc ___ Python tracker <[EMAIL PROTECTED]> <http://b

[issue3091] Can't build datetime or time on py3k (r64171)

2008-06-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Where does the strftime.c come from? It is not in the Python sources -- is this a Mac-specific thing? -- nosy: +georg.brandl ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3092] Wrong unicode size detection in pybench

2008-06-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: > No, it returns a 2-character string. Which hopefully is the proper surrogate sequence :) -- nosy: +georg.brandl ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3096] sphinx: sort warnings by filename

2008-06-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, added in r64201. -- resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue2874] Remove use of the stat module in the stdlib

2008-06-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: This is a proof of concept how to add methods to a structseq type. Of course PyStructSequence_InitType could also get a companion PyStructSequence_InitTypeEx that takes a PyMethodDef* array. -- keywords: +patch nosy: +georg.

[issue3095] multiprocessing initializes flags dict unsafely

2008-06-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I think the easiest way is to just call AddObject after inserting the values. I fixed this, and the leaking BuildValue references, in r64223. -- nosy: +georg.brandl resolution: -> fixed status: open

[issue3104] overzealous garbage collector (dict)

2008-06-13 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: You'll have to produce a test case for this "dropping" -- otherwise I don't believe that 16 MB cause *any* memory problems at all. -- nosy: +georg.brandl status: open -> pending _

[issue3079] sys.exit() called from optparse - bad, bad, bad

2008-06-13 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I agree with Antoine that the standard behavior is what you want in most simple command-line scripts. It's easy enough to replace the parser's exit function to just print the message, or raise an exception. -- nos

[issue3098] sys.sizeof test fails with wide unicode

2008-06-13 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: It is true that sys.maxunicode reflects whether the build is using UCS-2 or UCS-4; however, the size of Py_UNICODE is not fixed by that, look at unicodeobject.h. (Though I don't think we have platforms that actually *do* use sizes o

[issue3099] On windows, "import nul" always succeed

2008-06-13 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: The title is misleading -- if what you show is correct then "import nul" doesn't succeed :) -- nosy: +georg.brandl ___ Python tracker <[EMAIL PROTECTED]> <ht

[issue3117] segfault with (None,) as argument in a def/lambda

2008-06-15 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r64300. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3098] sys.sizeof test fails with wide unicode

2008-06-15 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Looks good to me. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3098> ___ ___ Python

[issue3142] urllib docs don't match the new modules

2008-06-19 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Great! When finished with the docs, just check them in, I'll look over it then. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue3143] development docs waste a lot of horizontal space on left nav bar

2008-06-20 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I know about this and will think about possible ways out of it. Of course if someone has a patch it will probably be faster. -- components: +Documentation tools (Sphinx) ___ Python tracker &

[issue3152] ast module docs document private attribute

2008-06-20 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I disagree. The AST classes are auto-generated, the leading underscore of _fields is there to avoid clashes with field names from the AST types. This is similar to http://docs.python.org/dev/library/collections#collections.somename

[issue3085] chapter 17.1.3.5 'Replacing os.popen*' in the Python library reference contains an error

2008-06-22 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r64461. Thanks! -- resolution: -> fixed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3157] sqlite3 minor documentation issues

2008-06-22 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I fixed the docstring in r64463 (2.5 branch, already fixed in trunk) and expanded the connect() docstring in r64464. -- resolution: -> fixed status: open -> closed ___ Python tra

[issue3146] Sphinx/LaTeX fails on Python 3.0b1 documentation

2008-06-22 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, should be fixed with Sphinx r64465. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3085] chapter 17.1.3.5 'Replacing os.popen*' in the Python library reference contains an error

2008-06-22 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I don't maintain the 2.5 docs anymore, at least for such minor bugs. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue3142] urllib docs don't match the new modules

2008-06-23 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Only a few things -- I've done them in r64477. This is now done, thanks! -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http:/

[issue3181] ConfigParsers are classic classes

2008-06-23 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Why do you think ConfigParser should be a new-style class? -- nosy: +georg.brandl resolution: -> invalid status: open -> pending ___ Python tracker <[EMAIL PROTECTED]> <h

[issue3192] exec(open(filename)) doesn't work

2008-06-26 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- resolution: -> duplicate status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3207] file.write() after file.readline() in mode "r+"

2008-06-26 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Can't reproduce on Linux on 2.6 or 3.0. -- assignee: georg.brandl -> ___ Python tracker <[EMAIL PROTECTED]> <http://bu

[issue3209] Grammar error in UserDict module docs

2008-06-26 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Already fixed in SVN. Thanks! -- resolution: -> out of date status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3204] operator module docs are not updated to 3.0

2008-06-26 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, committed as r64536. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3211] warnings.warn_explicit raises SystemError

2008-06-26 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- priority: -> critical ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3211> ___ ___

[issue3242] Segfault in PyFile_SoftSpace/PyEval_EvalFrameEx with sys.stdout reassigned

2008-06-30 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- resolution: -> invalid status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3240] IDLE environment corrupts string.letters

2008-06-30 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Changing the locale changes string.letters -- that is expected behavior. -- nosy: +georg.brandl resolution: -> wont fix status: open -> pending ___ Python tracker <[EMAIL PR

[issue2683] subprocess.Popen.communicate takes bytes, not str

2008-07-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed docs in r64619. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue2683] subprocess.Popen.communicate takes bytes, not str

2008-07-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: You're right, I fixed that too in r64621. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue2775] Implement PEP 3108

2008-07-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r64624. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2775> ___ ___ Python

[issue3235] Improve subprocess module usage

2008-07-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Added a link to PEP 324 in r64625. The other issues were explained by Martin; it will be easier to read the subprocess docs in 2.6 where they're all on one page. -- resolution: -> fixed status:

[issue3220] Improve Bytes and Byte Array Methods doc

2008-07-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: > Lib Ref/Built-in Types/Sequence Types/Bytes and Byte Array Methods > > The following set/frozenset and dict sections repeat (and for dicts, > expands upon) the constructor interface from the Built-in Functions > sectio

[issue3217] make text is broken

2008-07-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed with r64629. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3240] IDLE environment corrupts string.letters

2008-07-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Well, that wouldn't be different if you had set the locale in your prompt. In short, ``u'a' in string.letters`` can never work with any string.letters except the default, English-only one, a

[issue3216] Scarce msilib documentation

2008-07-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed the Execute parameter in r64630. add_data was already fixed. Assigning to Martin; if someone is to write usage info, it's got to be him. -- assignee: georg.brandl -> loewis nosy: +loewis resolution: -> fixed

[issue3203] sphinx - table of contents doesn't render correctly (html)

2008-07-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: This is already on my to-do list. Thanks for raising it as an issue though, I won't forget it so easily this way :) ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue3214] Suggest change to glossary explanation: "Duck Typing"

2008-07-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Paddy: IMO hasattr() is the "if it quacks like a duck" part of duck-typing. It e.g. allows testing "hasattr(x, 'write')" to see if it's a writable file-like object, and doing something else otherwise.

[issue3191] round docstring is inaccurate

2008-07-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r64634. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue1523853] 2.4.2 file.read caches EOF state

2008-07-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Added note in r64635. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue1410739] Add notes to the manual about `is` and methods

2008-07-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Reworded a bit and applied as r64638. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3251] references are case insensitive

2008-07-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r64642. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue2351] Using __(get|set|del)slice__ needs a Py3K warning

2008-07-01 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: georg.brandl -> ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2351> ___ __

[issue3275] Control flow not optimized

2008-07-04 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: What real-life use case do you have for a condition that is a boolean operation on two constant values anyway? Things like while 1: ... are properly optimized since they serve a useful purpose. -- nosy: +georg.

[issue3279] import of site.py fails on startup

2008-07-04 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- priority: -> critical ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3279> ___ ___

[issue3282] Undefined unicode characters should be non-printable

2008-07-04 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Should be fixed in r64701... -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue1754483] linecache package handling

2008-07-05 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> georg.brandl nosy: +georg.brandl ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2663] shutil.copytree glob-style filtering [patch]

2008-07-05 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Committed in r64722. Thanks everyone! -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3235] Improve subprocess module usage

2008-07-05 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I don't understand the comment about poll(). In any case, I plan on referencing Doug's PyMOTW pages for all modules he does, since they are indeed excellent tutorials. ___ Python tracker &

[issue3292] Position index limit; s.insert(i,x) not same as s[i:i]=[x]

2008-07-05 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Please bring it up on python-dev. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3292> ___ _

[issue3290] python-config --cflags includes irrelevant flags

2008-07-05 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I think you're right. However, Martin, what flags except -I can/must we keep? ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue3298] Multiline string with quotes is not parsed correctly.

2008-07-06 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: There is an ambiguity: did you mean """ " or " """ (spaces added for clarity). Python does not count quotes, parentheses or similar in strings, so the first occurrence of """ will cl

[issue3298] Multiline string with quotes is not parsed correctly.

2008-07-06 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: The last quote starts another string literal, so this is valid Python: """A "test"""" B" and results in a string 'A "test B'. The lexer cannot know whether the second s

[issue3302] segfault on gettext(None)

2008-07-06 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> loewis nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3303] invalid ref count on locale.strcoll() error

2008-07-06 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> loewis nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3301] DoS when lo is negative in bisect.insort_right() / _left()

2008-07-06 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: The same is true for all other _bisect functions. The pure Python versions from bisect work with negative indices by interpreting them as in slice notation. This should probably be harmonized. -- assignee: -> rhetti

[issue3299] invalid object destruction in re.finditer()

2008-07-06 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: This seems to be new in trunk; 2.5.2 raises a TypeError. -- nosy: +georg.brandl ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3299] invalid object destruction in re.finditer()

2008-07-06 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> effbot nosy: +effbot ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3299] invalid object destruction in re.finditer()

2008-07-06 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- priority: -> critical ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3299> ___ ___

[issue3299] invalid object destruction in re.finditer()

2008-07-06 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: > It can also be used in constructors, to destroy an object that was just > created if something goes wrong. It appears that this is not true in debug builds: PyObject_NEW adds the object to the global linked list of all ob

[issue3018] tkinter demos fixed

2008-07-08 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> georg.brandl nosy: +georg.brandl ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3359] add 'rbU' mode to open()

2008-07-15 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: > If you open file with 'r' - all line endings will be mapped precisely to > '\n' anyways, so it has nothing to do with 'U' mode. No they won't -- only the platform-specific newline will. On Un

[issue3324] Broken link in online doc

2008-07-15 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: In addition to what Benjamin said, the Python docs are released together with the source, so even if the issue was corrected in the 2.5 docs now, the correction would not show up until 2.5.3 is released, which is not even planned befo

[issue3090] ARCHFLAGS parsing/concatenation in unixccompiler.py breaks when set to a string

2008-07-15 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I'd say go ahead. -- nosy: +georg.brandl resolution: -> accepted ___ Python tracker <[EMAIL PROTECTED]> <http://bu

[issue3336] datetime weekday() function

2008-07-15 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- resolution: -> wont fix status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3374] Bisect upgrades: key/cmp/reverse, parameterized handedness

2008-07-16 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3376] Use Python 3 lexer for 3.0 docs

2008-07-16 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: georg.brandl components: Documentation, Documentation tools (Sphinx) nosy: georg.brandl priority: low severity: normal status: open title: Use Python 3 lexer for 3.0 docs versions: Pyth

<    10   11   12   13   14   15   16   17   18   19   >