[issue2505] Easier creation of _ast nodes

2008-03-29 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Okay, I'm dropping the attribute restriction part. Attaching new patch that allows creating nodes with fields (not attributes) as positional arguments, and setting all keyword arguments as attributes on self. -- titl

[issue2510] Bazaar ignore file

2008-03-29 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Wouldn't it be the job of the synchronisation job to automatically create a .bzrignore file from the SVN ignore properties? __ Tracker <[EMAIL PROTECTED]> <http://bugs.

[issue2511] Give AST's excepthandler proper attributes

2008-03-29 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Committed in r62047. -- status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2511> __ _

[issue2505] Easier creation of _ast nodes

2008-03-30 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Committed in r62049. -- status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2505> __ _

[issue2176] Undocumented lastrowid attribute i sqlite3 cursor class

2008-03-30 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Gerhard: Note that you don't need to commit identical changes to the trunk and 3k branches -- the merging process will take care of this. __ Tracker <[EMAIL PROTECTED]> <http://bugs.

[issue2514] new AST init breaks on Store and other fieldless Nodes

2008-03-30 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r62051. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2530] Document IO module

2008-04-05 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Great! __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2530> __ ___ Python-bugs-list mailing list

[issue2556] changing sys.dont_write_bytecode has not effect

2008-04-05 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Sorry, I can't see what's wrong here. See import.c which indeed uses PySys_GetObject to retrieve the value of dont_write_bytecode. __ Tracker <[EMAIL PROTECTED]> <http://

[issue2541] Unicode escape sequences not parsed in raw strings.

2008-04-05 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: The segment "use different rules for interpreting backslash escape sequences." should be killed entirely, and the whole rule told here. Also, a few paragraphs later there are more references to raw strings, e.g. "Wh

[issue2545] sphinx.ext.autodoc fails to expand tabs in docstrings

2008-04-05 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thank you, fixed in r62171. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2547] Py30a4 RELNOTES only cover 30a1 and 30a2

2008-04-05 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: georg.brandl -> gvanrossum nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue2558] Document pickle protocol 3

2008-04-05 Thread Georg Brandl
New submission from Georg Brandl <[EMAIL PROTECTED]>: A new pickle protocol was added to Py3k; it needs to be mentioned in the docs. -- assignee: georg.brandl components: Documentation messages: 64993 nosy: georg.brandl severity: normal status: open title: Document pickle prot

[issue2558] Document pickle protocol 3

2008-04-05 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: georg.brandl -> gvanrossum nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue2561] Instance remembers old values from former life

2008-04-06 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Yes, this is expected. Default values are only evaluated once, at function creation time. If you need to have a mutable default argument that is assigned to something and changed, use something like this: def f(arg=None): if arg i

[issue2558] Document pickle protocol 3

2008-04-06 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Committed the patch in r62181. -- assignee: gvanrossum -> georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://b

[issue980098] Module to dynamically generate structseq objects

2008-04-06 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I believe this is obsolete now we have namedtuple? -- assignee: -> rhettinger nosy: +georg.brandl, rhettinger Tracker <[EMAIL PROTECTED]> <http://bugs.pyth

[issue2530] Document IO module

2008-04-06 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Looks good already! I can't review the full text now, but can you move member documentation into the indented block for the class? (I know other documents don't do this, but this is a legacy and I'd like new document

[issue2525] class USTimeZone in Doc/includes/tzinfo-examples.py is out of date

2008-04-07 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Committed as r62214, r62215 (2.5). -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2567] Section "New-style and classic classes" needs to be removed/rewritten

2008-04-07 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r62216. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2572] 3.0 pickle docs -- what about old-style classes?

2008-04-07 Thread Georg Brandl
New submission from Georg Brandl <[EMAIL PROTECTED]>: Can 3.0 unpickle pickled old-style classes? Which pickling methods are supported? Etc. -- assignee: alexandre.vassalotti components: Documentation messages: 65098 nosy: alexandre.vassalotti, georg.brandl severity: normal status

[issue2579] Misleading 'toctree references unknown document' error

2008-04-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r62245. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue1184112] Missing trailing newline with comment raises SyntaxError

2008-04-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: The exec example still presents me a syntax error in 2.5.2. _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue2585] urllib2.HTTPError broken due to urllib.addinfourl changes

2008-04-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks Guilherme, that is indeed a detail that I forgot. Fixed in r62246. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2530] Document IO module

2008-04-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Reviewed, changed a few things and committed as r62252. Thanks! -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2580] Revise builtin class int library manual entry

2008-04-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Committed as r62253. Thanks! -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2575] Reference manual: production for integer literals is missing "bininteger"

2008-04-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r62254. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2568] Seconds range in time unit

2008-04-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Isn't the bug here rather that strptime doesn't allow leap seconds? __ Tracker <[EMAIL PROTECTED]> <http://

[issue2601] [regression] reading from a urllib2 file descriptor happens byte-at-a-time

2008-04-09 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- priority: high -> critical __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2601> __ ___ Python-b

