[issue10399] AST Optimization: inlining of function calls

2010-11-20 Thread Alex
Alex 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? -- ___ Python t

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

2010-11-20 Thread the_isz
New submission from the_isz : 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: netrc module not

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

2010-11-20 Thread Mark Dickinson
Mark Dickinson 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 out why the symbol

[issue10450] Fix markup in Misc/NEWS

2010-11-20 Thread Eli Bendersky
Eli Bendersky 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 without end-strin

[issue10450] Fix markup in Misc/NEWS

2010-11-20 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue10450] Fix markup in Misc/NEWS

2010-11-20 Thread Eli Bendersky
Eli Bendersky 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 added the comment: Closing as "won't fix". -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python tracker ___

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Eli Bendersky
Eli Bendersky 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 ___

[issue10325] PY_LLONG_MAX & co - preprocessor constants or not?

2010-11-20 Thread Mark Dickinson
Mark Dickinson added the comment: Fixed in r86552. Thanks! -- assignee: -> mark.dickinson resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

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

2010-11-20 Thread joblack
joblack 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 Curtin added the comment: > > joblack - are you still seeing issues with this? > > -

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Georg Brandl
Georg Brandl added the comment: Please call it codec.rst. It is probably best placed under "utilities". -- nosy: +georg.brandl ___ Python tracker ___ __

[issue10465] gzip module calls getattr incorrectly

2010-11-20 Thread Neil Muller
New submission from Neil Muller : 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 Muller priority: normal severit

[issue10465] gzip module calls getattr incorrectly

2010-11-20 Thread Neil Muller
Neil Muller added the comment: Add a test demonstrating the error. -- Added file: http://bugs.python.org/file19653/gzip_getattr_test.diff ___ Python tracker ___

[issue9920] test_cmath on atan fails on AIX

2010-11-20 Thread Mark Dickinson
Mark Dickinson 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 tracker

[issue10231] SimpleHTTPRequestHandler directory bugs

2010-11-20 Thread Jeremy Thurgood
Jeremy Thurgood 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 completely unparsed URL.

[issue10231] SimpleHTTPRequestHandler directory bugs

2010-11-20 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue2244] urllib and urllib2 decode userinfo multiple times

2010-11-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: back-ported to release27-maint in r86554. -- status: open -> closed ___ Python tracker ___ ___ Pyth

[issue10465] gzip module calls getattr incorrectly

2010-11-20 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the catch, fixed in r86555. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Eli Bendersky
Eli Bendersky 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 error handling cal

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Georg Brandl
Georg Brandl 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 __

[issue4236] Crash when importing builtin module during interpreter shutdown

2010-11-20 Thread Simon Cross
Simon Cross 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 cleaned up yet.

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

2010-11-20 Thread Sibylle Koczian
New submission from Sibylle Koczian : Running locale.py as a module on Windows, using the Python command window, produces this output: C:\Python31\Lib>locale.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 added the comment: Done in r86561. Thanks for the report! -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

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

2010-11-20 Thread Sebastian Hagen
New submission from Sebastian Hagen : 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 used in this manner. I've

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

2010-11-20 Thread Georg Brandl
Georg Brandl 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 be configured to

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Eli Bendersky
Eli Bendersky 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 Georg's suggestion

[issue8705] shutil.rmtree with empty filepath

2010-11-20 Thread R. David Murray
R. David Murray 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 ___ Python tracker

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Éric Araujo
Éric Araujo 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 http://docs.python.org/dev/tut

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

2010-11-20 Thread Xuanji Li
Xuanji Li 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: http://bugs.python.org/file19658/issue_10464_testcase.diff ___

[issue10450] Fix markup in Misc/NEWS

2010-11-20 Thread Éric Araujo
Éric Araujo 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 _

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Eli Bendersky 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 ___ Python tracker

[issue809163] Can't add files with spaces

