[issue10399] AST Optimization: inlining of function calls

2010-11-20 Thread Alex
Alex alex.gay...@gmail.com added the comment: There are a couple places you mention not doing the optimization when specific functions are used (e.g. dir, globals, locals), how exactly do you verify that, given those functions could be bound to any name? --

[issue10464] netrc module not parsing passwords containing #s.

2010-11-20 Thread the_isz
New submission from the_isz the_...@gmx.de: The netrc module stops parsing passwords at # characters, which can be part of passwords. Tested with Python 2.7 and 3.1. -- components: Extension Modules messages: 121598 nosy: the_isz priority: normal severity: normal status: open title:

[issue9742] Python 2.7: math module fails to build on Solaris 9

2010-11-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Force it to export that 'round' symbol in the core, perhaps? Sure. That might involve first understanding why it's not being exported. That's where I'm a bit stuck, especially without a Solaris system to test on. If someone can figure

[issue10450] Fix markup in Misc/NEWS

2010-11-20 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: I ran Misc/NEWS through rst2hml, and apart from unknown python-specific interpreter roles, there are two warnings: Misc/NEWS:64: (WARNING/2) Inline strong start-string without end-string. Misc/NEWS:128: (WARNING/2) Inline emphasis start-string

[issue10450] Fix markup in Misc/NEWS

2010-11-20 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10450 ___ ___

[issue10450] Fix markup in Misc/NEWS

2010-11-20 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: A fix to Misc/NEWS was committed by Georg in revision 86550. Now Misc/NEWS no longer causes warnings with `rst2html`. Éric - if this is what you meant, the issue can be closed. -- ___ Python tracker

[issue9965] Loading malicious pickle may cause excessive memory usage

2010-11-20 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Closing as won't fix. -- nosy: +georg.brandl resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9965

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: I will write a codecs.rst for this. Any suggestion of where in c-api/index.html it should be linked? -- nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org

[issue10325] PY_LLONG_MAX co - preprocessor constants or not?

2010-11-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Fixed in r86552. Thanks! -- assignee: - mark.dickinson resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue10002] Installer doesn't install on Windows Server 2008 DataCenter R2

2010-11-20 Thread joblack
joblack johannes.bl...@gmail.com added the comment: No it seems a problem of the installation routine. If you have installed a program before Python it sometimes doesn't work. On 11/20/2010 03:59 AM, Brian Curtin wrote: Brian Curtincur...@acm.org added the comment: joblack - are you still

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Please call it codec.rst. It is probably best placed under utilities. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10439

[issue10465] gzip module calls getattr incorrectly

2010-11-20 Thread Neil Muller
New submission from Neil Muller drnlmuller+b...@gmail.com: gzip._PaddedFile.__getattr__ chains out to getattr, but does so incorrectly (found via running the numpy test suite). The attached patch fixes this. -- files: gzip_getattr.diff keywords: patch messages: 121607 nosy: Neil

[issue10465] gzip module calls getattr incorrectly

2010-11-20 Thread Neil Muller
Neil Muller drnlmuller+b...@gmail.com added the comment: Add a test demonstrating the error. -- Added file: http://bugs.python.org/file19653/gzip_getattr_test.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10465

[issue9920] test_cmath on atan fails on AIX

2010-11-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: This should now be fixed in r86553. If you have a chance to test and report back, that would be great! -- resolution: - fixed stage: - committed/rejected status: open - pending ___ Python

[issue10231] SimpleHTTPRequestHandler directory bugs

2010-11-20 Thread Jeremy Thurgood
Jeremy Thurgood fir...@gmail.com added the comment: Attached a patch to test for and fix the first two issues described in this ticket. Basically, it modifies SimpleHTTPRequestHandler.send_head() to operate on a path already stripped of the query string and fragment rather than the

[issue10231] SimpleHTTPRequestHandler directory bugs

2010-11-20 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: - orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10231 ___ ___ Python-bugs-list

[issue2244] urllib and urllib2 decode userinfo multiple times

2010-11-20 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: back-ported to release27-maint in r86554. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2244 ___

[issue10465] gzip module calls getattr incorrectly