[issue2603] Make range __eq__ work

2008-04-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I have no opinion whether the patch should go in, but in any case: * You should use PyObject_RichCompareBool. * You should error-check the returns of those. -- nosy: +georg.brandl __ Tracker &

[issue2603] Make range __eq__ work

2008-04-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Ah yes, and variable declarations must be at the start of a block, else MSVC (and possible other compilers) will complain. __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2530] Document IO module

2008-04-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Other than the "class.method" change you already noticed, I changed some "method"s to "attribute"s (since they are @propertied in the source), removed parens in :meth:`` roles, moved the constructor descrip

[issue2568] Seconds range in time unit

2008-04-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Okay, sorry that I made uninformed guesses :) __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2568> __ __

[issue2568] Seconds range in time unit

2008-04-09 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: georg.brandl -> __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2568> __ ___ Python-b

[issue2621] rename test_support to support

2008-04-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: It would be nice if all test.test_foo modules were real tests. I know this is on the stdlib-sig's list of changes for 3.0; I don't think we should do the rename in 2.x. __ Tracker <[EMAI

[issue2530] Document IO module

2008-04-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: It isn't. I'll have to investigate this -- I have a feeling of déjà-bug... __ Tracker <[EMAIL PROTECTED]> <http://

[issue1156280] cmd.Cmd().cmdloop() can't read from file

2008-04-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Closing as duplicate. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> cmd.py always uses raw_input, even when another stdin is specified _

[issue1721241] code that writes the PKG-INFO file doesnt handle unicode

2008-04-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Closing as duplicate. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> Cannot use non-ascii letters in disutils if setuptools is used. _

[issue2615] xml.dom.minidom documentation consistency and update

2008-04-12 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Committed as r62295. -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2622] Import errors in email.message.py

2008-04-12 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> barry nosy: +barry priority: -> low __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2622> __ __

[issue992389] attribute error after non-from import

2008-04-12 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> ncoghlan priority: low -> normal Tracker <[EMAIL PROTECTED]> <http://bugs.p

[issue2530] Document IO module

2008-04-13 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Should be fixed now with the latest Sphinx revision. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2530> __

[issue2627] mark pgen generated files

2008-04-13 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fine with me if you convert the spaces to a tab first. -- assignee: georg.brandl -> benjamin.peterson __ Tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue2645] httplib throws ValueError

2008-04-18 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> georg.brandl nosy: +georg.brandl __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2645> __ _

[issue2645] httplib throws ValueError

2008-04-19 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: The trunk version does already handle this: it closes the connection and raises IncompleteRead. -- resolution: -> out of date status: open -> closed __ Tracker <[EMAIL PR

[issue2639] shutil.copyfile() documentation is vague

2008-04-19 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r62389. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2634] os.execvpe() docs need to be more specific

2008-04-19 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r62390. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2633] Improve subprocess.Popen() documentation ("env" parameter)

2008-04-19 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r62391. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2631] IMPORT_NAME Documentation is incomplete

2008-04-19 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r62392. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2645] httplib throws ValueError

2008-04-20 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I decided not to do that since it changes the exception raised, which I guess the release managers won't view as a bugfix. __ Tracker <[EMAIL PROTECTED]> <http://bugs.

[issue1376292] Write user's version of

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1376292> _ ___ Python-bugs-list mailing list

[issue1376292] Write user's version of

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1376292> _ ___ Python-bugs-list mailing list

[issue1376292] Write user's version of

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1376292> _ ___ Python-bugs-list mailing list

[issue1376292] Write user's version of

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1376292> _ ___ Python-bugs-list mailing list

[issue1376292] Write user's version of

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1376292> _ ___ Python-bugs-list mailing list

[issue1376292] Write user's version of

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1376292> _ ___ Python-bugs-list mailing list

[issue1376292] Write user's version of

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1376292> _ ___ Python-bugs-list mailing list

[issue1376292] Write user's version of

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1376292> _ ___ Python-bugs-list mailing list

[issue1376292] Write user's version of

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1376292> _ ___ Python-bugs-list mailing list

[issue1376292] Write user's version of

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1376292> _ ___ Python-bugs-list mailing list

[issue1376292] Write user's version of

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1376292> _ ___ Python-bugs-list mailing list

[issue1376292] Write user's version of

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1376292> _ ___ Python-bugs-list mailing list

[issue1376292] Write user's version of the reference guide

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- title: Write user's version of -> Write user's version of the reference guide _ Tracker <[EMAIL PROTECTED]> <http://

[issue1376292] Write user's version of the reference guide

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10091/unnamed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1376292] Write user's version of the reference guide

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10092/unnamed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1376292] Write user's version of the reference guide

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10094/unnamed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1376292] Write user's version of the reference guide

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10095/unnamed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1376292] Write user's version of the reference guide

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10090/unnamed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1376292] Write user's version of the reference guide

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10098/unnamed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1376292] Write user's version of the reference guide

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10100/unnamed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1376292] Write user's version of the reference guide

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10093/unnamed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1376292] Write user's version of the reference guide

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10101/unnamed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1376292] Write user's version of the reference guide

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10097/unnamed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1376292] Write user's version of the reference guide

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10096/unnamed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1376292] Write user's version of the reference guide

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10099/unnamed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue2686] Any chance we could double the height of the 'Comment:' text area on tracker?