2010-11-20 Thread John Keyes
John Keyes added the comment: I'll change the test to use TESTFN later today. Thanks for the feedback. -- ___ Python tracker ___ ___

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Éric Araujo
Éric Araujo 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 false positives: faq

[issue809163] Can't add files with spaces

2010-11-20 Thread Éric Araujo
Éric Araujo 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 -> patch review

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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 caller - she ju

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

2010-11-20 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: works for me -> invalid stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-l

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Eli Bendersky 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 : -- keywords: +patch Added file: http://bugs.python.org/file19660/issue10461.1.diff ___ Python tracker ___ _

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Changes by Eli Bendersky : Removed file: http://bugs.python.org/file19659/atexit.rst ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue10351] Add autocompletion for keys in dictionaries

2010-11-20 Thread Éric Araujo
Éric Araujo added the comment: I will review your patch later today. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue10424] better error message from argparse when positionals missing

2010-11-20 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Eli Bendersky
Eli Bendersky 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 __

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Georg Brandl
Georg Brandl added the comment: Please also keep to 3-space indentation in directives. -- ___ Python tracker ___ ___ Python-bugs-list

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Éric Araujo
Éric Araujo added the comment: Yes, that’s it. Please don’t change whitespace in your patches. -- ___ Python tracker ___ ___ Python-

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Georg Brandl
Georg Brandl 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 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

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Eli Bendersky 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 __

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
SilentGhost 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 ___

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
SilentGhost added the comment: Here is the patch for Doc/library/difflib.rst -- Added file: http://bugs.python.org/file19664/difflib.rst.diff ___ Python tracker ___

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

2010-11-20 Thread Xuanji Li
Changes by Xuanji Li : Removed file: http://bugs.python.org/file19658/issue_10464_testcase.diff ___ Python tracker ___ ___ Python-bugs-list ma

[issue10439] PyCodec C API is not documented in reST

2010-11-20 Thread Georg Brandl
Georg Brandl added the comment: Reviewed and applied in r86562. Thanks! -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue10468] Document UnicodeError access functions

2010-11-20 Thread Georg Brandl
New submission from Georg Brandl : 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: 121641 nosy: d...@p

[issue10468] Document UnicodeError access functions

2010-11-20 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue10468] Document UnicodeError access functions

2010-11-20 Thread Eli Bendersky
Eli Bendersky added the comment: >From IRC: the PyUnicode*Error_Foo access functions are not documented they are in exceptions.c / pyerrors.h -- ___ Python tracker ___

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Eli Bendersky 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 added the comment: Patch for Doc/library/collections.rst -- Added file: http://bugs.python.org/file19665/collections.rst.diff ___ Python tracker ___

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

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

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

2010-11-20 Thread Mick Beaver
Mick Beaver 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 definition style: function

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Eli Bendersky 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

[issue10461] Use with statement throughout the docs

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

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Changes by Eli Bendersky : Removed file: http://bugs.python.org/file19660/issue10461.1.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Eli Bendersky 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 use 'with' - why

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

2010-11-20 Thread Georg Brandl
Georg Brandl 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, applied in r86564.

[issue9732] Addition of getattr_static for inspect module

2010-11-20 Thread Michael Foord
Michael Foord 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 __

[issue10469] test_socket fails

2010-11-20 Thread Daniel Albeseder
New submission from Daniel Albeseder : Using WinXP I compiled python 3.2 from the current sources using Visual C++ 2010 Express. Running rt -v test_socket resulted in the attached output. The tests testSmallReadNonBlocking and testWriteNonBlocking have errors, and an assertion fails for tes

[issue10469] test_socket fails

2010-11-20 Thread Daniel Albeseder
Daniel Albeseder added the comment: current revision = svn revision 86553 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
SilentGhost 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 that I think only the most trivi

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
SilentGhost 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 that I think only the most trivi

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
Changes by SilentGhost : Removed file: http://bugs.python.org/file19672/logging.rst.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

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

2010-11-20 Thread Vinay Sajip
Vinay Sajip 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, then it won't get closed at

