[issue975556] HTMLParser lukewarm on bogus bare attribute chars

2010-11-20 Thread Neil Muller
Neil Muller added the comment: This should probably be solved as part of #1486713 . -- nosy: +Neil Muller ___ Python tracker ___ ___

[issue1046092] HTMLParser fix to accept mailformed tag attributes

2010-11-20 Thread Neil Muller
Neil Muller 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

[issue4925] Improve error message of subprocess when cannot open

2010-11-20 Thread endian
endian added the comment: I'm working this for platforms that use OSError. #pythonbugday2010 #myfirstpatch -- nosy: +endian ___ Python tracker ___ ___

[issue1574217] isinstance swallows exceptions

2010-11-20 Thread R. David Murray
R. David Murray added the comment: I've committed this (with the whitespace fix) in r86577. I've made myself a note to backport it when the maint branches unfreeze. -- assignee: nnorwitz -> nosy: +r.david.murray resolution: -> fixed stage: patch review -> committed/rejected status:

[issue1574217] isinstance swallows exceptions

2010-11-20 Thread R. David Murray
Changes by R. David Murray : -- versions: -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

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

2010-11-20 Thread Michele Orrù
Changes by Michele Orrù : Removed file: http://bugs.python.org/file19679/issue10453.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue5800] make wsgiref.headers.Headers accept empty constructor

2010-11-20 Thread SilentGhost
SilentGhost added the comment: Correct and update patch + update test case -- keywords: +patch nosy: +SilentGhost Added file: http://bugs.python.org/file19680/headers.py.diff ___ Python tracker

[issue5800] make wsgiref.headers.Headers accept empty constructor

2010-11-20 Thread SilentGhost
SilentGhost added the comment: here is the updated test case -- Added file: http://bugs.python.org/file19681/test_wsgiref.py.diff ___ Python tracker ___ _

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

2010-11-20 Thread Michele Orrù
Michele Orrù added the comment: The new attached patch passes the unittest. -- Added file: http://bugs.python.org/file19682/issue10453.patch ___ Python tracker ___ _

[issue4925] Improve error message of subprocess when cannot open

2010-11-20 Thread endian
Changes by endian : -- keywords: +patch Added file: http://bugs.python.org/file19683/issue4925.diff ___ Python tracker ___ ___ Python-b

[issue4925] Improve error message of subprocess when cannot open

2010-11-20 Thread endian
Changes by endian : Removed file: http://bugs.python.org/file19683/issue4925.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

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

2010-11-20 Thread Michele Orrù
Changes by Michele Orrù : Removed file: http://bugs.python.org/file19682/issue10453.patch ___ Python tracker ___ ___ Python-bugs-list mailing

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

2010-11-20 Thread Michele Orrù
Changes by Michele Orrù : Added file: http://bugs.python.org/file19684/issue10453.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

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

2010-11-20 Thread Daniel Albeseder
Daniel Albeseder added the comment: I did a very simple addition to the CommandLineTest, to check that "-h" really returns the "usage:". I am not sure, if this is useful since, it rather tests argparse now with the proposed patch... -- nosy: +Kotan Added file: http://bugs.python.org/f

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

2010-11-20 Thread Michele Orrù
Michele Orrù added the comment: Eric, the unittests in Lib/test/test_compileall.py seems quite consistent to me, so for now I won't add anything. About adding a method for testing the '-h' argument, now that Lib/compileall.py uses argparse, it sounds trivial. EDIT: Kotan, I'm still of the sam

[issue10377] cProfile incorrectly labels its output

2010-11-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in r86580 (py3k), r86581 and r86582. -- components: +Library (Lib) resolution: -> fixed status: open -> closed ___ Python tracker ___ _

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

2010-11-20 Thread Daniel Albeseder
Daniel Albeseder added the comment: I wanted to test, that no unwanted output is given before the usage. I just added the test before I started to try to fix this bug, as I recognized Michele already was already fixing the bug. This was just my test-driven approach, where the unit test failed

[issue5800] make wsgiref.headers.Headers accept empty constructor

