[issue6677] Place the term "delete" within the documentation for os.remove() and os.rmdir()

2009-08-24 Thread Georg Brandl
Georg Brandl added the comment: True. Fixed in r74550. The changes will be ported to all maintained branches soon. -- ___ Python tracker <http://bugs.python.org/issue6

[issue6730] dict.fromkeys() should not cross reference mutable value by default

2009-08-24 Thread Georg Brandl
Georg Brandl added the comment: I'll add a bit of explanation as well: > I have to add this ugly loop : > > for key in keys: >d[key] = [] With a defaultdict, you don't -- you just use d[key], and if not already present, the entry will be initialized with an e

[issue6787] thread docs contain an incorrect link in a reference to the 'exit' method

2009-08-27 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r74555, thanks! -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6243] getkey() can segfault in combination with curses.ungetch()

2009-08-27 Thread Georg Brandl
Georg Brandl added the comment: Andrew - do you still feel responsible for curses? -- assignee: -> akuchling nosy: +akuchling, georg.brandl ___ Python tracker <http://bugs.python.org/iss

[issue6805] Should be URL for documentation of current release of Python 3 (without version)

2009-08-30 Thread Georg Brandl
Georg Brandl added the comment: The "current" 3k docs are at docs.python.org/py3k. -- resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.p

[issue6803] Context manager docs refer to contextlib.contextmanager as contextlib.contextfactory

2009-08-30 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74588. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6801] symmetric_difference_update documentation fix

2009-08-30 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r74590. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6801] symmetric_difference_update documentation fix

2009-08-30 Thread Georg Brandl
Georg Brandl added the comment: Oops, that was a bit uncoordinated :) I saw the new bug report in my inbox, and decided to look at what might be wrong despite the somewhat meager description, and already saw the "fixed" version and fixed it again. Anyway. I think the unfixed, and no

[issue6801] symmetric_difference_update documentation fix

2009-08-30 Thread Georg Brandl
Georg Brandl added the comment: > Well, in that case I don't understand how it is different from > difference_update() ? It's different from difference_update because that takes multiple arguments. The operator form shows an equivalent and therefore shows how to write an e

[issue6814] xrange removal from documentation

2009-09-01 Thread Georg Brandl
Georg Brandl added the comment: Thanks, applied in r74613 (and will be merged to 3.1 branch soon). -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6813] update format() documentation and tutorial

2009-09-01 Thread Georg Brandl
Georg Brandl added the comment: Thanks, committed as r74614 (trunk), r74615 (3k). -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6808] python 3.1 documentation tutorial classes

2009-09-01 Thread Georg Brandl
Georg Brandl added the comment: Fixed 1.) in r74616. The "instances of C" is already correct in the sources. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.p

[issue6798] Argument for sys.settrace() callbacks documented incorrectly

2009-09-01 Thread Georg Brandl
Georg Brandl added the comment: It certainly seems to be implemented this way in ceval.c. I don't know if the docs describe the implementation intent better, but I'd say that this is then such a minor issue that just documenting the actual behavior is the best t

[issue6765] math.log, log10 inconsistency

2009-09-01 Thread Georg Brandl
Georg Brandl added the comment: Okay, I made changes along Terry' suggestions in r74617. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python

[issue6239] c_char_p return value returns string, not bytes

2009-09-01 Thread Georg Brandl
Georg Brandl added the comment: Assigning back to Thomas for commit. -- assignee: benjamin.peterson -> theller resolution: -> accepted ___ Python tracker <http://bugs.python.org/

[issue6810] add link to the documentation of signal.signal

2009-09-01 Thread Georg Brandl
Georg Brandl added the comment: I added a link and an anchor in r74618. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6754] Non-existent member 'nb_inplace_divide' in PyNumberMethods

2009-09-01 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74619. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6732] PyInit_shoddy() in shoddy.c does not return anything on success

2009-09-01 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74620. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6638] optparse parse_args argument references wrong

2009-09-01 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74621. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6819] Typo in datamodel.rst ("Custon" -> "Custom")

2009-09-02 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74627. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6821] incorrect doc for PyBuffer_Release

2009-09-02 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74631, will be merged to other branches soon. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6828] wrongly highlighted blocks in the Tutorial

2009-09-03 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74632. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6832] Outputting unicode crushes when printing to file on Linux

