[issue5416] str.replace does strange things when given a negative count

2009-03-04 Thread David Majnemer
New submission from David Majnemer david.majne...@gmail.com: str.replace(, , asdf, -1) returns asdf, I believe this is not correct and strictly speaking not up to the documentation posted. I am of the opinion that it should function like str.replace(, , asdf, 0) which returns --

[issue5390] Item 'Python x.x.x' in Add/Remove Programs list still lacks an icon

2009-03-04 Thread Retro
Retro vinet...@gmail.com added the comment: A strange thing now happened. Now the Python 2.6.1 interpreter has an icon in the Add/Remove Programs list. I completely removed Python 2.6.1 and reinstalled it with the command msiexec /i python-2.6.1.msi /l*v python26.log and it now has an icon in

[issue5390] Item 'Python x.x.x' in Add/Remove Programs list still lacks an icon

2009-03-04 Thread Retro
Retro vinet...@gmail.com added the comment: And now I'm attaching the installing log of Python 2.6.1 for you. I hope you have enough information to work on the solution. If you need more information, just ask. Added file: http://bugs.python.org/file13241/python26.rar

[issue5416] str.replace does strange things when given a negative count

2009-03-04 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Confirmed in trunk and py3k. Changing to RFE, set it to behavior if you disagree. Python 2.4 does return for str.replace(, , asdf, -1), the change happened in rev46226, with the effbot adding this snippet (by Andrew Dalke?): if (maxcount

[issue5416] str.replace does strange things when given a negative count

2009-03-04 Thread Senthil
Senthil orsent...@gmail.com added the comment: And also look at the help on string.replace which sets -1 as the default value for maxsplit optional argument and which again defaults to replace-all. Clearly, maxsplit= -1 is not equal to maxsplit = 0. replace(s, old, new, maxsplit=-1) replace

[issue993580] inspect.findsource does not call linecache.checkcache

2009-03-04 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Issue 1218234 has a patch. -- dependencies: +inspect.getsource doesn't update when a module is reloaded nosy: +ajaksu2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue993580

[issue1201569] allow running multiple instances of IDLE

2009-03-04 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed type: - feature request versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1201569 ___

[issue1207589] Right Click Context Menu

2009-03-04 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1207589 ___

[issue1244208] expat binding for XML_ParserReset (Bug #1208730)

2009-03-04 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- dependencies: +expat binding for XML_ParserReset stage: - test needed type: - feature request versions: +Python 2.7, Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org

[issue1194222] parsedate and Y2K

2009-03-04 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Confirmed in trunk and py3k. -- keywords: +easy, patch nosy: +ajaksu2 stage: - test needed type: - feature request versions: +Python 2.7, Python 3.1 -Python 2.5 ___ Python tracker

[issue2054] add ftp-tls support to ftplib - RFC 4217

2009-03-04 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment: I released that the attached patch had some indentation issues. The one in attachment fixes them. Added file: http://bugs.python.org/file13242/ftplib.patch ___ Python tracker

[issue5416] str.replace does strange things when given a negative count

2009-03-04 Thread David W. Lambert
David W. Lambert lamber...@corning.com added the comment: I completely agree that this is a documentation issue. Also, or perhaps for foolish completeness, in http://docs.python.org/3.0/library/stdtypes.html we would point out that the following group of string methods also work for bytes and

[issue2054] add ftp-tls support to ftplib - RFC 4217

2009-03-04 Thread Giampaolo Rodola'
Giampaolo Rodola' billiej...@users.sourceforge.net added the comment: I realized that the attached patch had some indentation issues. The one in attachment fixes them. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2054

[issue2054] add ftp-tls support to ftplib - RFC 4217

2009-03-04 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' billiej...@users.sourceforge.net: Removed file: http://bugs.python.org/file13156/ftplib.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2054 ___

[issue5390] Item 'Python x.x.x' in Add/Remove Programs list still lacks an icon

2009-03-04 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I'm closing this as works for me. The error is not reproducible. -- resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5390

[issue4192] Subprocess error with I/O redirection to Pipes

2009-03-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Probably this happens because receiever.py doesn't wait for flooder.py termination, and pipe end is closed when recieiver.py terminates. Does this code work for you? p = subprocess.Popen(python

[issue1201569] allow running multiple instances of IDLE

2009-03-04 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- nosy: -ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1201569 ___ ___

[issue4192] Subprocess error with I/O redirection to Pipes

2009-03-04 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: This happens because when flooder.py terminates, its stdout will be closed, but another pipe end in receirver.py process is already closed, so Python\sysmodule.c(1098): _check_and_flush (FILE *stream) In this function, fflush()

[issue5224] OS X installer: Update Shell Profile script is not updated

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: This is now also fixed for the trunk and 2.6 -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5224 ___

[issue5226] OS X installer: Welcome and Readme files are out-of-date

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Fixed for the trunk and 2.6 as well. -- resolution: accepted - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5226

[issue5417] Reference to missing(?) function in Extending Embedding Document

2009-03-04 Thread Ruth Aydt
New submission from Ruth Aydt a...@hdfgroup.org: Section 1.6 Calling Python Functions from C in the Extending and Embedding Python, 2.6.1 guide talks about PyEval_CallObject. But, I can't find it anywhere else in the 2.6 doc set. I did see in PEP 3100 that the function is to be removed in

[issue4565] Rewrite the IO stack in C

2009-03-04 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: And the io-c branch has been merged in r70152. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4565

[issue3618] possible deadlock in python IO implementation

2009-03-04 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Since io-c has been merging, I'm lowering priority. -- priority: critical - low title: possible deadlock in IO library (Lib/io.py) - possible deadlock in python IO implementation ___ Python

[issue4565] Rewrite the IO stack in C

2009-03-04 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- dependencies: -possible deadlock in python IO implementation ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4565 ___

[issue4263] BufferedWriter non-blocking overage

2009-03-04 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: This has been fixed in io-c branch. (r70152) -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4263

[issue4996] io.TextIOWrapper calls buffer.read1()

2009-03-04 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: This has been fixed in io-c branch merge. (r70152) -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4996

[issue3883] Bottom buttons of IDLE Preferences Pane on Mac not wide enough for their text.

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Fixed for the trunk and 2.6 as well. -- resolution: accepted - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3883

[issue5194] OS X IDLE.app and bin/idle: missing/extra menu options

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I've applied a cleaned up version of patch-nad0014-trunk-26.txt to the trunk and 2.6 branch. This completely fixes this issue. -- resolution: accepted - fixed status: open - closed ___ Python

[issue4862] utf-16 BOM is not skipped after seek(0)

2009-03-04 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: This has been fixed by the io-c branch merge. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4862

[issue5266] StringIO.read(n) does not enforce requested size in newline mode

2009-03-04 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: This is fixed by the io-c branch merge. (r70152) -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue5265] StringIO can duplicate newlines in universal newlines mode

2009-03-04 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: This is fixed by the io-c branch merge. (r70152) -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue5264] StringIO failure when reading a chunk of text without newlines