2010-11-20 Thread R. David Murray
Changes by R. David Murray : -- keywords: -patch stage: unit test needed -> patch review versions: -Python 2.7 ___ Python tracker ___ ___

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

2010-11-20 Thread Benjamin Peterson
Benjamin Peterson added the comment: r86587 -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue10469] test_socket fails

2010-11-20 Thread Daniel Albeseder
Daniel Albeseder added the comment: As this was requested on IRC, I put the Visual C++ 2010 Express solution and project files here as well. The patch "pcbuild_vs2010.patch" should be applied to the PCbuild directory. -- keywords: +patch Added file: http://bugs.python.org/file19686/pc

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

2010-11-20 Thread R. David Murray
R. David Murray added the comment: On the other hand, the test case in test_compileall says "test some aspects of compileall's CLI". Since the patch completely changes the logic of CLI parsing, having tests that cover as much as practical of the CLI would greatly increase the confidence that

[issue5800] make wsgiref.headers.Headers accept empty constructor

2010-11-20 Thread Ramiro Batista da Luz
Ramiro Batista da Luz added the comment: I applied the patches for wsgiref.headers and test_headers.py, ran the test with runtests.sh test_headers.py and it passed. I also tried the code in the description: >>> from wsgiref.headers import Headers >>> headers = Headers() >>> headers.add_heade

[issue8028] self.terminate() from a multiprocessing.Process raises AttributeError exception

2010-11-20 Thread 5houston
5houston added the comment: Yes, I can. This is the minCrashing.py output from python3.2a4 in windows XP sp3: Traceback (most recent call last): File "c:\Python32\lib\multiprocessing\process.py", line 233, in _bootstrap self.run() File "c:\Python32\lib\multiprocessing\process.py", line

[issue10469] test_socket fails

2010-11-20 Thread Brian Curtin
Brian Curtin added the comment: Daniel: If you need VS2008, you can get it here: http://www.microsoft.com/express/Downloads/#2008-Visual-CPP -- ___ Python tracker ___ _

[issue9305] Don't use east/west of UTC in date/time documentation

2010-11-20 Thread Rodrigo Bernardo Pimentel
Changes by Rodrigo Bernardo Pimentel : -- nosy: +rbp ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue4925] Improve error message of subprocess when cannot open

2010-11-20 Thread endian
Changes by endian : Added file: http://bugs.python.org/file19687/issue4925.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue9769] PyUnicode_FromFormatV() doesn't handle non-ascii text correctly

2010-11-20 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Fri, Nov 19, 2010 at 7:15 PM, STINNER Victor wrote: .. > > Why should we do that? ASCII format is just fine. Remember that > PyUnicode_FromFormatV() is part of the C API. I don't think that anyone would > use non-ASCII format in C. Why not. Gettext m

[issue10319] SocketServer.TCPServer truncates responses on close (in some situations)

2010-11-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: BaseHTTPServer documentation explains that "Usually, this module isn’t used directly, but is used as a basis for building functioning Web servers". Methods are usually subclassed with desirable behaviors customized. If you are using SocketServer in your code

[issue665194] datetime-RFC2822 roundtripping

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

[issue10367] "python setup.py sdist upload --show-response" can fail with "UnboundLocalError: local variable 'result' referenced before assignment"

2010-11-20 Thread Priscila Manhaes
Priscila Manhaes added the comment: Well, I fixed the problem moving the "if" that instances "result" even though it getting HTTPError into the "try". -- # send the data try: result = urlopen(request) s

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-11-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: What should it do? OP expected that it print the redirected url. I don't think that's helpful by setting max_redirections to 0, when it can be achieved in other ways. Also, max_redirections is not exposed (as a parameter or arg) or a documented, how do we

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-11-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Deadline is probably next Fri. However I will apply this or slight revision thereof in a couple of days to make sure this much is in. I have to fixup some work stuff today. -- ___ Python tracker

[issue10470] python -m unittest ought to default to discovery

