[issue40854] Allow overriding sys.platlibdir: add PYTHONPLATLIBDIR env var

2020-06-11 Thread Sandro Mani
Change by Sandro Mani : -- pull_requests: +19995 pull_request: https://github.com/python/cpython/pull/20799 ___ Python tracker <https://bugs.python.org/issue40

[issue40947] Replace PLATLIBDIR macro with config->platlibdir

2020-06-11 Thread Sandro Mani
Change by Sandro Mani : -- keywords: +patch pull_requests: +19994 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20799 ___ Python tracker <https://bugs.python.org/issu

[issue40947] Replace PLATLIBDIR macro with config->platlibdir

2020-06-11 Thread Sandro Mani
New submission from Sandro Mani : Followup of bpo-40854, there is one remaining usage of PLATLIBDIR which should be replaced by config->platlibdir. -- components: Interpreter Core messages: 371260 nosy: smani priority: normal severity: normal status: open title: Replace PLATLIB

[issue40854] [Patch] Allow overriding sys.platlibdir

2020-06-08 Thread Sandro Mani
Sandro Mani added the comment: Many thanks! - I'll ask downstream to carry the patch for the 3.9 cycle, so I'm ok with closing. -- ___ Python tracker <https://bugs.python.org/issue40

[issue40854] [Patch] Allow overriding sys.platlibdir

2020-06-05 Thread Sandro Mani
Sandro Mani added the comment: I'm on Fedora. My use case is for the mingw-python package I maintain there, see [1] for the full details. I believe (though I haven't investigated) that the previous downstream lib64 patch behaved slightly differently, or that something else between python

[issue40854] [Patch] Allow overriding sys.platlibdir

2020-06-03 Thread Sandro Mani
New submission from Sandro Mani : You can currently point the python interpreter to a different install say via export PYTHONHOME= export PYTHONPATH=/lib/python3.9 python3 With the newly added platlibdir [1], if python was configured with platlibdir=lib64, this will break because

[issue40846] Misleading line in documentation

2020-06-03 Thread J Arun Mani
J Arun Mani added the comment: Hi. Thanks for your follow-up. I created a PR, since I signed CLA today, the PR has some labels indicating it. :p Thanks -- nosy: -python-dev ___ Python tracker <https://bugs.python.org/issue40

[issue40846] Misleading line in documentation

2020-06-02 Thread J Arun Mani
New submission from J Arun Mani : Hi. In docs : https://docs.python.org/3/faq/programming.html#faq-argument-vs-parameter it says "Parameters define what types of arguments a function can accept." This is not true. Python's functions do not impose any type checking or raise

[issue40777] _datetimemodule.c:3328:16: error: initializer element is not constant

2020-05-26 Thread Sandro Mani
New submission from Sandro Mani : Hitting this when attempting to cross-compile python-3.9 to mingw: /builddir/build/BUILD/Python-3.9.0b1/Modules/_datetimemodule.c:3328:16: error: initializer element is not constant 3328 | .tp_base = _Type, Indeed PyTuple_Type does not have static

[issue40393] Auto-response from Python Help points to Python 2 reference

2020-04-26 Thread J Arun Mani
New submission from J Arun Mani : In the auto-response sent by python-help-boun...@python.org, at some intermediate paragraphs: ... The most comprehensive overview of python.org help resources is at http://www.python.org/about/help/ The Python FAQ is available at http

My New Project : Aduct

2020-04-12 Thread J.Arun Mani via Python-list
ng of open source, gives me a satisfaction. Thank you for reading till here, J Arun Mani :) -- https://mail.python.org/mailman/listinfo/python-list

[issue38700] typo in unittest mock docs

2019-11-05 Thread Arunkumar Mani
Arunkumar Mani added the comment: my bad. i misread the docs. you are right -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue38700] typo in unittest mock docs