2009-03-04 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: This is fixed by the io-c branch merge. (r70152) -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue881824] Add ResolveFinderAliases to macostools module

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I'm closing this issue as rejected because the macostools module is deprecated. We'll therefore not apply any more feature enhancements. -- nosy: +ronaldoussoren resolution: - rejected status: open - closed

[issue5117] os.path.relpath problem with root directory

2009-03-04 Thread Jim Blandy
Jim Blandy j...@red-bean.com added the comment: In case the behavior requested here is controversial, here's an example of where it would be nice to have relpath(x, '/') return a path for x that is relative to the root directory: The 'oprofile' system profiler for Linux profiles everything

[issue5408] test_osx_env failing

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Ned: IMHO your patch is not correct. test_osx_env tests behaviour that's only valid for a framework build, and should therefore only run when testing a framework build. The easiest way to accomplish that is to change the test in

[issue2740] Cmd module doesn't support readline completion on OSX Leopard

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I intend to close this as won't fix. The issue is caused by Apple's build of Python, the generic Python.org build won't even compile when using libedit. ___ Python tracker rep...@bugs.python.org

[issue4834] Trouble configuring with icc on Mac OS X 10.5

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Skip: could you please explain which bit of Xcode you didn't install? The compile should work regardless of installing 10.3 SDK support. The code you mention in your report sets MACOSX_DEPLOYMENT_TARGET to 10.3 on 10.3 systems or

[issue5154] OSX broken poll testing doesn't work

2009-03-04 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- nosy: +ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5154 ___ ___

[issue5269] OS X Installer: add options to specify universal build type and deployment target

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I'm +1 on this feature, I haven't looked at the patch yet. -- nosy: +ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5269

[issue5269] OS X Installer: add options to specify universal build type and deployment target

2009-03-04 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- assignee: - ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5269 ___ ___