2009-09-03 Thread Georg Brandl
Georg Brandl added the comment: When output goes to a terminal, Python can determine its encoding. For a file, it cannot, therefore it refuses to guess. Also, many programs behave differently when used with redirection; namely, all those that use `isatty()` to determine if stdout is a terminal

[issue6823] time.strftime does unnecessary range check

2009-09-03 Thread Georg Brandl
Georg Brandl added the comment: Assigning to Brett who added this check in r35368. -- assignee: -> brett.cannon nosy: +brett.cannon, georg.brandl ___ Python tracker <http://bugs.python.org/iss

[issue6830] Some uniformness in defaultdict

2009-09-03 Thread Georg Brandl
Georg Brandl added the comment: This won't change -- the argument of defaultdict is simply a callable that is called with no arguments and returns the default value. It works with `int` because `int()` can be called without arguments and yields 0; however, `defaultdict` cannot. Therefore

[issue6757] Marshal's documentation incomplete (Bools)

2009-09-03 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74633. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue2649] poss. patch for fnmatch.py to add {.htm, html} style globbing

2009-09-03 Thread Georg Brandl
Georg Brandl added the comment: Yes, I think that's fine. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> zsh-style subpattern matching for fnmatch/glob ___ Python tracker <http://bugs.pyt

[issue2666] webbrowser.py doesn't properly handle BROWSER env var

2009-09-03 Thread Georg Brandl
Georg Brandl added the comment: Thanks, applied in r74643. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue5047] Remove Monterey support from configure.in

2009-09-04 Thread Georg Brandl
Georg Brandl added the comment: Committed in r74644. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue5064] compiler.parse raises SyntaxErrors without line number information

2009-09-04 Thread Georg Brandl
Georg Brandl added the comment: In light of > The compiler package is deprecated in favor of builtin AST. and > It seems a patch would be an enormous undertaking, I guess it's best to close this as "won't fix". -- nosy: +georg.brandl resolution: -> wo

[issue5080] PyArg_Parse* should raise TypeError for float parsed with integer format

2009-09-04 Thread Georg Brandl
Georg Brandl added the comment: +1. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue5080> ___ ___ Python-bugs-list mailing list Unsub

[issue977470] Deleted files are reinstalled

2009-09-04 Thread Georg Brandl
Georg Brandl added the comment: Closing as "won't fix". -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python tracker <http://bug

[issue5221] help related topic doesn't exist

2009-09-04 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74645. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue5275] BaseCookie.load doesn't create Morsel objects for mappings

2009-09-04 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74647. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6829] Frendly error message when inheriting from function

2009-09-04 Thread Georg Brandl
Georg Brandl added the comment: You'll get a similar message when trying to inherit from e.g. a string or an int. I see no compelling reason to special-case functions here. -- nosy: +georg.brandl resolution: -> wont fix status: open -

[issue5101] test_funcattrs truncated during unittest conversion

2009-09-04 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r74650, r74651 (3k). -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6756] ftplib documentation does not document what the acct parameter is used for

2009-09-04 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74652. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue5365] add conversion table to time module docs

2009-09-04 Thread Georg Brandl
Georg Brandl added the comment: I don't think that is too helpful; for one thing, the description of strptime and strftime is too vague. -- status: open -> closed ___ Python tracker <http://bugs.python.or

[issue6777] Python 2.6 tutorial still recommends using Exception.message attribute

2009-09-04 Thread Georg Brandl
Georg Brandl added the comment: Thanks, corrected in r74653. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6837] Mark the compiler package as deprecated

2009-09-04 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue6837> ___ ___ Python-

[issue6841] A typo in Doc/library/stdtypes.rst

2009-09-05 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74666, will be merged to other branches soon. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6843] No documentation for the module argument to warnings.filterwarnings

2009-09-05 Thread Georg Brandl
Georg Brandl added the comment: The values for a filter entry are documented under the "The Warnings Filter" heading. I've added a link to it from filterwarnings in r74671. -- resolution: -> fixed status: open -> closed ___

[issue6837] Mark the compiler package as deprecated

2009-09-05 Thread Georg Brandl
Georg Brandl added the comment: The compiler package is surprisingly often used; we already had complaints when (I think) 2.6 began emitting lots of new DeprecationWarnings, but for modules/APIs whose replacements was straightforward. Replacing usage of the compiler package is usually not