2010-11-20 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks for the catch, fixed in r86555. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10465

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: While preparing a .rst document for this, I ran into a possible inaccuracy in a comment in codecs.h: /* Lookup the error handling callback function registered under the name error. As a special case NULL can be passed, in which case the

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Yes, apparently the parameter was (intended to be) called error at some point. Can you put the correction in your patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10439

[issue4236] Crash when importing builtin module during interpreter shutdown

2010-11-20 Thread Simon Cross
Simon Cross hodges...@gmail.com added the comment: I'm attaching a patch to relax the check in PyModule_Create2 as suggested by the Amaury (http://bugs.python.org/issue4236#msg75409). The patch uses PyThreadState_Get()-interp-modules == NULL to determine whether the import machinery has been

[issue10466] locale.py throws exception on Windows / Non-UTF8 system

2010-11-20 Thread Sibylle Koczian
New submission from Sibylle Koczian nulla.epist...@web.de: Running locale.py as a module on Windows, using the Python command window, produces this output: C:\Python31\Liblocale.py Locale aliasing: Locale defaults as determined by getdefaultlocale():

[issue10460] Misc/indent.pro does not reflect PEP 7

2010-11-20 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Done in r86561. Thanks for the report! -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10460

[issue10467] io.BytesIO.readinto() segfaults when used on BytesIO object seeked beyond end.

2010-11-20 Thread Sebastian Hagen
New submission from Sebastian Hagen sh_pyb...@memespace.net: io.BytesIO().readinto() does not correctly handle the case of being called on a BytesIO object that has been seeked past the end of its data. It consequently ends up reading into unallocated memory, and (typically?) segfaulting if

[issue10349] Error in Module/python.c when building on OpenBSD 4.8

2010-11-20 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This is the old issue of casting the result of malloc() -- frowned upon in C, but required in C++. Looking at the Python sources, most uses of PyMem_Malloc seem to have the cast, so it doesn't seem wrong to add one here (where it actually can

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Submitting a patch. What was touched: 1. Include/codecs.h - minor inaccuracy and inconsistency in a comment 2. Doc/c-api/codec.rst - new reST documentation file for the codecs.h C API 3. Doc/c-api/utilities.rst - for linking to codec.rst, per

[issue8705] shutil.rmtree with empty filepath

2010-11-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Just as an FYI, a similar situation exists on Solaris. I had to fix one of the Python test suite tests once because it was naively trying to rmtree the CWD. -- nosy: +r.david.murray ___

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: with also replaces open-try-do stuff-finally-close, the correct idiom for ensuring file handles are always closes in all VMs. I don’t think the doc style guide is the right place, since this is a code issue. with is advertised in

[issue10464] netrc module not parsing passwords containing #s.

2010-11-20 Thread Xuanji Li
Xuanji Li xua...@gmail.com added the comment: Included test case for the reported bug. Test fails on my machine. Also split up test_case_1 (in order to put in the new test case cleanly) -- keywords: +patch nosy: +xuanji Added file:

[issue10450] Fix markup in Misc/NEWS

2010-11-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Fixed indeed. Dave: Please open a feature request, this is a good idea. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Éric, although grepping for all such references may be tricky, could you specify the places where you did see them? I guess a few fixed places is better than none at all. -- nosy: +eli.bendersky ___

[issue809163] Can't add files with spaces

2010-11-20 Thread John Keyes
John Keyes johnke...@gmail.com added the comment: I'll change the test to use TESTFN later today. Thanks for the feedback. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue809163 ___

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Certainly. Here is my secret grep: $ cd py3k/Doc $ grep -n --color=auto -d skip -I --exclude-dir .svn --exclude-dir .hg -R open\(.*\).read *.rst c-api distutils documenting extending faq howto library reference tutorial using List without

[issue809163] Can't add files with spaces

2010-11-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the patch John. Instead of low-level use of TESTFN, you can use distutils.tests.support.TempdirManager to create a temporary directory and write files to it in a few lines. -- assignee: tarek - eric.araujo stage: needs patch

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Thanks for the patch, it looks good, I have 2 remarks though: - under the name name could be replaced by under the given name. - The *search_function*'s refcount is incremented by this function. This information is not useful to the

[issue10463] Wrong return type for xml.etree.ElementTree.parse()

2010-11-20 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: works for me - invalid stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10463 ___

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Eric, I'm attaching a provisional fix for library/atexit.rst just to be sure this is what you mean. -- Added file: http://bugs.python.org/file19659/atexit.rst ___ Python tracker

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file19660/issue10461.1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10461 ___

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: Removed file: http://bugs.python.org/file19659/atexit.rst ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10461 ___

[issue10351] Add autocompletion for keys in dictionaries

2010-11-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I will review your patch later today. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10351 ___

[issue10424] better error message from argparse when positionals missing

2010-11-20 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10424 ___ ___ Python-bugs-list

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Amaury, Thanks for the review comments. I'm attaching a fixed patch. -- Added file: http://bugs.python.org/file19661/issue10439.2.patch ___ Python tracker rep...@bugs.python.org

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Please also keep to 3-space indentation in directives. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10439 ___

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Yes, that’s it. Please don’t change whitespace in your patches. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10461 ___

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: FWIW, this doesn't belong in the style guide; it is obvious that the docs should exhibit best practice Python code, and using the with statement when opening resources is certainly such a best practice now. -- nosy: +georg.brandl

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Georg, Thanks. Submitting fixed patch with 3-space indentation in directives. -- Added file: http://bugs.python.org/file19662/issue10439.3.patch ___ Python tracker rep...@bugs.python.org

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Eric, which whitespace change do you refer to. I changed to 4-spaces indentation in the code sample to conform to PEP-8. Shouldn't I have? -- ___ Python tracker rep...@bugs.python.org

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Here is the patch for Docs/library/cmd.rst -- nosy: +SilentGhost Added file: http://bugs.python.org/file19663/cmd.rst.diff ___ Python tracker rep...@bugs.python.org

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Here is the patch for Doc/library/difflib.rst -- Added file: http://bugs.python.org/file19664/difflib.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10461

[issue10464] netrc module not parsing passwords containing #s.

2010-11-20 Thread Xuanji Li
Changes by Xuanji Li xua...@gmail.com: Removed file: http://bugs.python.org/file19658/issue_10464_testcase.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10464 ___

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Reviewed and applied in r86562. Thanks! -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10439

[issue10468] Document UnicodeError access functions

2010-11-20 Thread Georg Brandl
New submission from Georg Brandl ge...@python.org: There are a couple of functions for accessing UnicodeError subclass properties that are needed e.g. in codec error handlers. They should be documented in exceptions.rst. -- assignee: d...@python components: Documentation messages:

[issue10468] Document UnicodeError access functions

2010-11-20 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10468 ___ ___ Python-bugs-list

[issue10468] Document UnicodeError access functions

2010-11-20 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: From IRC: the PyUnicode*Error_Foo access functions are not documented they are in exceptions.c / pyerrors.h -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10468

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: I'm trying to port the example in tutorial/stdlib2.rst, but the sample in working with binary data record layouts fails (before my porting to 'with'...) struct.error: unpack requires a bytes argument of length 16 --

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Patch for Doc/library/collections.rst -- Added file: http://bugs.python.org/file19665/collections.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10461

[issue10464] netrc module not parsing passwords containing #s.

2010-11-20 Thread Xuanji Li
Xuanji Li xua...@gmail.com added the comment: Sorry, patch had a mistake -- Added file: http://bugs.python.org/file19666/issue_10231_testcase.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10464

[issue10460] Misc/indent.pro does not reflect PEP 7

2010-11-20 Thread Mick Beaver
Mick Beaver myheartinamer...@gmail.com added the comment: Georg, Thanks for looking at this. Before getting your response, I decided to take a crack at it and came up with something different. We explicitly disagree on: 1. You had --no-blank-lines-after-declarations, but PEP 7 says: - Function

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Attaching patches for library/atexit.rst and for tutorial/stdlib2.rst -- Added file: http://bugs.python.org/file19667/issue10461.atexit.rst.diff ___ Python tracker rep...@bugs.python.org

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: Added file: http://bugs.python.org/file19668/issue10461.stdlib2.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10461 ___

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: Removed file: http://bugs.python.org/file19660/issue10461.1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10461 ___

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: SilentGhost, Your patches look fine. I have a doubt re collections.rst, however - about the Python prompt. The same issue is in faq/library.rst and I didn't want to touch it because I thought that on the prompt personally I probably wouldn't

[issue10460] Misc/indent.pro does not reflect PEP 7

2010-11-20 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: ad 1: yes, that makes sense. ad 2: cuddling and non-cuddling else are actually pretty evenly mixed in the source. I didn't explicitly look at PEP 7 for this, but in that case it should get preference. Your suggested profile looked good,

[issue9732] Addition of getattr_static for inspect module

2010-11-20 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Reworked as a patch, including documentation and NEWS update. -- keywords: +patch Added file: http://bugs.python.org/file19669/getattr_static.patch ___ Python tracker rep...@bugs.python.org

[issue10469] test_socket fails

2010-11-20 Thread Daniel Albeseder
Daniel Albeseder ko...@gmx.at added the comment: current revision = svn revision 86553 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10469 ___

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: patch for Doc/library/logging.rst Also, note the the change of the mode from `'r'` to `'rb'`. `data_to_send` is further send through socket and therefore requires to be bytes. I expressed my opinion in irc, but I can repeat here

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: patch for Doc/library/logging.rst Also, note the the change of the mode from `'r'` to `'rb'`. `data_to_send` is further send through socket and therefore requires to be bytes. I expressed my opinion in irc, but I can repeat here

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
Changes by SilentGhost michael.mischurow+...@gmail.com: Removed file: http://bugs.python.org/file19672/logging.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10461 ___

[issue10462] Handler.close is not called in subclass while Logger.removeHandler is called

2010-11-20 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: The reason for this behaviour is as follows: the internal list of handlers now uses weak references, see http://bugs.python.org/issue6615#msg95691 If there are no references to a handler, it can disappear at any time: and if it does,

[issue9732] Addition of getattr_static for inspect module

2010-11-20 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: Removed file: http://bugs.python.org/file19669/getattr_static.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9732 ___

[issue9732] Addition of getattr_static for inspect module

2010-11-20 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- versions: +Python 2.5 -Python 3.2 Added file: http://bugs.python.org/file19673/getattr_static.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9732

[issue10466] locale.py throws exception on Windows / Non-UTF8 system

2010-11-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: unsupported locale setting is a message that comes from the C runtime, IIUC. Does it work on windows with 2.6? -- nosy: +lemburg, r.david.murray ___ Python tracker rep...@bugs.python.org

[issue10467] io.BytesIO.readinto() segfaults when used on BytesIO object seeked beyond end.

2010-11-20 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10467 ___ ___ Python-bugs-list

[issue10464] netrc module not parsing passwords containing #s.

2010-11-20 Thread Xuanji Li
Xuanji Li xua...@gmail.com added the comment: The issue seems to be that when shlex (the lexer that netrc uses) sees a '#' character it thinks that the rest of the line is a comment. I am not sure what the behavior of netrc should be - should it treat '#' as beginning a comment only if its

[issue1859] textwrap doesn't linebreak on \n

2010-11-20 Thread Jeremy Thurgood
Jeremy Thurgood fir...@gmail.com added the comment: The weird behaviour is caused by newlines being treated as normal whitespace characters and not actually causing _wrap_chunks() to break the line. This means that it builds lines of up to 'width' characters which may contain newlines: text

[issue9732] Addition of getattr_static for inspect module

2010-11-20 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- versions: +Python 3.2 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9732 ___ ___

[issue10469] test_socket fails

2010-11-20 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +brian.curtin, loewis, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10469 ___ ___

[issue10469] test_socket fails

2010-11-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The core problem seems to be that the errno module has mismatching values on your Python build (for ECONNREFUSED and EWOULDBLOCK, at least, which explains all 4 failures). On a Windows 7 VM here: errno.ECONNREFUSED 10061 errno.EWOULDBLOCK

[issue6490] os.popen documentation in 2.6 is probably wrong

2010-11-20 Thread Neil Muller
Neil Muller drnlmuller+b...@gmail.com added the comment: The attached patch grabs the os.popen documentation from python 2.7, throws away the deprecation notes, and adds a pointer to subprocess.Popen for more details. -- keywords: +patch nosy: +Neil Muller Added file:

[issue9732] Addition of getattr_static for inspect module

2010-11-20 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Committed revision 86566. -- resolution: - accepted stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9732

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-11-20 Thread Simon Cross
Simon Cross hodges...@gmail.com added the comment: I made the minor changes needed to get Eli Bendersky's patch to apply against 3.2. Diff attached. -- nosy: +hodgestar Added file: http://bugs.python.org/file19675/issue2986.fix32.5.patch ___ Python

[issue10469] test_socket fails

2010-11-20 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10469 ___ ___

[issue1859] textwrap doesn't linebreak on \n

2010-11-20 Thread Jeremy Thurgood
Jeremy Thurgood fir...@gmail.com added the comment: Here's a doc patch for py3k. A similar patch for 2.7 (and other versions?) might be a good idea. -- keywords: +patch Added file: http://bugs.python.org/file19676/issue1859_docs.diff ___ Python

[issue1574217] isinstance swallows exceptions

2010-11-20 Thread Graham Poulter
Graham Poulter graham.poul...@gmail.com added the comment: issue1574217.diff still applies against py3k as revision 86545 (offset -8 lines) patching file Objects/abstract.c Hunk #1 succeeded at 2500 (offset -8 lines). Hunk #2 succeeded at 2523 (offset -8 lines). And tests pass (./python

[issue9424] Disable unittest.TestCase.assertEquals and assert_ during a regrtest run

2010-11-20 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The attached patch addresses the point 1) of msg113147. -- keywords: +patch Added file: http://bugs.python.org/file19677/issue9424.diff ___ Python tracker rep...@bugs.python.org

[issue5412] extend configparser to support mapping access(__*item__)

2010-11-20 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5412 ___

[issue10326] Can't pickle unittest.TestCase instances

2010-11-20 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Applied to Python 3.2 in revision 86570. Python 2.7 will have to be fixed after the next release as we are currently in release candidate stage. -- ___ Python tracker rep...@bugs.python.org

[issue9637] docs do not say that urllib uses HTTP_PROXY

2010-11-20 Thread Neil Muller
Changes by Neil Muller drnlmuller+b...@gmail.com: -- versions: +Python 3.2 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9637 ___ ___

[issue10027] os.lstat/os.stat don't set st_nlink on Windows

2010-11-20 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: I'm not sure how that would work in terms of redistributing, and how we'd handle it within our own build process. This close to the beta I'm -1 on adding that API. -- ___ Python tracker

[issue9637] docs do not say that urllib uses HTTP_PROXY

2010-11-20 Thread Neil Muller
Neil Muller drnlmuller+b...@gmail.com added the comment: The problem is that the getproxies_environment function converts all environment variables to lower case before deciding whether to use the name. This means that whichever ends up last in os.environment will be used. The attached patch

[issue5871] email.header.Header too lax with embeded newlines

2010-11-20 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: -easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5871 ___ ___ Python-bugs-list

[issue9424] Disable unittest.TestCase.assertEquals and assert_ during a regrtest run

2010-11-20 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I uploaded the patch on http://codereview.appspot.com/3232042 too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9424 ___

[issue8647] PyUnicode_GetMax is undocumented

2010-11-20 Thread Simon Cross
Simon Cross hodges...@gmail.com added the comment: This issue is subsumed by #10435 and can probably be closed as a duplicated. -- nosy: +hodgestar ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8647

[issue8646] PyUnicode_EncodeDecimal is undocumented

2010-11-20 Thread Simon Cross
Simon Cross hodges...@gmail.com added the comment: This issue is subsumed by #10435 and can probably be closed as a duplicated. -- nosy: +hodgestar ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8646

[issue8645] PyUnicode_AsEncodedObject is undocumented

2010-11-20 Thread Simon Cross
Simon Cross hodges...@gmail.com added the comment: This issue is subsumed by #10435 and can probably be closed as a duplicated. -- nosy: +hodgestar ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8645

[issue10453] Add -h/--help option to compileall

2010-11-20 Thread Michele Orrù
Michele Orrù maker...@gmail.com added the comment: I'm still working on this task; the attachment shows how I'm solving the bug. The patch is NOT yet completed, there are some problems with the unittests. Hoping that Eric will give me a help soon. -- keywords: +patch nosy:

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2010-11-20 Thread Neil Muller
Neil Muller drnlmuller+b...@gmail.com added the comment: #975556 and #1046092 look like they should also be superseded by this. -- nosy: +Neil Muller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1486713

[issue10231] SimpleHTTPRequestHandler directory bugs

2010-11-20 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: I have doubts on the validity of this bug itself. - First is, query and fragment are usually for the file being served from the webserver, not on the directories. If there are characters such as '?' and '#' in the directory names, which

[issue975556] HTMLParser lukewarm on bogus bare attribute chars

2010-11-20 Thread Neil Muller
Neil Muller drnlmuller+b...@gmail.com added the comment: This should probably be solved as part of #1486713 . -- nosy: +Neil Muller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue975556 ___

[issue1046092] HTMLParser fix to accept mailformed tag attributes

2010-11-20 Thread Neil Muller
Neil Muller drnlmuller+b...@gmail.com added the comment: I think this change is makes the parser far too lenient. Something like the explicit tolerant mode proposed in #1486713 is a better solution. -- nosy: +Neil Muller ___ Python tracker

  1   2   3   4   >