[issue734115] Packaging without disturbing an existing installation

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: AFAIK this patch is no longer necessary, at least no on OSX. The current binary installer is already build using a separate DESTDIR without having to patch Makefiles. -- nosy: +ronaldoussoren

[issue763708] Failures in test_macostools for --enable-unicode=ucs4

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: IMHO fixing this is not worth the trouble, we should just document that the Carbon extensions aren't supported in a UCS4 build (or even explictly detect a UCS4 build in setup.py and not compile the Carbon extensions). -- nosy:

[issue4848] MacPython build script uses Carbon and MacOS modules slated for removal

2009-03-04 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- assignee: - ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4848 ___ ___

[issue900502] bundlebuilder: some way to add non-py files in packages

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I intend to close this issue as it is an enhancement proposal for a deprecated module. Py2app (the modern replacement for bundlebuilder) also doesn't support this scenario, although it should be fairly easy to add such support to that

[issue1113328] OSATerminology still semi-broken

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Fixed in the trunk in revision r70178. hhas: it is save to backport this to python 2.6? -- assignee: jackjansen - ronaldoussoren nosy: +ronaldoussoren resolution: - accepted ___ Python

[issue5154] OSX broken poll testing doesn't work

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: poll(3) doesn't work for all types of filedescriptors on OSX. Specifically: BUGS The poll() system call currently does not support devices. (That's from the manpage of poll). This is why Apple doesn't expose select.poll in

[issue763708] Failures in test_macostools for --enable-unicode=ucs4

2009-03-04 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: The code solution is probably the most useful since people are more likely to just compile Python without reading some text file that will mention UCS4 builds will not create the Carbon extensions. ___ Python

[issue5408] test_osx_env failing

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Committed my fix as r70179 (3.x) and r70180 (30-maint). Benjamin: can you confirm this actually fixes the issue with a non- framework build, I don't know if I'll be able to test that before the first 3.1a release. --

[issue4165] Failure building 64-bit Python on Leopard

2009-03-04 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4165 ___ ___

[issue5198] Strange DeprecationWarning behaviour in module struct

2009-03-04 Thread Ilya Sandler
Ilya Sandler isand...@users.sourceforge.net added the comment: Here is another case, which I think is even worse. Range checks are done inconsistently as well: .../trunk ./python -c 'import struct; struct.pack(B, 257) 'Traceback (most recent call last): File string, line 1, in module

[issue5408] test_osx_env failing

2009-03-04 Thread Ned Deily
Ned Deily n...@acm.org added the comment: I don't have strong feelings about it one way or the other. As far as I can tell from the code and testing and the documented behavior, the effect on sys.executable is independent of whether it is a framework build or not. But I'm fine with

[issue4848] MacPython build script uses Carbon and MacOS modules slated for removal

2009-03-04 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4848 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4848] MacPython build script uses Carbon and MacOS modules slated for removal

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The attached patch shows what I intent do commit after testing. This adds a small ObjC command-line tool that sets the icon. I still have to build the installer to check if the patch actually works. -- resolution: - accepted

[issue5408] test_osx_env failing

2009-03-04 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The effect on sys.executable is always present, the test is only valid for a framework build because that's the only build that can find sys.prefix without looking at sys.executable. Setting PYTHONEXECUTABLE with a non- framework build

[issue5408] test_osx_env failing

2009-03-04 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Thumbs up here! Thanks. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5408 ___ ___

[issue5154] OSX broken poll testing doesn't work

2009-03-04 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' billiej...@users.sourceforge.net: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5154 ___

[issue5408] test_osx_env failing

2009-03-04 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5408 ___ ___

[issue5381] json need object_pairs_hook

2009-03-04 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: After enhancing namedtuple and ConfigParser, I found a simpler approach that doesn't involve extending the API. The simple way is to use ordered dictionaries directly. With a small tweak to OD's repr, it is fully

[issue5381] json need object_pairs_hook

2009-03-04 Thread Bob Ippolito
Bob Ippolito b...@redivi.com added the comment: Unfortunately this is a patch for the old json lib... the new one has a C API and an entirely different method of parsing documents (for performance reasons). ___ Python tracker rep...@bugs.python.org

[issue5381] json need object_pairs_hook

2009-03-04 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: When do you expect the new C version to go in? I'm looking forward to it. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5381 ___

[issue4862] utf-16 BOM is not skipped after seek(0)

2009-03-04 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: This has been fixed by the io-c branch merge. Can you at least include the patch to test_io.py from amaury's patch? And why not fixing the Python version of the io module (i'm not sure of the new name: _pyio?) since we have a