[issue6837] Mark the compiler package as deprecated

2009-09-05 Thread Georg Brandl
Georg Brandl added the comment: "Bugs are not fixed" is somewhat misleading -- I assume you're referring to bugs like the one I closed recently. Those are all bugs that have been in the compiler package for ages, and users that hit them know them or work around them. If a regr

[issue6843] No documentation for the module argument to warnings.filterwarnings

2009-09-05 Thread Georg Brandl
Georg Brandl added the comment: A simple isolated test here shows that the module argument works as intended. I can't help with your problem without more information (but you probably should debug this somewhere in warnings.py/_warnings.c). But you're right, this is not a subje

[issue6844] BaseException DeprecationError raises inappropriately

2009-09-07 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue6844> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6849] Tutorial changes

2009-09-07 Thread Georg Brandl
Georg Brandl added the comment: I've already renamed the message attribute in the 2.x tutorial in trunk. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/i

[issue6071] no longer possible to hash arrays

2009-09-08 Thread Georg Brandl
Georg Brandl added the comment: Can't hurt :) -- nosy: +georg.brandl priority: high -> release blocker ___ Python tracker <http://bugs.python.or

[issue6574] List the __future__ features in a table

2009-09-12 Thread Georg Brandl
Georg Brandl added the comment: Accepted, except for two things: * I'd drop the "a0" suffix for the mandatory version. "2.2" instead of "2.2.0a0" is much better to comprehend. * Why the ugly markup with the PEP refs? ``:pep:`number`: blah`` should work

[issue6905] inspect.getargspec(print) fails

2009-09-14 Thread Georg Brandl
Georg Brandl added the comment: This is not an issue, but a fundamental restriction of what getargspec() can do. C function signatures are not introspectable, because basically every C function can be thought of as defined as either def func(*args) or def func(*args, **kwargs) and is

[issue6574] List the __future__ features in a table

2009-09-14 Thread Georg Brandl
Georg Brandl added the comment: I added a reference in line 13, changed the table header not to use colspans (the latex writer doesn't support that), and committed as r74791. -- assignee: ezio.melotti -> georg.brandl status: open -

[issue6911] Document changes in asynchat

2009-09-14 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> josiahcarlson nosy: +josiahcarlson ___ Python tracker <http://bugs.python.org/issue6911> ___ ___ Python-

[issue6908] Minor markup error in hashlib docs

2009-09-14 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r74793. -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/issue6908> ___ __

[issue6247] should we include argparse

2009-09-14 Thread Georg Brandl
Georg Brandl added the comment: I think optparse just got a new maintainer. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue6247> ___ ___

[issue6916] Remove deprecated items from asynchat

2009-09-15 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> josiahcarlson nosy: +josiahcarlson ___ Python tracker <http://bugs.python.org/issue6916> ___ ___ Python-

[issue6879] misstatement in example explanation using raise

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Yes, that seems a good idea. -- ___ Python tracker <http://bugs.python.org/issue6879> ___ ___ Python-bugs-list mailing list Unsub

[issue6880] class needs forward reference

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Thanks, added a reference in r74818. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6876] readline documentation example error

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74819. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6891] small typo in «unicode.rst»: « the Uniode APIs should be used» and broken URL

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Commented out the link for now in r74820. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6881] incorrect signature in doc for PyByteArray_Resize

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: I don't think the iterator type needs to be documented; many other such iter types aren't. Also, the argument names needn't match (since C doesn't have the notion of keyword arguments). They can be changed in the docs to be more obvious than

[issue6885] pdb documentation shows running as script using "python" not "python3"

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r74821. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue6885> ___ __

[issue6903] pdb - print in for iteration prints None after printing

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: This is caused by the special displayhook that pdb uses. Normally, the displayhook suppresses output when it would print None; this is not done in pdb's displayhook. This was a conscious decision, because it can remove confusion when you try to get var

[issue5621] Add description of special case to "Assignment statements" section

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: The patch submission was correct. I edited the patch a bit, moved the example from augmented assignment to the regular assignment and added a link from there to the new section. Committed in r74822. -- resolution: works for me -> accepted status: o