2019-11-05 Thread Arunkumar Mani
New submission from Arunkumar Mani : at various places in the docs for unittest mock[https://docs.python.org/3.7/library/unittest.mock.html#magic-mock], assert is wriiten as assret -- assignee: docs@python components: Documentation messages: 356039 nosy: Arunkumar Mani, docs@python

[issue37106] python re.escape doesn't escape some special characters.

2019-05-31 Thread MANI M
MANI M added the comment: sorry my bad query = "insert into table(column) values('{}')".format(escape("Hello'`~world")) -- ___ Python tracker <https://bug

[issue37106] python re.escape doesn't escape some special characters.

2019-05-31 Thread MANI M
MANI M added the comment: I've scripts which insert data into MySQL database. The values may contain symbols. Hence in order to escape that I use re.escape(). @erik.smith isn't re.escape() supposed to escape all the symbols. If not why is this introduced in 3.7 whereas previous versions

[issue37106] python re.escape doesn't escape some special characters.

2019-05-30 Thread MANI M
MANI M added the comment: Thanks a lot for the info. May I know in what version of python the patches are applied? Because still 3.7.3 seems to have the issue. -- ___ Python tracker <https://bugs.python.org/issue37

[issue37106] python re.escape doesn't escape some special characters.

2019-05-30 Thread MANI M
New submission from MANI M : Recently I figured out an issue in python3 re which doesn't escape some special characters. Not sure whether this bug has been reported already. Have attached screenshots for your reference. Steps to reproduce: 1. wget https://www.python.org/ftp/python/3.7.3

[issue16754] Incorrect shared library extension on linux

2013-01-28 Thread Sandro Mani
Sandro Mani added the comment: So, from what I can see, historically the SO extension was taken from sysconfig.py, see [1] lines 24 and 60. Then, the CCompiler class got overhauled, and the value was hardcoded to .so, see [2], but the compiler.shared_lib_extension = SO statement remained

[issue16754] Incorrect shared library extension on linux

2012-12-23 Thread Sandro Mani
New submission from Sandro Mani: I'm using Python3 as available in Fedora rawhide (python3-3.3.0-2.fc19.x86_64). Attempting to build a project using python3/distutils, I noticed that find_library_file would not find any library at all. Some investigation showed that this was due to the fact

[issue16248] Security bug in tkinter allows for untrusted, arbitrary code execution.

2012-10-17 Thread mani and ram
mani and ram added the comment: On 17 October 2012 23:46, Guilherme Polo rep...@bugs.python.org wrote: Guilherme Polo added the comment: It is a well known fact that the readprofile function uses exec, and it has been like that for more than 18 years. The parameters baseName and className

[issue16090] but is needed somewhere in http://www.python.org/dev/peps/pep-3138/

2012-09-30 Thread mani and ram
mani and ram added the comment: When I find it I will open it. On 30 September 2012 12:26, Georg Brandl rep...@bugs.python.org wrote: Georg Brandl added the comment: I've gone through the PEP; I've found a few typos and fixed them, but no missing but. Sorry, but without a more specific

[issue13660] maniandram maniandram wants to chat

2011-12-23 Thread mani and ram
New submission from mani and ram maniandra...@gmail.com: --- maniandram maniandram wants to stay in touch better using some of Google's great new products. If you already have Gmail or Google Talk, visit: http

[issue13661] maniandram maniandram wants to chat

2011-12-23 Thread mani and ram
New submission from mani and ram maniandra...@gmail.com: --- maniandram maniandram wants to stay in touch better using some of Google's great new products. If you already have Gmail or Google Talk, visit: http

Arisingsoft provides the Norton antivirus all in one security suite.

2011-01-03 Thread mani ma
hai, Uses : The package includes a personal firewall, phishing protection and the ability to detect and remove malware. Norton 360 is compatible with 32-bit editions of Windows XP and 32-bit or 64-bit editions of Windows Vista.Windows 7 support has been added. Reviews cited Norton 360's low

logging.fileConfig limitations?

2009-06-17 Thread Mani Ghasemlou
Data\MyApp\MyApp.txt (not MyApp.log !). I've done a little debugging and can't immediately figure out why this is happening. Any help would be greatly appreciated! Regards, Mani -- http://mail.python.org/mailman/listinfo/python-list

urllib2, proxies, and pac files on OS X

2009-03-30 Thread Mani Ghasemlou
. import urllib2 urllib2.ProxyHandler().proxies {} Is there any way to obtain (and parse using something like pacparser) the PAC file via urllib2 (or some other standard python library), or is this something I need to tackle using Cocoa (in my case PyObjC)? Thanks a lot! Mani -- http

please solve

2008-10-11 Thread shweta mani
hi folks, i have been assigned a project on Python. i need to execute a remote shell script file from a windows machine through SSH twisted or paramiko. if it is a normal file then directly with the command sh filename.sh it is getting executed. self.conn.sendRequest(self, 'exec', common.NS(sh

Embedding processing module in c (winxp sp2)

2008-06-18 Thread mani
); Py_Finalize(); } Best Regards, Mani -- http://mail.python.org/mailman/listinfo/python-list

Python not finding modules

2008-02-13 Thread Mani Chandra
Hey! I installed a few python modules through the freebsd ports, but when I try to import them in the interpreter it says module xxx not found. This seems to happen for some modules and not for the others. ex:- I installed psyco and parallel python which seem to be found but then scipy, PIL

Re: Python not finding modules

2008-02-13 Thread Mani Chandra
Hey, Thanks for replying. But what about the module whose path I included manually. That didn't work too!Is it like packages that are made for python2.4 do not work for 2.5? Also are folders recursively included? Thanks Mani chandra --- On Wed, 13/2/08, Guilherme Polo [EMAIL PROTECTED

Fw: error in importing scipy

2008-02-13 Thread Mani Chandra
--- On Wed, 13/2/08, Mani Chandra [EMAIL PROTECTED] wrote: From: Mani Chandra [EMAIL PROTECTED] Subject: error in importing scipy To: [EMAIL PROTECTED] Date: Wednesday, 13 February, 2008, 9:30 PM Hi I get the following error while importing scipy. /usr/local/lib/python2.4/site-packages

Re: Why not a Python compiler?

2008-02-10 Thread mani
to develop a fast python program, you wont regret it. http://ondrej.certik.cz/development/ Mani -- http://mail.python.org/mailman/listinfo/python-list

Embeding python with mingw on win32 and python 2.4.4

2008-01-28 Thread mani
with command [2] in msys shell I get the results [3]. this subject was discussed a few times over these years and I tried everything in the posts and forums that I found and google could translate with no success. I realy need your suggestion! Regards, Mani [1] Sample code: #includePython.h int

Embeding python with mingw on win32 and python 2.4.4

2008-01-28 Thread mani
msys prompt with command [2] in msys shell I get the results [3]. this subject was discussed a few times over these years and I tried everything in the posts and forums that I found and google could translate with no success. I realy need your suggestion! Regards, Mani [1] Sample code

Re: Embeding python with mingw on win32 and python 2.4.4

2008-01-28 Thread mani
It's me answering my self. I found the solution in http://groups.google.com/group/comp.lang.python/browse_thread/thread/4d80df2e53dfa127/de87533c05d8021c?lnk=gstq=Py_Initialize+undefined+reference#de87533c05d8021c It was the problem of gcc arguments order. --