2010-11-20 Thread Michael Foord
New submission from Michael Foord : "python -m unittest" does nothing useful (runs 0 tests). It would be good to have it default to discovery, which removes the useless behaviour *and* makes the default invocation for test discovery shorter. -- assignee: michael.foord components: Libra

[issue4925] Improve error message of subprocess when cannot open

2010-11-20 Thread endian
Changes by endian : Added file: http://bugs.python.org/file19688/issue4925.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue4925] Improve error message of subprocess when cannot open

2010-11-20 Thread endian
Changes by endian : Removed file: http://bugs.python.org/file19687/issue4925.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue7506] multiprocessing.managers.BaseManager.__reduce__ references BaseManager.from_address

2010-11-20 Thread Hugo Shi
Hugo Shi added the comment: Does BaseManager need to be pickleable? It looks like it contains an AuthenticationKey which should NOT be pickled for security reasons. All the unit tests pass if we remove the __reduce__ method. Is that the fix? -- nosy: +Hugo.Shi

[issue7506] multiprocessing.managers.BaseManager.__reduce__ references BaseManager.from_address

2010-11-20 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +asksol ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue4925] Improve error message of subprocess when cannot open

2010-11-20 Thread Benjamin Peterson
Benjamin Peterson added the comment: r86593 -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue4925] Improve error message of subprocess when cannot open

2010-11-20 Thread R. David Murray
R. David Murray added the comment: Note that Benjamin's commit only addresses the posix side. Amaury, do you want to fix the windows side? -- nosy: +r.david.murray ___ Python tracker _

[issue7506] multiprocessing.managers.BaseManager.__reduce__ references BaseManager.from_address

2010-11-20 Thread Mark Dickinson
Mark Dickinson added the comment: Questions: (1) Did you run the unittests on Windows? I think there are stronger requirements for pickleability there. (2) What specific security issues do you anticipate from pickling the authentication key? -- nosy: +mark.dickinson __

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Do not change the examples in collections.rst. That would interfere with the clarify of what is being demonstrated. For example, the hamlet.txt example is not about file reading, it about counting words. -- nosy: +rhettinger __

[issue10371] Deprecate trace module undocumented API

2010-11-20 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Committed in revision 86594. -- resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue7506] multiprocessing.managers.BaseManager.__reduce__ references BaseManager.from_address

2010-11-20 Thread Hugo Shi
Hugo Shi added the comment: I didn't run the unittests in windows, But I don't have the capability to do so at the moment. I maybe able to do this on monday I don't know why AuthenticationKey has security issues with being pickled, however in process.py #

[issue10461] Use with statement throughout the docs

2010-11-20 Thread SilentGhost
SilentGhost added the comment: None of the changes are about file reading, they only about using with statement throughout. May be nofix then? -- ___ Python tracker ___ ___

[issue8569] Upgrade OpenSSL in Windows builds

2010-11-20 Thread Brian Curtin
Brian Curtin added the comment: Closing - OpenSSL was upgraded to version 1.0.0a a few months ago. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ __

[issue8569] Upgrade OpenSSL in Windows builds

2010-11-20 Thread Brian Curtin
Changes by Brian Curtin : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: I think the other (non collections patches) are fine. The change doesn't break up the flow of the text. -- ___ Python tracker ___

[issue4925] Improve error message of subprocess when cannot open

2010-11-20 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue10437] ThreadPoolExecutor should accept max_workers=None

2010-11-20 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: In my case, each thread launches a CPU-intensive process via subprocess, then waits for it to report output and exit. Also, keep in mind that PyPy and IronPython don't have a GIL (although I'm not a PyPy or IronPython user myself). --

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Separate note for Éric: the try/finally examples do not need to change. Those are valid python. Users need to learn both try/finally and the with-statement. -- assignee: d...@python -> rhettinger ___ Python t

[issue5066] IDLE documentation for Unix obsolete/incorrect

2010-11-20 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> d...@python nosy: +d...@python ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: FWIW, I find the "with" variant much easier to read than >>> words = re.findall('\w+', open('hamlet.txt').read().lower()) Too many operations in one line. It would be even better with >>> words = re.findall('\w+', hamlet_text.lower()) --