[issue6875] add os.close() suggestion to mkstemp documentation

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: That one has to close open files should be common knowledge. And it's already documented that the filehandle returned is to be treated as if coming from `os.open`, so the "isn't a file object" is documented as well. Insofar, I'

[issue6892] optparser example in optparse documentation is broken

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Fixed (by adding the add_help_option=False argument to OptionParser) in r74824. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6919] Link CRT Statically

2009-09-16 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue6919> ___ ___ Python-bugs-list

[issue6903] pdb - print in for iteration prints None after printing

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Actually, Guido hates the Nones. :) Fixed in r74839. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6844] BaseException DeprecationError raises inappropriately

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: The patch leads to crashes with all the exceptions that have their own structs; since they are derived from BaseException they must start with the same binary layout as PyBaseExceptionObject (pointers to any exception will be cast to PyBaseExceptionObject). This

[issue6844] BaseException DeprecationError raises inappropriately

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Huh. I just made some tests to find out if exceptions with a message set survive pickling in 2.6.2 and unpickling in patched trunk. I found that the message attribute isn't pickled at all in 2.6.2, so there should be no cross-version compatibility problems

[issue6844] BaseException DeprecationError raises inappropriately

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Yes, it should be fixed, but it is not related. I'm setting it as a release blocker as well. -- ___ Python tracker <http://bugs.python.org/i

[issue6108] unicode(exception) behaves differently on Py2.6 when len(exception.args) > 1

2009-09-16 Thread Georg Brandl
Changes by Georg Brandl : -- priority: high -> release blocker ___ Python tracker <http://bugs.python.org/issue6108> ___ ___ Python-bugs-list mailing list Un

[issue6890] IOError has no __unicode__ method - and loses information

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: And this is a duplicate of (the somewhat complicated-named) #6108. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> unicode(exception) behaves differently on Py2.6 when len(exception.

[issue6844] BaseException DeprecationError raises inappropriately

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: OK, I added another test for pickling, committed in r74845, and backported to 2.6 in r74848. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6912] Add 'with' block support to Tools/Scripts/pindent.py

2009-09-17 Thread Georg Brandl
Georg Brandl added the comment: Added in r74865. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6915] os.listdir inconsistenly releases the GIL on win32

2009-09-17 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> loewis nosy: +loewis ___ Python tracker <http://bugs.python.org/issue6915> ___ ___ Python-bugs-list mailing list Un

[issue6922] Interpreter hangs up while trying to decode invalid utf32 stream.

2009-09-17 Thread Georg Brandl
Georg Brandl added the comment: This patch fixes it (seems like a refactoring oversight, I used the UTF16 decoder for reference, where it works fine) and adds a test, assigning to MAL for review. Marking as a release blocker so that 2.6.3 won't get released without a fix. -- ass

[issue6929] Confusion between "write" method of rowiobase and rawfileio

2009-09-17 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> pitrou nosy: +pitrou ___ Python tracker <http://bugs.python.org/issue6929> ___ ___ Python-bugs-list mai

[issue6883] OptionParser.allow_interspersed_args is undocumented

2009-09-17 Thread Georg Brandl
Georg Brandl added the comment: The (en|dis)able_interspersed_args accessors are already documented, so I see no reason to document the attribute as well... -- nosy: +georg.brandl resolution: -> works for me status: open -> pending ___

[issue6922] Interpreter hangs up while trying to decode invalid utf32 stream.

2009-09-17 Thread Georg Brandl
Georg Brandl added the comment: I'm leaving a refactoring to someone with more time :) Committed in r74869, backported to 2.6 in r74870. -- status: open -> closed ___ Python tracker <http://bugs.python.or

[issue6925] Doc for locals and vars

2009-09-17 Thread Georg Brandl
Georg Brandl added the comment: Free variables *are* returned by locals(). (Note that globals *aren't* free variables.) For example, try this: def f(): x = 1 def g(): print locals() g() f() -- nosy: +georg.brandl ___ Python tr

[issue6925] Doc for locals and vars

2009-09-17 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> georg.brandl ___ Python tracker <http://bugs.python.org/issue6925> ___ ___ Python-bugs-list mailing list Unsubscri

[issue6932] Open shelves fail when Python exits

2009-09-17 Thread Georg Brandl
Georg Brandl added the comment: Fixed docs (a bit differently) in r74876. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6883] OptionParser.allow_interspersed_args is undocumented