[issue9732] Addition of getattr_static for inspect module

2010-11-20 Thread Michael Foord
Changes by Michael Foord : Removed file: http://bugs.python.org/file19669/getattr_static.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue9732] Addition of getattr_static for inspect module

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

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

2010-11-20 Thread R. David Murray
R. David Murray 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

[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 : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

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

2010-11-20 Thread Xuanji Li
Xuanji Li 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 the first non-white

[issue1859] textwrap doesn't linebreak on "\n"

2010-11-20 Thread Jeremy Thurgood
Jeremy Thurgood 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 : -- versions: +Python 3.2 -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue10469] test_socket fails

2010-11-20 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brian.curtin, loewis, tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue10469] test_socket fails

2010-11-20 Thread Antoine Pitrou
Antoine Pitrou 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 10035 -

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

2010-11-20 Thread Neil Muller
Neil Muller 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: http://bugs.python.org/file19674/os_popen_

[issue9732] Addition of getattr_static for inspect module

2010-11-20 Thread Michael Foord
Michael Foord added the comment: Committed revision 86566. -- resolution: -> accepted stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-11-20 Thread Simon Cross
Simon Cross 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 tracker

[issue10469] test_socket fails

2010-11-20 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +amaury.forgeotdarc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1859] textwrap doesn't linebreak on "\n"

2010-11-20 Thread Jeremy Thurgood
Jeremy Thurgood 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 tracker

[issue1574217] isinstance swallows exceptions

2010-11-20 Thread Graham Poulter
Graham Poulter 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 ./Lib/test/test_isinstance.py

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

2010-11-20 Thread Ezio Melotti
Ezio Melotti 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 ___

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

2010-11-20 Thread Łukasz Langa
Changes by Łukasz Langa : -- resolution: -> accepted status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue10326] Can't pickle unittest.TestCase instances

2010-11-20 Thread Michael Foord
Michael Foord 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 ___

[issue9637] docs do not say that urllib uses HTTP_PROXY

2010-11-20 Thread Neil Muller
Changes by Neil Muller : -- versions: +Python 3.2 -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

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

2010-11-20 Thread Brian Curtin
Brian Curtin 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 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 does two things. It change

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

2010-11-20 Thread R. David Murray
Changes by R. David Murray : -- keywords: -easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

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

2010-11-20 Thread Ezio Melotti
Ezio Melotti added the comment: I uploaded the patch on http://codereview.appspot.com/3232042 too. -- ___ Python tracker ___ ___ Pytho

[issue8647] PyUnicode_GetMax is undocumented

2010-11-20 Thread Simon Cross
Simon Cross added the comment: This issue is subsumed by #10435 and can probably be closed as a duplicated. -- nosy: +hodgestar ___ Python tracker ___ ___

[issue8646] PyUnicode_EncodeDecimal is undocumented

2010-11-20 Thread Simon Cross
Simon Cross added the comment: This issue is subsumed by #10435 and can probably be closed as a duplicated. -- nosy: +hodgestar ___ Python tracker ___ ___

[issue8645] PyUnicode_AsEncodedObject is undocumented

2010-11-20 Thread Simon Cross
Simon Cross added the comment: This issue is subsumed by #10435 and can probably be closed as a duplicated. -- nosy: +hodgestar ___ Python tracker ___ ___

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

2010-11-20 Thread Michele Orrù
Michele Orrù 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: +ezio.melotti, maker Added fil

[issue10435] Document unicode C-API in reST

2010-11-20 Thread Simon Cross
Changes by Simon Cross : -- nosy: +hodgestar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2010-11-20 Thread Neil Muller
Neil Muller added the comment: #975556 and #1046092 look like they should also be superseded by this. -- nosy: +Neil Muller ___ Python tracker ___

[issue10231] SimpleHTTPRequestHandler directory bugs

2010-11-20 Thread Senthil Kumaran
Senthil Kumaran 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 may get featured in

  1   2   3   4   >