[issue5628] TextIOWrapper fails with SystemError when reading HTTPResponse

2009-03-31 Thread Jeremy Hylton
New submission from Jeremy Hylton jer...@alum.mit.edu: import io import urllib.request f_bytes = urllib.request.urlopen(http://www.python.org/;) f_string = io.TextIOWrapper(f_bytes, iso-8859-1) print(f_string.read()) -- components: Library (Lib) messages: 84840 nosy: jhylton severity:

[issue970783] PyObject_GenericGetAttr is undocumented

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Documented in r70842.c -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue970783 ___

[issue1569040] Speed up using + for string concatenation

2009-03-31 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Thanks for pointing that out! I think I found it; the discussion is actually about lazy string slices, and it starts here: http://mail.python.org/pipermail/python-dev/2000-February/002317.html If I were to resubmit lazy string slices (which

[issue5629] PEP 0 date and revision not being set

2009-03-31 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: The date and revision data for PEP 0 is not being set since it is trying to use svn substitution when the PEP itself is not in svn. -- components: None messages: 84843 nosy: benjamin.peterson, brett.cannon priority: low severity: normal

[issue992389] attribute error after non-from import

2009-03-31 Thread Torsten Bronger
Torsten Bronger bron...@physik.rwth-aachen.de added the comment: Maybe it's better to leave it open, waiting for someone to pick it up, even if this is some time in the future? In my opinion, this is suprising behaviour without an actual rationale, and a current implementation feature. I'd be

[issue1664] nntplib is not IPv6-capable

2009-03-31 Thread Derek Morr
Derek Morr derekm...@psu.edu added the comment: Any chance of this being applied soon? It's been sitting in the bugtracker for over a year now. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1664

[issue5111] httplib: wrong Host header when connecting to IPv6 litteral URL

2009-03-31 Thread Derek Morr
Changes by Derek Morr derekm...@psu.edu: -- nosy: +dmorr ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5111 ___ ___ Python-bugs-list mailing list

[issue1664] nntplib is not IPv6-capable

2009-03-31 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: @dmorr: It would be faster if nntplib has some tests :-/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1664 ___

[issue1664] nntplib is not IPv6-capable

2009-03-31 Thread Derek Morr
Derek Morr derekm...@psu.edu added the comment: I'm confused by that. In order to apply a 3 line patch (which replaces one standard library function with another), you want an entire test suite written for nntplib? If we're willing to accept that nttplib works reasonably well now, why is

[issue5400] patches for multiprocessing module on NetBSD

2009-03-31 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: Applied in r70849 python-trunk, merging to py3k and 26maint -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5400

[issue1161031] Neverending warnings from asyncore

2009-03-31 Thread Josiah Carlson
Josiah Carlson josiahcarl...@users.sourceforge.net added the comment: You are right. Handling OOB data is within the exceptional condition that the select document specifies. I've added a check for error conditions within handle_expt_event(), which induces a handle_close() on discovery of an

[issue1161031] Neverending warnings from asyncore

2009-03-31 Thread Josiah Carlson
Changes by Josiah Carlson josiahcarl...@users.sourceforge.net: Removed file: http://bugs.python.org/file13516/async_no_warn.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1161031 ___

[issue1370380] async_chat.push() can trigger handle_error(). undocumented.

2009-03-31 Thread Josiah Carlson
Changes by Josiah Carlson josiahcarl...@users.sourceforge.net: -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1370380 ___

[issue5627] PyDict_SetItemString() fails when the second argument is null

2009-03-31 Thread Euler Taveira de Oliveira
Euler Taveira de Oliveira eu...@timbira.com added the comment: It seems PyDict_DelItemString() and PyDict_SetItem() suffer from the same disease. :( Both use assert() to detect a null pointer but fail to prevent it. As I stated in the previous comment, maybe the right fix is to replace assert()

[issue837577] cryptic os.spawnvpe() return code

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Documented in r70851. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue837577 ___

[issue5245] PyRun_SimpleStringFlags() documentation

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Documented in r70855. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5245 ___

[issue5227] Py_Main() does not return on sys.exit()

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Documented in r70857. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5227 ___

[issue1161031] Neverending warnings from asyncore

2009-03-31 Thread Aleksi Torhamo
Aleksi Torhamo alexerion+pythonb...@gmail.com added the comment: Ah, you're right. I hadn't thought about the exceptional condition being used to signal anything besides OOB. Looks really good to me. s/close/_exception/ in the select-based poll(), and i don't have anything more to add.

[issue5387] mmap.move crashes by integer overflow

2009-03-31 Thread Jack Diederich
Jack Diederich jackd...@gmail.com added the comment: running a fresh 2.7 trunk a mmap.mmap object at 0xb7d9f9c0 a.move(-1, -1, -1 ... ) Segmentation fault j...@sprat:~/src/python-rw$ ./python Python 2.7a0 (trunk:70847M, Mar 31 2009, 14:14:31) [GCC 4.3.2] on linux2 Type help, copyright,

[issue5241] Missing flags in the Regex howto

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r70859, r70861. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5241 ___

[issue3551] multiprocessing.Pipe terminates with ERROR_NO_SYSTEM_RESOURCES if large data is sent (win2000)

2009-03-31 Thread John Ehresman
John Ehresman j...@wingware.com added the comment: Attached is a patch, though I have mixed feelings about it. The OS error can still occur even if a smaller amount is written in each WriteFile call; I think an internal OS buffer fills up and the error is returned if that buffer is full because

[issue1717] Get rid of more references to __cmp__

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Documentation updated in r70863. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1717 ___

[issue5387] mmap.move crashes by integer overflow

2009-03-31 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Yes, you are right... My patch was not correct neigher. :-( Here is revised patch. -- resolution: fixed - status: closed - open Added file: http://bugs.python.org/file13519/fix_mmap_move_v2.patch

[issue2578] additional unittest type equality methods

2009-03-31 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: def's of the methods changed to be the official assert* names in trunk r70864. unittests added to confirm that all known method names continue to work. Guido - If we fix 2to3 to fixup unittests that use the fail* method names to use the

[issue5604] imp.find_module() mixes UTF8 and MBCS

2009-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Continuing work over import.c I fixed bad error message encoding in generated ImportError exception. Tests for checking in case of non-ascii characters added. -- Added file: http://bugs.python.org/file13520/import.zip

[issue4882] Behavior of backreferences to named groups in regular expressions unclear

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Committed a similar patch in r70866. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4882 ___

[issue5630] Update CObject API so it is safe and regular

2009-03-31 Thread Larry Hastings
New submission from Larry Hastings la...@hastings.org: The CObject API has two flaws. First, there is no usable type safety mechanism. You can store a void *object, and a void *description. There is no established schema for the description; it could be an integer cast to a pointer, or it

[issue5604] imp.find_module() mixes UTF8 and MBCS

2009-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Martin von Loewis added to nosy list -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5604 ___

[issue5241] Missing flags in the Regex howto

2009-03-31 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Thanks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5241 ___ ___ Python-bugs-list

[issue2578] additional unittest type equality methods

2009-03-31 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: If the deprecation causes noise people can just turn off the deprecation warning surely? Especially as transforming a codebase really is as simple as a global search and replace. Personally I'd prefer earlier deprecation. --

[issue5623] test_fdopen fails with vs2005, release build on Windows 2000

2009-03-31 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: We could also simply redistribute the MSVCRT in python/bin, as we are allowed to. We *do* distribute the CRT with Python, and it works just fine. The report is about VS 2005 -- title: test_fdopen fails with vs2005, release build

[issue1096310] sys.__stdout__ doco isn't discouraging enough

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Amended documentation in r70867. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1096310 ___

[issue5190] optparse doex not export make_option

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: As commented in optparse.py, make_option is the preferred way to create options, so I've added it to __all__ in r70868. -- resolution: - fixed status: open - closed ___ Python tracker

[issue5228] multiprocessing not compatible with functools.partial

2009-03-31 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: I agree that this is a nice feature, however it requires adding a getstate/setstate within the functools C code. I would need a patch which does this, and adds tests to the functools/pickle test suite for this. Also, the feature will only be

[issue5228] multiprocessing not compatible with functools.partial

2009-03-31 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: Jack offered to take a peek -- assignee: jnoller - jackdied nosy: +jackdied ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5228 ___

[issue5391] mmap: read_byte/write_byte and object type

2009-03-31 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- dependencies: +only accept byte for getarg('c') and unicode for getarg('C') ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5391 ___

[issue5410] msvcrt bytes cleanup

2009-03-31 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- dependencies: +only accept byte for getarg('c') and unicode for getarg('C') ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5410 ___

[issue5503] multiprocessing/connection.py wrong pipe name under win32

2009-03-31 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: I need to know what the exception/error is, given multiprocessing is working fine on WIN32. Setting status to pending - without a test case that shows the issue or more information, I can not move forward with this. -- status: open -

[issue5499] only accept byte for getarg('c') and unicode for getarg('C')

2009-03-31 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- priority: - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5499 ___

[issue5499] only accept byte for getarg('c') and unicode for getarg('C')

2009-03-31 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Note: #5391 and #5410 are depends on this issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5499 ___

[issue4411] __mro__ documentation

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Documented in r70870. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4411 ___

[issue5618] PyMemberDef type T_UBYTE incorrectly documtented

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r70871. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5618 ___

[issue5387] mmap.move crashes by integer overflow

2009-03-31 Thread Jack Diederich
Jack Diederich jackd...@gmail.com added the comment: Looks good. Attached is a more thorough test_mmap.py patch that would have found the bugs in both our patches ;) -- resolution: - fixed status: open - closed Added file: http://bugs.python.org/file13522/test_mmap_harder.patch

[issue1681974] mkdtemp fails on Windows if username has non-ASCII character

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Why are you using a unicode string as your temp directory prefix? Does it raise something different if you don't? -- assignee: - loewis nosy: +loewis ___ Python tracker rep...@bugs.python.org

[issue1161031] Neverending warnings from asyncore

2009-03-31 Thread Josiah Carlson
Josiah Carlson josiahcarl...@users.sourceforge.net added the comment: Fixed the close() call and committed to trunk. Python 2.6 tests pass with the new version of the library. Calling it good :) . -- keywords: -needs review resolution: - accepted status: open - closed

[issue1243678] httplib gzip support

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Sounds reasonable. -- resolution: - duplicate status: open - closed superseder: - [gzip] Performance for small reads and fix seek problem ___ Python tracker rep...@bugs.python.org

[issue1590068] Error piping output between scripts on Windows

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Duplicate of #1675026. -- nosy: +georg.brandl resolution: - duplicate status: open - closed superseder: - Redirect cause invalid descriptor error ___ Python tracker rep...@bugs.python.org

[issue5208] urllib2.build_opener(

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Closing as invalid. -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5208 ___

[issue5510] patches for Modules/socketmodule.c for NetBSD

2009-03-31 Thread Piotr Meyer
Changes by Piotr Meyer an...@smutek.pl: -- nosy: +aniou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5510 ___ ___ Python-bugs-list mailing list

[issue808164] socket.close() doesn't play well with __del__

2009-03-31 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Daniel, _closedsocket is a global, so it isn't safe to be used within __del__ during shutdown. In the py3k branch, socket.__del__ calls socket._real_close which references the global _socket. So it's not safe their, either.

[issue5631] Distutils upload command does not show up in --help-commands output.

2009-03-31 Thread Martin Blais
New submission from Martin Blais bl...@furius.ca: The output of running python setup.py --help-commands does not include the upload command. -- components: Library (Lib) messages: 84884 nosy: blais severity: normal status: open title: Distutils upload command does not show up in

[issue2578] additional unittest type equality methods

2009-03-31 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: trunk r70878 has the code issue an actual PendingDeprecationWarning for the fail* methods and documents them as deprecated. If anyone has a better idea of a better way to state those deprecations in the docs, feel free to jump in here. I was

[issue2073] asynchat push always sends 512 bytes (ignoring ac_out_buffer_size)

2009-03-31 Thread Mike Coleman
Mike Coleman m...@users.sourceforge.net added the comment: Just to confirm, the real problem here was that tiny packets were being sent out by default, and the obvious fix (altering ac_out_buffer_size) didn't work. Looking at the code, it appears that the change by Josiah Carlson (#64062)

[issue5387] mmap.move crashes by integer overflow

2009-03-31 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I've committed your test with some modification. (r70879) Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5387 ___

[issue2073] asynchat push always sends 512 bytes (ignoring ac_out_buffer_size)

2009-03-31 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment: In my experience I noticed that 65536 is a pretty good compromise, at least when moving big amounts of data: http://code.google.com/p/pyftpdlib/issues/detail?id=94 -- ___ Python

[issue2266] Missing documentation about old/new-style classes

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: The new docs already have glossary entries that point to the datamodel doc. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2266

[issue5631] Distutils upload command does not show up in --help-commands output.

2009-03-31 Thread Maksim Kozyarchuk
Maksim Kozyarchuk maksim_kozyarc...@yahoo.com added the comment: adding upload to __init__.py of commands package fixes this Patch on Appshot. http://codereview.appspot.com/32087/show -- nosy: +Kozyarchuk versions: +Python 3.1 -Python 2.4, Python 2.5, Python 2.6

[issue1714773] python throws an error when unpacking bz2 file

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: This was apparently fixed sometime in trunk. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1714773

[issue1161031] Neverending warnings from asyncore

2009-03-31 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment: I still get some occasional EBADF failures when running pyftpdlib test suite by using poll(). I think that it makes more sense moving the: if flags (select.POLLHUP | select.POLLERR | select.POLLNVAL):

[issue1161031] Neverending warnings from asyncore

2009-03-31 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment: ...after all no read/write methods should be called after the socket has been closed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1161031

[issue5616] Distutils 2to3 support doesn't have the doctest_only flag.

2009-03-31 Thread Lennart Regebro
Lennart Regebro rege...@gmail.com added the comment: Also, the run_2to3 method takes the explicit parameter, but does not pass it into the DistutilsRefactoringTool. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5616

[issue1674032] Make threading.Event().wait(timeout=3) return isSet

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Added a pony test and committed in r70883. -- assignee: tim_one - georg.brandl resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org

[issue1674555] Python 2.5 testsuite sys.path contains system dirs

2009-03-31 Thread David Christian
Changes by David Christian d...@rpath.com: -- nosy: +dugan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1674555 ___ ___ Python-bugs-list mailing

[issue978604] wait_variable hangs at exit

2009-03-31 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: You can also reproduce it with a shorter test that doesn't need any interaction: import Tkinter root = Tkinter.Tk() waitvar = Tkinter.BooleanVar() root.after(50, lambda: waitvar.set(True)) root.after(10, root.destroy)

[issue1530012] Literal strings use BS as octal escape character

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Swapped the sections in r70893. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1530012 ___

[issue1711605] CGIHttpServer leaves traces of previous requests in env

2009-03-31 Thread David Christian
Changes by David Christian d...@rpath.com: -- nosy: +dugan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1711605 ___ ___ Python-bugs-list mailing

[issue5623] test_fdopen fails with vs2005, release build on Windows 2000

2009-03-31 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: The problem with Windows 2000 is that it is not enough to distribute the CRT. For example, I am sure that a few months ago the version ending with .1433 was not present on my machine; the version in the system32 directory was .762

[issue1651995] sgmllib _convert_ref UnicodeDecodeError exception, new in 2.5

2009-03-31 Thread Daniel Darabos
Daniel Darabos darabos.dan...@gmail.com added the comment: Attached patch against SVN trunk including unittest. The test is not great, because it practically only checks if the patch was applied and not the real-life situation where the exception occurs, but I'm not too handy with sgmllib (I

[issue5603] Garbled sentence in documentation of urllib.request.urlopen

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Already fixed in dev docs. -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5603 ___

[issue5632] Bug - threading.currentThread().ident returns None in main thread

2009-03-31 Thread Skip Montanaro
New submission from Skip Montanaro s...@pobox.com: The main thread has an ident, but the threading module doesn't recognize that fact. I shouldn't have to start the main thread. Example: % python Python 2.7a0 (trunk:70084, Feb 28 2009, 20:51:51) [GCC 4.0.1 (Apple Inc. build 5490)] on darwin

[issue5633] timeit breaks when the statment is a string and the setup is not

2009-03-31 Thread Tim Driscoll
New submission from Tim Driscoll tdris...@gmail.com: The patch and test is here: http://codereview.appspot.com/28161/show There were no tests so i added a few of them. The one that breaks without the patch to timeit is: test_setup_is_called_when_the_statment_is_string_and_the_setup_is_not()

[issue5602] Slight punctuation problem in documentation of urllib.request.urlopen

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Actually, that style is fine as well and even indicates a bit better that you don't have to give data if you give timeout. We'll likely try to get the style of writing optional parameters more consistent in the future. -- resolution: -

[issue5633] timeit breaks when the statment is a string and the setup is not

2009-03-31 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: - rhettinger nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5633 ___

[issue5563] Document bdist_msi

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I'll wait for a patch from you, Steven. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5563 ___

[issue1641] asyncore delayed calls feature

2009-03-31 Thread Josiah Carlson
Josiah Carlson josiahcarl...@users.sourceforge.net added the comment: I fixed some bugs with my patch, merged in Giampaolo's tests and documentation, and altered the API to match Giampaolo's API almost completely. This new version differs from Giampaolo's patch only in underlying

[issue1641] asyncore delayed calls feature

2009-03-31 Thread Josiah Carlson
Changes by Josiah Carlson josiahcarl...@users.sourceforge.net: Removed file: http://bugs.python.org/file13238/scheduler_partial.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1641 ___

[issue5601] webbrowser doesn't just open browsers

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I'm inclined not to document that. webbrowser is meant for URLs, the behavior if you call it with file names is undefined. -- resolution: - wont fix status: open - pending ___ Python tracker

[issue5633] fix for timeit when the statment is a string and the setup is not (and tests)

2009-03-31 Thread Tim Driscoll
Changes by Tim Driscoll tdris...@gmail.com: -- title: timeit breaks when the statment is a string and the setup is not - fix for timeit when the statment is a string and the setup is not (and tests) ___ Python tracker rep...@bugs.python.org

[issue5337] Scanner class in re module undocumented

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: OK, so we'll wait for that. -- dependencies: +Regexp 2.7 (modifications to current re 2.2.2) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5337

[issue5598] paths argument missing in DocFileSuite documentation

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r70896. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5598 ___

[issue5632] Bug - threading.currentThread().ident returns None in main thread

2009-03-31 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Here's a test case which reveals the problem as I see it. -- keywords: +patch stage: - needs patch Added file: http://bugs.python.org/file13525/threading.diff ___ Python tracker rep...@bugs.python.org

[issue5633] fix for timeit when the statment is a string and the setup is not (and tests)

2009-03-31 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Georg, this was your patch: http://bugs.python.org/issue1533909 I don't think it should have been accepted so readily. It is not harmonious with all of the other proposals for improving timeit. No that it is out in the

[issue2953] _zip_directory_cache untested and undocumented

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: That's fortunate, because I can just reassign this to him :) -- assignee: georg.brandl - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2953

[issue909005] asyncore fixes and improvements

2009-03-31 Thread Aleksi Torhamo
Aleksi Torhamo alexerion+pythonb...@gmail.com added the comment: not the handle_close_event() replacements, stick with handle_close(). I'm guessing this has to do with breaking the abstraction? I can't think of a situation where handle_close() is called, but close() should not be called. If

[issue5619] Pass MS CRT debug flags into subprocesses

2009-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Patch for multiprocessing added. Using with regrtest -n option now allows to pass all regression test stack without any popup assertion dialog on Windows box. Probably have to be backported to Python 2.7 branch -- components:

[issue5337] Scanner class in re module undocumented

2009-03-31 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Whether this should be exposed is up to effbot. It's his code. He knows its limitations and he made the original decision to leave it undocumented. -- assignee: benjamin.peterson - effbot

[issue1608921] PyThread_release_lock with pthreads munges errno

2009-03-31 Thread David Christian
Changes by David Christian d...@rpath.com: -- nosy: +dugan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1608921 ___ ___ Python-bugs-list mailing

[issue5634] cPickle error in case of recursion limit

2009-03-31 Thread vadim suvorov
New submission from vadim suvorov zzpythontrac...@stelary.com: In case of heavily recursive data structure cPickle produces intermittent random exceptions (AttributeError, etc.). The expected is RuntimeError: ('maximum recursion depth exceeded in ...'). In addition, the behavior differs for

[issue909005] asyncore fixes and improvements

2009-03-31 Thread Aleksi Torhamo
Aleksi Torhamo alexerion+pythonb...@gmail.com added the comment: I just remembered that level 1 function handle_connect_event() is also called from level 2, so i actually can't see why the close helper could not be called handle_close_event(). Is there some other reason besides breaking

[issue909005] asyncore fixes and improvements

2009-03-31 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment: I can't think of a situation where handle_close() is called, but close() should not be called. If indeed so, i feel it's weird to require the user remember to call close(), and it should IMHO be done automatically. It's

[issue5632] Bug - threading.currentThread().ident returns None in main thread

2009-03-31 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed in r70897. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5632

[issue909005] asyncore fixes and improvements

2009-03-31 Thread Aleksi Torhamo
Aleksi Torhamo alexerion+pythonb...@gmail.com added the comment: It's already done automatically if you don't override handle_close. Sorry, i meant the case where you need to override it. If we always need to call close() from handle_close(), it feels redundant having to remember to add it,

[issue3786] _curses, _curses_panel _multiprocessing can't be build in 2.6b3 w/ SunStudio 12

2009-03-31 Thread Tim Mooney
Tim Mooney enchan...@users.sourceforge.net added the comment: Solaris has both traditional System V curses and an XPG4-compatible curses that does include mvwchgat. The traditional system V curses is the default, for backward compatibility. If you want the XPG4 compatible curses, you need to

[issue978604] wait_variable hangs at exit

2009-03-31 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Patch attached, but didn't test it at all. This is a trick so it doesn't get committed without a test (hopefully) :) -- keywords: +patch Added file: http://bugs.python.org/file13528/issue978604.diff

[issue992389] attribute error after non-from import

2009-03-31 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: I just had a thought: we may be able to eliminate this behaviour without mucking about in the package globals. What if the import semantics were adjusted so that, as a last gasp effort before bailing out with an ImportError, the import process

[issue5563] Document bdist_msi

2009-03-31 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Here you go. I built the docs with the attached patch, and everything looks about right to me now. -- keywords: +patch Added file: http://bugs.python.org/file13529/python3-bdist-msi-docs.patch

[issue1675026] Redirect cause invalid descriptor error

2009-03-31 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Documented in README in r70902. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1675026 ___

[issue2073] asynchat push always sends 512 bytes (ignoring ac_out_buffer_size)

2009-03-31 Thread Josiah Carlson
Josiah Carlson josiahcarl...@users.sourceforge.net added the comment: The spare 512 values are for code that I expect no one is actually using. In terms of increasing the buffer size from 4096 to something larger, that can be done, but I think that more than just a 10mbit switched lan test

[issue4706] try to build a C module, but don't worry if it doesn't work

2009-03-31 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- assignee: - tarek resolution: - duplicate status: open - closed superseder: - Optional extensions in setup.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4706

[issue5337] Scanner class in re module undocumented

2009-03-31 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: One of the limitations is that it identifies what matched by using capture groups, so if the expressions provided contain captures then it gets confused! :-) I handled that by 1) rejecting named captures and 2) changing unnamed

<    1   2   3   >