[issue9969] tokenize: add support for tokenizing 'str' objects

2010-11-20 Thread Abhay Saxena
Abhay Saxena added the comment: If the goal is tokenize(...) accepting a text I/O readline, we already have the (undocumented) generate_tokens(readline). -- nosy: +ark3 ___ Python tracker _

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- Removed message: http://bugs.python.org/msg121711 ___ Python tracker ___ ___ Python-bugs-list mai

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Éric Araujo
Éric Araujo added the comment: Eli, SilentGhost: Please open other bug reports for doc errors like the struct one in stdlib2 or the r/rb one. SilentGhost: with statement used with open *is* about file reading :) Raymond: I agree about try/finally. I agree with Alexander about collections.rs

[issue10367] "python setup.py sdist upload --show-response" can fail with "UnboundLocalError: local variable 'result' referenced before assignment"

2010-11-20 Thread Éric Araujo
Éric Araujo added the comment: Thank you for the fix Priscila. Can you submit it as a diff file? (guidelines on http://www.python.org/dev/patches/) Tarek: I wonder if we should backport pydoc_server from d2 to test behavior bugs like this one. -- __

[issue9199] distutils upload command crashes when displaying server response

2010-11-20 Thread Éric Araujo
Éric Araujo added the comment: Thanks for correcting me! -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9435] test_distutils fails without zlib

2010-11-20 Thread Jim Pharis
Jim Pharis added the comment: I think this is a dup of #6026 which is fixed... svn log for Lib/distutils... #6026: skip test_get_file_list when zlib is not available. this test requires zlib support #6026 - fix tests that failed without zlib -- nosy: +binbrain ___

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-11-20 Thread endian
endian added the comment: How about this patch? -- keywords: +patch nosy: +endian Added file: http://bugs.python.org/file19689/issue3709.diff ___ Python tracker ___ _

[issue1646068] Dict lookups fail if sizeof(Py_ssize_t) < sizeof(long)

2010-11-20 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-11-20 Thread Éric Araujo
Changes by Éric Araujo : -- versions: -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue10437] ThreadPoolExecutor should accept max_workers=None

2010-11-20 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: pypy does have a GIL! -- nosy: +amaury.forgeotdarc ___ Python tracker ___ ___ Python-bugs-lis

[issue10367] "python setup.py sdist upload --show-response" can fail with "UnboundLocalError: local variable 'result' referenced before assignment"

2010-11-20 Thread Priscila Manhaes
Changes by Priscila Manhaes : -- keywords: +patch Added file: http://bugs.python.org/file19690/10367.diff ___ Python tracker ___ ___ P

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-11-20 Thread R. David Murray
R. David Murray added the comment: It looks good, but as mentioned on IRC it would be nice to have a unit test that confirmed that the headers were being correctly buffered. -- nosy: +r.david.murray ___ Python tracker

[issue9338] argparse optionals with nargs='+' can't be followed by positionals

2010-11-20 Thread Daniel Albeseder
Daniel Albeseder added the comment: My attached patch adds the "--" between the optionals and the arguments, if there are optionals which have variable length and at least some positional argument can be provided. Patch is for python 3.2 svn revision 86553. -- nosy: +Kotan Added file

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-11-20 Thread endian
endian added the comment: Working on it... -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2010-11-20 Thread endian
Changes by endian : Added file: http://bugs.python.org/file19692/issue3709.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue8078] add more baud constants to termios

2010-11-20 Thread Rodolpho Eckhardt
Rodolpho Eckhardt added the comment: Added those baud rates using #ifdef's because I'm not sure all platforms will define them. -- keywords: +patch nosy: +Rodolpho.Eckhardt Added file: http://bugs.python.org/file19693/termios_baud.patch ___ Python t

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

2010-11-20 Thread Ezio Melotti
Ezio Melotti added the comment: Committed in r86596. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue9182] document “--” as a way to disti nguish option w/ narg='+' from positional argument in arg parse