[issue4996] io.TextIOWrapper calls buffer.read1()

2009-03-04 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: This has been fixed in io-c branch merge. r70152 Amazing, io-c is faster but also fixes many bugs! ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4996

[issue3618] possible deadlock in python IO implementation

2009-03-04 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Since io-c has been merging, I'm lowering priority. Why not fixing this issue? The issue is rare (only occurs when using profiling with a callback writting to stdout) and you closed the issue #4862 which is more common (read an

[issue5381] json need object_pairs_hook

2009-03-04 Thread Bob Ippolito
Bob Ippolito b...@redivi.com added the comment: Whenever someone applies the patch for http://bugs.python.org/issue4136 -- I don't know when that will happen. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5381

[issue3618] possible deadlock in python IO implementation

2009-03-04 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 2009/3/4 STINNER Victor rep...@bugs.python.org: STINNER Victor victor.stin...@haypocalc.com added the comment: Since io-c has been merging, I'm lowering priority. Why not fixing this issue? The issue is rare (only occurs when using

[issue4136] merge json library with latest simplejson 2.0.x

2009-03-04 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Martin, is this patch good-to-go? ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4136 ___

[issue4862] utf-16 BOM is not skipped after seek(0)

2009-03-04 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Ah, I forgot this wasn't applied to the Python implementation. Fixed in r70184. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4862 ___

[issue5418] urllib.response.addinfourl does not support __exit__

2009-03-04 Thread Mitchell Model
New submission from Mitchell Model m...@acm.org: response = urllib.request.open(someURL) page = response.read() close() be called on response after the read(), right? Experimentation shows that I can repeatedly read from response until I close it, getting back empty bytes objects.

[issue3618] possible deadlock in python IO implementation

2009-03-04 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Ooops, I wanted to write: Why not *closing* this issue?, sorry. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3618 ___

[issue4862] utf-16 BOM is not skipped after seek(0)

2009-03-04 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: @benjamin: ok, great. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4862 ___ ___

[issue3618] possible deadlock in python IO implementation

2009-03-04 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I suppose we might as well. If anyone wants to fix the Python implementation later, they can go ahead and reopen this. -- resolution: - wont fix status: open - closed ___ Python tracker

[issue4848] MacPython build script uses Carbon and MacOS modules slated for removal

2009-03-04 Thread Bill Janssen
Bill Janssen bill.jans...@gmail.com added the comment: Looks good. The contrast is stark. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4848 ___ ___

[issue5419] urllib.request.open(someURL).read() returns a bytes object so writing it requires binary mode

2009-03-04 Thread Mitchell Model
New submission from Mitchell Model m...@acm.org: There needs to be something somewhere in the documentation that makes the simple point that data coming in from the web is bytes not strings, which is a big change from Python 2, and that it needs to be manipulated as such, including writing in

[issue5420] Queue deprecation warning patch

2009-03-04 Thread Tennessee Leeuwenburg
New submission from Tennessee Leeuwenburg tleeuwenb...@gmail.com: A very tiny patch which places a DeprecationWarning inside Queue.empty and Queue.full -- components: Library (Lib) files: queue_patch.txt messages: 83180 nosy: tleeuwenb...@gmail.com severity: normal status: open title:

[issue5420] Queue deprecation warning patch

2009-03-04 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg tleeuwenb...@gmail.com added the comment: Add comment to NEWS as documented... Added file: http://bugs.python.org/file13246/NEWS_patch.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5420

[issue5420] Queue deprecation warning patch

2009-03-04 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Can you make a single patch for Lib/queue.py and Misc/NEWS and remove any uses of emtpy/full in the standard library including multiprocessing. Also, for deprecations, it's always nice to have the message suggest an

[issue5420] Queue deprecation warning patch

2009-03-04 Thread Jean-Paul Calderone
Jean-Paul Calderone exar...@divmod.com added the comment: Unit tests are a great thing as well. Also, the deprecation warnings you've added are the really annoying kind. They refer to users to the source of the deprecated methods themselves! A vastly preferable use of the warnings system is

[issue5381] json needs object_pairs_hook

2009-03-04 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- title: json need object_pairs_hook - json needs object_pairs_hook ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5381 ___

[issue5420] Queue deprecation warning patch

2009-03-04 Thread David W. Lambert
Changes by David W. Lambert lamber...@corning.com: -- nosy: +LambertDW ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5420 ___ ___ Python-bugs-list