2009-09-17 Thread Georg Brandl
Georg Brandl added the comment: The methods do have docstrings (trunk rev, line 1283 and 1291). And usually, when there are accessors for a property, they are the preferred way to change it. Anyway, I don't see a reason to do something here, so please propose a patch if you still thin

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2009-09-17 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> loewis nosy: +loewis ___ Python tracker <http://bugs.python.org/issue6895> ___ ___ Python-bugs-list mailing list Un

[issue6925] Doc for locals and vars

2009-09-18 Thread Georg Brandl
Georg Brandl added the comment: I'm sorry, I messed up the test. When "x" is not used in g(), it's of course *not* a free variable in g. This is the correct test: def f(): x = 1 def g(): print x print locals() g() f() -- __

[issue6936] Import needed to quit Python?

2009-09-18 Thread Georg Brandl
Georg Brandl added the comment: They are meant for interactive use only. -- resolution: -> works for me status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6936] Import needed to quit Python?

2009-09-18 Thread Georg Brandl
Georg Brandl added the comment: And fixed now (I used ``quit()``) in r74896. -- resolution: works for me -> fixed ___ Python tracker <http://bugs.python.org/iss

[issue6935] Version updates needed in tutorial

2009-09-18 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r74897, r74898 (3.1). -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6905] inspect.getargspec(print) fails

2009-09-18 Thread Georg Brandl
Georg Brandl added the comment: OK, that is reasonable. I changed this and several other same-style errors in r74901. -- ___ Python tracker <http://bugs.python.org/issue6

[issue6938] Incorrect multiprocessing log string in managers.py (python 2.6.2)

2009-09-18 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r74903; I used %r as the format code to match the formatting in create(). -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6925] Doc for locals and vars

2009-09-18 Thread Georg Brandl
Georg Brandl added the comment: Should be fixed now in r74930. I kept "free variables" because this is the correct term, while "nonlocals" clashes with the "nonlocal" statement in 3.x. -- resolution: -> fixed status: open -> closed __

[issue6930] [PATCH] PyUnicode_DecodeUTF16 docs wrong (byteorder param)

2009-09-18 Thread Georg Brandl
Georg Brandl added the comment: I applied a slightly different patch in r74933. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6885] pdb documentation shows running as script using "python" not "python3"

2009-09-18 Thread Georg Brandl
Georg Brandl added the comment: I assume the poor Windows users can figure out what they need to do :) -- ___ Python tracker <http://bugs.python.org/issue6

[issue6944] socket.getnameinfo raises SystemError on bogus input

2009-09-19 Thread Georg Brandl
Georg Brandl added the comment: Adapted the test that expected the SystemError (?!) and committed in r74943. Will backport to 2.6. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.p

[issue6943] setup.py fails to find headers of system libffi

2009-09-19 Thread Georg Brandl
Georg Brandl added the comment: Patch looks OK and works on my system (the listcomp should be wrapped though). -- assignee: -> loewis keywords: +easy nosy: +georg.brandl priority: -> normal stage: -> patch review type: -> c

[issue6942] email.generator.Generator memory consumption

2009-09-19 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> barry nosy: +barry ___ Python tracker <http://bugs.python.org/issue6942> ___ ___ Python-bugs-list mailing list Un

[issue6925] Doc for locals and vars

2009-09-19 Thread Georg Brandl
Georg Brandl added the comment: > I disagree with calling only nonlocal variables but not module variables > 'free'. As I quoted from Wikipedia, that restrictive definition is not > agree on by all at all. But it is the definition that Python uses, at least in the code. I a

[issue6946] Document: Missing link to datetime.datetime

2009-09-19 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74952. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6945] pprint.pprint does not pprint unsortable dicts in Python 3

2009-09-19 Thread Georg Brandl
Georg Brandl added the comment: A simple fix is to use key=lambda x: (id(type(x)), x). However, that obviously doesn't work with values of different, but orderable types. At the moment, I don't see how the Python 2 sort could be implemented without a cmp() argument

[issue6941] Socket error when launching IDL

2009-09-19 Thread Georg Brandl
Changes by Georg Brandl : -- status: open -> pending ___ Python tracker <http://bugs.python.org/issue6941> ___ ___ Python-bugs-list mailing list Unsubscri

<    35   36   37   38   39   40   41   42   43   44   >