2010-11-20 Thread Daniel Albeseder
Daniel Albeseder added the comment: I did the patch for adding the "--" in the generated usage text inside issue 9338. -- nosy: +Kotan ___ Python tracker ___ ___

[issue10231] SimpleHTTPRequestHandler directory bugs

2010-11-20 Thread Jeremy Thurgood
Jeremy Thurgood added the comment: Thanks for the comments. There are two separate things here: the URL and the filesystem path. The only part of the URL we care about is the path section, but the fragment ("#anchor") and query parameters ("?foo") are valid -- SimpleHTTPRequestHandler just i

[issue9305] Don't use east/west of UTC in date/time documentation

2010-11-20 Thread Henrique Bastos
Henrique Bastos added the comment: Here goes a patch to replace east/west references on datetime documentation. As spoken with fdrake we think the datetime documentation could be improved extracting the timezone subclassing details to specific section. We'll be filling a new issue for that pa

[issue9305] Don't use east/west of UTC in date/time documentation

2010-11-20 Thread Henrique Bastos
Henrique Bastos added the comment: Here goes a patch to replace east/west references on datetime documentation. As spoken with fdrake we think the datetime documentation could be improved extracting the timezone subclassing details to specific section. We'll be filling a new issue for that pa

[issue9305] Don't use east/west of UTC in date/time documentation

2010-11-20 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: LGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue9721] urlparse.urljoin() cuts off last base character with semicolon at url start

2010-11-20 Thread Wes Chow
Wes Chow added the comment: Here's a patch for 3.2 which fixes this problem I believe. There does exist a test case that should have produced an error, except that the last path segment in RFC3986_BASE is only one character long. Had it been more than one character long, RFC3986 checks would

[issue10461] Use with statement throughout the docs

2010-11-20 Thread Eli Bendersky
Eli Bendersky added the comment: On Sat, Nov 20, 2010 at 20:44, Éric Araujo wrote: > > Éric Araujo added the comment: > > Eli, SilentGhost: Please open other bug reports for doc errors like the > struct one in stdlib2 or the r/rb one. > > SilentGhost: with statement used with open *is* abou

[issue9305] Don't use east/west of UTC in date/time documentation

2010-11-20 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: d...@python -> belopolsky stage: needs patch -> commit review ___ Python tracker ___ ___

[issue9435] test_distutils fails without zlib

2010-11-20 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue8911] regrtest.main should have a test skipping argument

2010-11-20 Thread Tarsis Azevedo
Tarsis Azevedo added the comment: Hi all, I followed from 1 to 5 steps of jerry's comment and removed a recursive import I didnt get it. The patch is attached. -- keywords: +patch nosy: +Tarsis.Azevedo Added file: http://bugs.python.org/file19697/issue8911.diff _

[issue9721] urlparse.urljoin() cuts off last base character with semicolon at url start

2010-11-20 Thread R. David Murray
Changes by R. David Murray : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue8890] Use tempfile instead of /tmp in examples

2010-11-20 Thread Mauro Navarro Baraldi
Mauro Navarro Baraldi added the comment: Replace to most use of /tmp/tempfile for just tempfile, as sugested before. -- keywords: +patch nosy: +maurobaraldi Added file: http://bugs.python.org/file19698/py3k-docs.patch ___ Python tracker

[issue9721] urlparse.urljoin() cuts off last base character with semicolon at url start

2010-11-20 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 2.7, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7804] test_readline failure

2010-11-20 Thread Abhay Saxena
Abhay Saxena added the comment: Works for me with a fresh py3k on Ubuntu. -- nosy: +ark3 ___ Python tracker ___ ___ Python-bugs-list m

[issue7325] tempfile.mkdtemp() does not return absolute pathname when relative dir is specified

2010-11-20 Thread Rafael dos Santos Gonçalves
Rafael dos Santos Gonçalves added the comment: Hi people, I insert a simple code in tempfile.py, that verify if the return starts with ./, and concatenate using the abspath function. I changed the variable name file to temp_dir_abspath, because file is a built-in function and it's not recommen