2008-04-24 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- resolution: -> invalid status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2686> __ __

[issue2677] Argument rules for callables do not apply when function implementation uses PyArg_ParseTuple

2008-04-26 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I'd love to add to the documentation, but I can't seem to find a proper location - except the Tutorial? __ Tracker <[EMAIL PROTECTED]> <http://

[issue2691] Document size_t related long object APIs

2008-04-26 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, committed as r62513. -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2668] apply() documentation is slightly incorrect

2008-04-26 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r62511. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2700] document PyNumber_ToBase

2008-04-27 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: You should mention that if base is none of 2, 8, 10, or 16, the output looks like "12#555" where 12 is the base. __ Tracker <[EMAIL PROTECTED]> <http://

[issue2677] Argument rules for callables do not apply when function implementation uses PyArg_ParseTuple

2008-04-27 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Ah sorry, I should really read the OP next time. Added a note in r62521. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2699] Exception name improperly indented

2008-04-27 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: You could add a function to the _testcapi module to invoke PyErr_Display. -- nosy: +georg.brandl __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2337] Backport oct() and hex() to use __index__

2008-04-27 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I don't assume there are too many people using oct() and hex() with custom types anyway :) Since PyNumber_ToBase and the new oct() format octal numbers with "0o" instead of "0", I still think it's bett

[issue2700] document PyNumber_ToBase

2008-04-27 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Okay, go ahead and commit. -- assignee: georg.brandl -> benjamin.peterson resolution: -> accepted __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue841728] urllib and cookie module improvements

2008-04-28 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- status: open -> closed Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue841728> ___ Pyt

[issue2541] Unicode escape sequences not parsed in raw strings.

2008-04-28 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Please apply the patch, but rename "Unicode escapes" to "\u and \U escapes" first. -- assignee: georg.brandl -> benjamin.peterson resolution: rejected -> fixed __ T

[issue1542407] httplib reads one byte per system call

2008-04-28 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Dupe of #2576. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> httplib read() very slow due to lack of socket buffer _ Tracker <[EMAIL

[issue2713] Py3k warn on unicode escapes in raw strings

2008-04-28 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: This patch changes the raw-unicode-escape code to warn. Marc-Andre, is this OK? -- assignee: -> lemburg nosy: +georg.brandl, lemburg __ Tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue1652] subprocess should have an option to restore SIGPIPE to default action

2008-04-29 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Martin, what do you think? -- assignee: -> loewis __ Tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue2719] Backport next()

2008-04-29 Thread Georg Brandl
New submission from Georg Brandl <[EMAIL PROTECTED]>: Backporting 3.0's next() builtin. There's no change w.r.t. __next__/next, that is tracked in #2336. -- assignee: gvanrossum components: Interpreter Core files: nextbackport.diff keywords: 26backport, patch mess

[issue2719] Backport next()

2008-04-29 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: IMO having next() in 2.6 helps since if you use it consistently you don't have to care about calling .next() or .__next__(). Also, I don't see how this is different from having e.g. reduce() and functools

[issue2719] Backport next()

2008-04-30 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Updated and committed as r62599. Also fixed your nits in the original 3k version in r62598. -- status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue2727] clarify tp_nextiter behavior in the C API documentation

2008-04-30 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Changed a bit and committed in r62602. -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2258] Update command line docs for issue 1739468

2008-04-30 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks Nick! -- nosy: +georg.brandl __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2258> __ __

[issue2725] Handle ASDLSyntaxErrors gracefully

2008-04-30 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Some comments: - Since you check for a false mod before calling check(), the check in check() will not be reached. - The error print seems to be already in trunk. -- nosy: +georg.brandl __ T

[issue2722] os.getcwd fails for long path names on linux

2008-04-30 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Why isn't the buffer length MAX_PATH anyway? -- nosy: +georg.brandl __ Tracker <[EMAIL PROTECTED]> <http://bugs.

[issue2716] Reimplement audioop because of copyright issues

2008-04-30 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: It is, as most "old" standard modules, not actively maintained, but there is always the chance that somebody will fix bugs as they are reported :) Anyway, the algorithms in it won't change, and if you want its removal I

[issue1748] contextlib.contextmanager does not use functools.wraps

2008-04-30 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Done in r62605. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2731] Documentation error on prime example in tutorial

2008-05-01 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r62615. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2507] Exception state lives too long in 3.0

2008-05-03 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- priority: critical -> release blocker __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2507> __ ___

[issue2720] make compiling struct be passed around to all ast helpers

2008-05-03 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Sure, if it still compiles. :) -- assignee: georg.brandl -> benjamin.peterson __ Tracker <[EMAIL PROTECTED]> <http://bugs.py

<    19   20   21   22   23   24   25   26   27   28   >