Anand B Pillai added the comment:
Okay. Verified as working. Thank you!
--
___
Python tracker
<http://bugs.python.org/issue3488>
___
___
Python-bugs-list mailin
New submission from Anand B Pillai <[EMAIL PROTECTED]>:
Python has great in-built support for all sorts of text compression
including bzip, gzip, tarfile and other general purpose modules like
zlib etc.
Of these, I have a gripe with gzip - it does not provide a simple
way of compr
Anand B Pillai <[EMAIL PROTECTED]> added the comment:
Uploading a file containing two functions which can be used to provide
compress/uncompress on gzip.
This is not a patch to gzip.py, but a stand-alone file. It this looks
fine, I will make a patch.
Added file: http://bugs.pyth
New submission from Anand B Pillai <[EMAIL PROTECTED]>:
>>> import zlib
>>> s='This is a string'
>>> sc=zlib.compress(s)
>>> sc
bytearray(b'x\x9c\x0b\xc9\xc8,V\x00\xa2D\x85\xe2\x92\xa2\xcc\xbct\x00/\xc2\x05\xcd')
>>> zlib.de
Anand B Pillai <[EMAIL PROTECTED]> added the comment:
Thanks. The file I uploaded was not an actual patch but just how the
functions would appear in the gzip module, to illustrate the code.
I can make an actual patch to gzip.py with docstrings, unit-tests and
taking care of your other co
Anand B Pillai <[EMAIL PROTECTED]> added the comment:
I have uploaded the actual patch file which can be applied against the
gzip.py module. I did not modify the _test() function since it is
written for testing file compression. I can modify test_gzip.py if this
patch is ac
Anand B Pillai <[EMAIL PROTECTED]> added the comment:
Hi, I have a patch ready for this to be applied to zlibmodule.c. The
patch is attached. I have tested it and it is working fine.
--
keywords: +patch
Added file: http://bugs.python.org/file11047/zlibmodule
Anand B Pillai <[EMAIL PROTECTED]> added the comment:
Uploading svn diff for zlibmodule.c. Btw, how do I add unit tests for a
fix ? You want me to create a simple test file and upload it here, or is
there a standard procedure for this ? Please advise.
Added file: http://bugs.pyth
Anand B Pillai <[EMAIL PROTECTED]> added the comment:
Uploading the svn diff.
Added file: http://bugs.python.org/file11050/gzip_svn_diff.patch
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Anand B Pillai <[EMAIL PROTECTED]> added the comment:
Ok. I added two tests for checking the type of the returned object for
zlib.compress and zlib.decompress in test_zlib.py in the py3k branch.
Btw, my code uses assertEqual(type(...), bytes). Is this the proper way
of type checking i
Anand B Pillai <[EMAIL PROTECTED]> added the comment:
Added test case in test_gzip.py. Attaching svn diff of the same.
Added file: http://bugs.python.org/file11052/test_gzip_svn_diff.patch
___
Python tracker <[EMAIL PROTECTED]>
<http://
Anand B Pillai <[EMAIL PROTECTED]> added the comment:
Any updates ? The py3k list is also very silent since the week-end...Thanks!
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Anand B Pillai <[EMAIL PROTECTED]> added the comment:
Thanks. Will this make into beta3 ?
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3492>
___
Anand B Pillai <[EMAIL PROTECTED]> added the comment:
Does py3k list/barry have this bug in their radar for rc2 ?
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Anand B Pillai <[EMAIL PROTECTED]> added the comment:
On Thu, Sep 4, 2008 at 4:59 PM, Amaury Forgeot d'Arc
<[EMAIL PROTECTED]> wrote:
>
> Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:
>
> Two remarks:
> 1. Some functions in Modules/zipimp
Anand B Pillai <[EMAIL PROTECTED]> added the comment:
Hi Gregory,
Let me know if I can help out some way in testing the #3797
patches on various platforms.
Regards,
--Anand
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Anand B Pillai added the comment:
Can someone update this issue ? Is the 2nd patch tested... ?
--
___
Python tracker
<http://bugs.python.org/issue7150>
___
___
Changes by Anand B Pillai :
--
nosy: +pythonhacker
___
Python tracker
<http://bugs.python.org/issue8319>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Anand B Pillai <[EMAIL PROTECTED]>:
Unpickling of range objects is throwing an exception in Python 3.0
--
components: Interpreter Core, Library (Lib)
files: bugdemo.py
messages: 65157
nosy: pythonhacker
severity: normal
status: open
title: Unpickling of range o
Anand B Pillai added the comment:
Can we include this for the next release ?
--
___
Python tracker
<http://bugs.python.org/issue3488>
___
___
Python-bugs-list m
Anand B Pillai added the comment:
The issue is present in Python 3.0 and 2.5 as well.
Python 2.5.1 (r251:54863, Jul 17 2008, 13:21:31)
[GCC 4.3.1 20080708 (Red Hat 4.3.1-4)] on linux2
Type "help", "copyright", "credits" or "license" for more
New submission from Anand B Pillai :
>>> import zlib
>>> help(zlib.decompressobj)
Help on built-in function decompressobj in module zlib:
decompressobj(...)
decompressobj([wbits]) -- Return a decompressor object.
Optional arg wbits is the window buffer size.
I expe
Anand B Pillai added the comment:
The problem seems to be in the "normalize_date" function in
datetimemodule.c. It is checking for a valid year range, but not
checking for a valid month or day range.
I have a patch which fixes this problem. It checks for month range
(1<=m<=12)
Anand B Pillai added the comment:
Ok, I will add this.
--
___
Python tracker
<http://bugs.python.org/issue3488>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Anand B Pillai :
Removed file: http://bugs.python.org/file11035/gzip_patch.py
___
Python tracker
<http://bugs.python.org/issue3488>
___
___
Python-bugs-list m
Changes by Anand B Pillai :
Removed file: http://bugs.python.org/file11044/gzip.patch
___
Python tracker
<http://bugs.python.org/issue3488>
___
___
Python-bugs-list mailin
Changes by Anand B Pillai :
Removed file: http://bugs.python.org/file11050/gzip_svn_diff.patch
___
Python tracker
<http://bugs.python.org/issue3488>
___
___
Python-bug
Anand B Pillai added the comment:
Uploading fresh gzip.py SVN diff with a minor change, i.e accepting a
regular string as argument, aka zlib.compress.
--
Added file: http://bugs.python.org/file15282/gzip.py.svndiff
___
Python tracker
<h
Anand B Pillai added the comment:
Uploading rst documentation svn diff for module.
--
Added file: http://bugs.python.org/file15283/gzip.rst.svndiff
___
Python tracker
<http://bugs.python.org/issue3
Anand B Pillai added the comment:
Ok, so you think a documentation update is enough ? Thanks.
--
___
Python tracker
<http://bugs.python.org/issue7191>
___
___
Changes by Anand B Pillai :
--
nosy: +pythonhacker
___
Python tracker
<http://bugs.python.org/issue15443>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Anand B Pillai :
--
nosy: +pythonhacker
___
Python tracker
<http://bugs.python.org/issue21574>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Anand B Pillai:
multiprocessing.Manager seems to have an inconsistency in
behaviour/documentation or both.
The behaviour inconsistency is documented in the attached test script which
should run for both Python2 and Python3.
Briefly, multiprocessing.managers.BaseManager
Anand B Pillai added the comment:
Is your patch uploaded anywhere ?
Anyway, before thinking whether this should be a patch or doc fix, one needs
multiprocessing module author to possibly comment on the right behaviour
expected here.
--
___
Python
Changes by Anand B Pillai :
--
title: Fix documentation for multiprocessing.Manager -> Fix inconsistencies in
behaviour and document it correctly for multiprocessing.Manager facade
___
Python tracker
<http://bugs.python.org/issu
New submission from Anand B Pillai:
On Python 3.5.0a1+ built from source,
>>> import sysconfig
>>> sysconfig.is_python_build()
False
>>> sysconfig.is_python_build(True)
False
>>> sysconfig._PROJECT_BASE
'/opt/bin'
>>> import sys
>>
Changes by Anand B Pillai :
Added file: http://bugs.python.org/file38649/sysconfig_test.py
___
Python tracker
<http://bugs.python.org/issue23746>
___
___
Python-bug
New submission from Anand B Pillai:
>>> import platform
>>> platform.system()
'Linux'
>>> platform.win32_ver()
('', '', '', '')
Why is this function even exposed on Linux ? It should be conditionally exposed
only on
Anand B Pillai added the comment:
Similarly for mac_ver, java_ver etc.
>>> platform.mac_ver()
('', ('', '', ''), '')
>>> platform.java_ver()
('', '', ('', '', ''), ('
Anand B Pillai added the comment:
Thanks. From current documentation it isn't clear. Agree to make this a doc bug
then.
It should also be made clear this would work only for the executable built in
the source directory. As in,
(Running from the source folder using source Python execu
Anand B Pillai added the comment:
On second thoughts, why have such a function if it works correctly only when
executed from source Cpython folder using source CPython executable and not
otherwise ?
Cuz if I am calling it like that I already KNOW that I am in such an
environment.
Possibly
Anand B Pillai added the comment:
> Lib/test/test_asdl_parser.py:12:if not sysconfig.is_python_build():
As I guessed - it is used internally by unit tests and possibly has no other
significan audience.
It is best to document this clea
New submission from Anand B Pillai:
>> import platform
>>> print 'Actual =>',platform.uname()
Actual => ('Linux', 'toshiba-laptop', '3.13.0-24-generic', '#47-Ubuntu SMP Fri
May 2 23:30:00 UTC 2014', 'x86_64',
Anand B Pillai added the comment:
I am changing the type to security as I dont think this is a behaviour issue.
--
type: behavior -> security
___
Python tracker
<http://bugs.python.org/issu
Anand B Pillai added the comment:
Hmmm... dear sir - what prevents you from adding an __all__ to the module with
these cache variables excluded ?
--
___
Python tracker
<http://bugs.python.org/issue23
Anand B Pillai added the comment:
Closing is an easy fix, bet on my word this would appear as a different bug,
thanks for your quickie fix!
--
___
Python tracker
<http://bugs.python.org/issue23
Changes by Anand B Pillai :
--
assignee: -> docs@python
components: +Documentation
___
Python tracker
<http://bugs.python.org/issue23746>
___
___
Python-
Changes by Anand B Pillai :
--
nosy: +docs@python
___
Python tracker
<http://bugs.python.org/issue23746>
___
___
Python-bugs-list mailing list
Unsubscribe:
Anand B Pillai added the comment:
@sbt - Any comments on this ?
--
___
Python tracker
<http://bugs.python.org/issue23698>
___
___
Python-bugs-list mailin
49 matches
Mail list logo