[issue8340] bytearray undocumented on trunk

2010-11-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Done in r86602. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue7804] test_readline failure

2010-11-20 Thread Jim Pharis
Jim Pharis added the comment: Unable to recreate this in Ubuntu 10.04 w/3.2 alpha 4. Tried with and without readline lib installed. -- nosy: +binbrain ___ Python tracker ___ ___

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

2010-11-20 Thread Michele Orrù
Changes by Michele Orrù : Removed file: http://bugs.python.org/file19684/issue10453.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9724] help('nonlocal') missing

2010-11-20 Thread Cherniavsky Beni
Cherniavsky Beni added the comment: Reopening because help('nonlocal') still doesn't work; attached patch fixes that. It also cross-links all of global/nonlocal/NAMESPACES. -- keywords: +patch resolution: fixed -> status: closed -> open Added file: http://bugs.python.org/file19700/no

[issue10469] test_socket fails

2010-11-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: Kotan: please perform the following procedure: 1. Open pcbuild.sln 2. In the pythoncore project, open errnomodule.c 3. find the reference to EWOULDBLOCK and WSAEWOULDBLOCK 4. for each one, "go to definition" 5. report here what header files Visual Studio think

[issue10231] SimpleHTTPRequestHandler directory bugs

2010-11-20 Thread Jeremy Thurgood
Jeremy Thurgood added the comment: Updated patch as per previous comment. -- Added file: http://bugs.python.org/file19701/issue10231_v2.diff ___ Python tracker ___ _

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

2010-11-20 Thread Michele Orrù
Michele Orrù added the comment: Unittest added; should be enough. -- Added file: http://bugs.python.org/file19702/issue10453.patch ___ Python tracker ___ ___

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

2010-11-20 Thread Michele Orrù
Changes by Michele Orrù : Added file: http://bugs.python.org/file19703/issue10453_tests.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue10469] test_socket fails

2010-11-20 Thread Daniel Albeseder
Daniel Albeseder added the comment: #define EWOULDBLOCK 140 #define WSAEWOULDBLOCK 10035L The editor suggests that EWOULDBLOCK is already defined, therefore its code is used, i.e. 140. #define ECONNREFUSED107 #define WSAECONNREFUSED 10061L The E* ar

[issue10255] refleak in initstdio

2010-11-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed in r86607, thanks. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.2 ___ Python tracker ___

[issue5066] IDLE documentation for Unix obsolete/incorrect

2010-11-20 Thread Ramiro Batista da Luz
Ramiro Batista da Luz added the comment: I reviewed the texts, applied the patches, ran idle, edited Demo/classes/Dates.py run module inside Idle. Generated the docs inside Doc, with make html and reviewed the IDLE doc in ~/python/py3k/Doc/build/html/library/idle.html?highlight=idle Only in

[issue9724] help('nonlocal') missing

2010-11-20 Thread Georg Brandl
Georg Brandl added the comment: Applied in r86608. Thanks! -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue9305] Don't use east/west of UTC in date/time documentation

2010-11-20 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On the second reading, I have a few issues with the patch. 1. Please run makepatcheck. There are whitespace issues in datetime.rst. 2. In docstrings, you remove the information about the sign. I would not mind leaving docstrings the way they are. Othe

[issue10471] include documentation in python docs and under python -h for other commandline options

2010-11-20 Thread Dan L
New submission from Dan L : there are options such as 'python -tt -bb' that are undocumented at http://docs.python.org/using/cmdline and that don't show up when you type python -h. ( Doubling t and b turns tabs or bytes warnings into errors. ) I don't know if they show up or not when you type

[issue8078] add more baud constants to termios

2010-11-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch committed in r86610, thank you! -- nosy: +pitrou resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

[issue10469] test_socket fails

2010-11-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: OK, so what's the path to errno.h? In the errno.h included in my copy of VS 2010, the errno values only go up to 42 (80 if you count STRUNCATE), and EWOULDBLOCK is not defined in this header file. -- ___ Python tr

<    1   2   3   4   >