anatoly techtonik added the comment:
How about:
Error running metaclass bases
(attempt to inherit from object that is not a class)
--
___
Python tracker
<http://bugs.python.org/issue6
Changes by anatoly techtonik :
--
status: closed -> pending
___
Python tracker
<http://bugs.python.org/issue6829>
___
___
Python-bugs-list mailing list
Un
anatoly techtonik added the comment:
Ok, but why not to change the message to less cryptic
"Impossible to inherit class from function(), string or int"?
--
___
Python tracker
<http://bugs.python.
New submission from anatoly techtonik :
It is an error to try to inherit from function and the error message in
this case is:
{{{
Traceback (most recent call last):
File "", line 1, in
File "m:\p\pb.py", line 4, in
class PostgreSQLConnection(DatabaseConnection):
T
New submission from anatoly techtonik :
I found that if Python installed only for current user on Windows XP
Home Edition SP3 Python fails to run from Start -> Run dialog or using
ShellExecute() call. It is because it creates "App Paths" key in
HKEY_CURRENT_USER\Software\Micr
anatoly techtonik added the comment:
I can confirm this but, but os.popen() is deprecated in 2.6 hence there
is no point in fixing generated exception even though in a language that
claims to be cross-platform exceptions should be unified.
I would add os.popen to keywords list for future
anatoly techtonik added the comment:
On the second try it was much easier.
For py3k I saw a post about removing defpath and some of its friends,
with which I partially agree.
http://groups.google.com/group/comp.lang.python/browse_thread/thread/e8072370bfbef398/a0215b5820f76c0e
Changes by anatoly techtonik :
--
keywords: +patch
Added file: http://bugs.python.org/file13651/issue5717.py25.patch
___
Python tracker
<http://bugs.python.org/issue5
anatoly techtonik added the comment:
Windows has a plenty of executable extensions that can be dynamically
added. You may want to look at patch at issue 2200
http://bugs.python.org/file11359/spawn.patch.txt for workaround.
--
nosy: +techtonik
New submission from anatoly techtonik :
>>> import os
>>> os.defpath
'.;C:\\bin'
>>> os.path.defpath
'.;C:\\bin'
>>>
These are invalid paths on windows.
--
components: Library (Lib)
messages: 85708
nosy: techtonik
severity: nor
anatoly techtonik added the comment:
I've updated the script to parse unlimited number of parameters on NT,
to return %errorcode% and to fallback to default Python compiler.
It is based on similar workarounds we've made for SCons in
http://scons.tigris.org/source/browse/scons/branche
Changes by anatoly techtonik :
Added file: http://bugs.python.org/file13577/executable.scripts.on.nt.patch
___
Python tracker
<http://bugs.python.org/issue4015>
___
___
anatoly techtonik added the comment:
The solution with launcher is complex (if not complicated). It will make
scripts unportable - consider using a removable disk with your Python
and application script. The interpreter was not installed on target
system, but with .bat file application is still
anatoly techtonik added the comment:
The point is not in generating .bat files. The point is to make scripts
executable with exactly the same version of Python the script was
installed. It works well on POSIX, but doesn't work on windows at all.
There is no other way to fix this on wi
anatoly techtonik added the comment:
Tool is ready. diff/patch lib is not. http://code.google.com/p/python-patch/
--
___
Python tracker
<http://bugs.python.org/issue2
anatoly techtonik added the comment:
Another thing for setupscript is to state that long_description is
actually ReStructured text.
--
title: examples for dependency keywords in setup.py -> setupscript examples for
dependency keywords in setup
New submission from anatoly techtonik :
When documentation grows too large it is nice to have clear examples
that stand out of text. Explanation is important to get the idea, but
for a reference cookbook examples work better.
Here is a patch to clarify the usage of *requires* and *provides
anatoly techtonik added the comment:
Thanks for pointing me to the list of possible network errors. This
information is invaluable. Too bad it is easily lost among other
details. I've seen similar errors in other modules that use socket
module and it's no wonder now why people can
anatoly techtonik added the comment:
Isn't it a job of crossplatform programming language to abstract from
low-level platform details?
The scope of this bug is not about handling all possible Winsock errors.
It is about proper handling the sole timeout error from the list
http://www.wi
anatoly techtonik added the comment:
After rewriting my reply several times I've noticed my mistake, but it
took more time to understand the problem than could be expected for a
language that we all would like to see as easy and intuitive as
possible. That why I still would like to see
anatoly techtonik added the comment:
Because documentation doesn't say that Python should timeout after 20
seconds after entering blocking mode if socket to remote host can not be
opened.
___
Python tracker
<http://bugs.python.org/i
New submission from anatoly techtonik :
The code below exits with timeout after about 20 secs on Windows +
Python 2.5.4
import socket
# address of server routable, but offline
server = "192.168.1.2"
s = socket.socket()
s.setblocking(1)
s.connect((server, 139))
s.close()
The
anatoly techtonik added the comment:
I attach for Python 2.5 as well. People will use gzip module for a long
time to build packages and patch will help them to get correct archives.
Added file: http://bugs.python.org/file12490/python25.issue4750.diff
anatoly techtonik added the comment:
I attach patch for Python 2.6 gzip
I clarified the meaning of self.name to be the basename corresponding to
FNAME field in GZIP file header.
There is a trace of deprecated gzip.filename API - I haven't found any
references to it in documentation,
anatoly techtonik added the comment:
For MSYS gzip added a bugreport here:
https://sourceforge.net/tracker2/index.php?func=detail&aid=2474481&group_id=2435&atid=102435
___
Python tracker
<http://bugs.pytho
anatoly techtonik added the comment:
Roumen, could you be more specific about what are you trying to say with
this 200kB piece of code? Was it the intention to post a link to man or
another piece of spec?
___
Python tracker
<http://bugs.python.org/issue1
anatoly techtonik added the comment:
7zip can decompress both, but it still creates "dist/" directory when
decompressing file that is made with Python.
I've noticed this bug with extra path component is actual with "tar" +
"gzip" under windows. If they are e
anatoly techtonik added the comment:
What are the systems where does this original tar still exist as a
default utility?
If there is no tarfile module on this systems and "tar" version is so
old then you need a more modern system to wrap your releases or more
modern "tar"
anatoly techtonik added the comment:
Oh, my mistake - the bug with extra dir component in archive is in issue4750
Second shell call to compression program is removed only for the case
when tarfile or any of required compression modules are not available
anatoly techtonik added the comment:
I attach an improved patch1886.use.tarfile.module.diff that fixes all
bugs addressed in this issue.
It also removes second call to compression program leaving that
privilege to tar.
> I notice that the archive generated by tarfile module looks
> dif
anatoly techtonik added the comment:
Please reopen this bug. issue#1886 is different it take a long time
until it is committed.
I attach patch from Giampaolo here.
--
keywords: +patch
nosy: +techtonik
versions: +Python 2.5, Python 2.7
Added file: http://bugs.python.org/file12455
Changes by anatoly techtonik :
--
keywords: +patch
Added file: http://bugs.python.org/file12452/tarfile.directory.fix.diff
___
Python tracker
<http://bugs.python.org/issue4
New submission from anatoly techtonik :
When tarfile is directed to create tar.gz compressed archive file in a
path different from current, it saves full path information in .gz
header where only filename is required.
This causes problems with decompression utilities, such as 7zip. The
New submission from anatoly techtonik :
optparse documentation misses reference for at least these three methods:
print_help()
print_usage()
print_version()
--
assignee: georg.brandl
components: Documentation
messages: 77622
nosy: georg.brandl, techtonik
severity: normal
status: open
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
The idea with "-x" option and renaming .py to .bat is nice, but if I
want to execute the script with another version of Python or manually
without -x option I may become confused.
Would it be better to provide separat
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
With Python 2.6 the support for Windows 95, 98, ME and NT4 has been
dropped. But it is not only that - I would advise closing as "won't fix"
for same reason as listed in aforementioned bug #216289 comment
http://bu
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
Duplicate of #706263
--
nosy: +techtonik
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
flomana: Have you tried installing Python in c:\python26\ ? If that
didn't help then it is better start a new issue.
--
nosy: +techtonik
___
Python tracker <[EMAIL PRO
New submission from anatoly techtonik <[EMAIL PROTECTED]>:
Distutils SIG pages contain largely outdated information.
http://www.python.org/community/sigs/current/distutils-sig/
It would be good to replace CVS instructions with SVN, add wiki link,
mark download page as "archived v
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
The same issue in "Roundup Tracker" bugtracker
http://sourceforge.net/tracker2/index.php?func=detail&aid=1163804&group_id=31577&atid=402788
___
Python tracker <[EMAIL PROT
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
1. Associations still do not show Scripts/ among executable files in Run
dialog.
2. Association works only for one version of properly installed Python.
It won't work if Python is installed for different user, if extensi
New submission from anatoly techtonik <[EMAIL PROTECTED]>:
Distutils contains code to make scripts executable on posix platform.
Here is a patch to for the same feature for nt. It adds .bat file for
every script that doesn't have executable launcher.
--
components: Dist
Changes by anatoly techtonik <[EMAIL PROTECTED]>:
Added file: http://bugs.python.org/file11359/spawn.patch.txt
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Changes by anatoly techtonik <[EMAIL PROTECTED]>:
Removed file: http://bugs.python.org/file11358/spawn.patch.txt
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
I've run into the same problem.
Attached patch (updated with Lev code) is almost the same except that it
doesn't attempt to return executable files without executable extension.
It also accounts that os2 executables ca
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
This '\r' makes things worse. I am also on Windows and didn't thought
that "rb" processes '\r\n' linefeeds as a side-effect of '\n' being the
last character. Thanks.
newline=''
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
Thanks for the hints. It appeared that "universal text mode" is not for
crossplatform but for platform-specific programming. =)
So I gave it up and ended with my own 'rb' newlines counter and 'wb'
wr
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
If lineends are mixed I would like to leave them as is.
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
That's fine with me. I just need a 'rbU' mode to know in which format
should I write the output file if I want to preserve proper line endings
regardless of platform.
As for Python 2.6 note - I would replace "m
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
> This behavior is inherited from the C-level fopen() and therefore
> "normal text mode" is whatever that defines.
> Is this really nowhere documented?
Relation to fopen() function may be documented, but there
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
Any links to alpha code?
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3341>
___
_
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
That's weird and the worst is that it is not documented. Manual says:
"If Python is built without universal newline support a mode with 'U' is
the same as normal text mode."
but no information about what
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
If you open file with 'r' - all line endings will be mapped precisely to
'\n' anyways, so it has nothing to do with 'U' mode.
___
Python tracker <[EMAIL PROTEC
New submission from anatoly techtonik <[EMAIL PROTECTED]>:
'rU' universal newline support is useless, because read lines end with
'\n' regardless of actual line end in the source file. Applications that
care about line ends still open file in binary mode and gather th
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
Thanks.
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3349>
___
___
Python-bugs
New submission from anatoly techtonik <[EMAIL PROTECTED]>:
If you'll try to search 'patch' word in this bugtracker, you will likely
to get the error saved in attached file.
--
files: bugs.python.org.txt
messages: 69588
nosy: techtonik
severity: normal
status: o
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
Filed a proposal for online documentation editing tool.
http://bugs.python.org/issue3341
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
New submission from anatoly techtonik <[EMAIL PROTECTED]>:
It would be convenient to have "Suggest a change" link in the bottom of
documentation pages to allow people propose fixes and additions.
This can be a simple feedback form with an optional "patch" field that
New submission from anatoly techtonik <[EMAIL PROTECTED]>:
optparse API documentation is incomplete. It doesn't mention at least
some useful functions such as print_usage(), get_usage(),
get/print_version() present in optparse.py docstrings.
--
assignee: georg.brandl
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
I will be second to emphasize the importance of using XML-RPC through a
proxy. bzr behind a proxy can't be used with launchpad because of this bug.
--
nosy: +techtonik
___
Pyt
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
* use newer 2.0 public interface of httplib for connection handling
Attached patch is for trunk/
Tested for Python 2.5
issue1767370 is a separate issue that can be fixed later
--
keywords: +patch
nosy: +techtonik
ve
Changes by anatoly techtonik <[EMAIL PROTECTED]>:
--
nosy: +techtonik
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1005895>
___
_
New submission from anatoly techtonik <[EMAIL PROTECTED]>:
Current BaseCookie and SimpleCookie may crash web-application when
running on the same domain with other scripts. Other scripts may create
invalid cookies that lead to Cookie.CookieError: Illegal key value in
Python.
This c
Changes by anatoly techtonik <[EMAIL PROTECTED]>:
Added file: http://bugs.python.org/file10340/curses_win_compile.bat
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
New submission from anatoly techtonik <[EMAIL PROTECTED]>:
Make curses available on Windows by using PDCurses library. Alternative
patch for issue 1005895 using current trunk.
Attached .bat file is used to compile it under MinGW, but I'd be glad to
know how to integrate the patch
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
I mean that it is rather common practice for internet projects that
every member of community has one one login that works for all services
this community uses. This is called "single sign-on" or SSO
http://en.wi
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
What kind of registered users are available? I thought this site uses
single sign on system.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
New submission from anatoly techtonik <[EMAIL PROTECTED]>:
I haven't found any traces of requests to add OpenID URLs for
authentication into account details for registered users, so I take the
privilege to be the first one to say that it will be handy.
--
components: No
anatoly techtonik <[EMAIL PROTECTED]> added the comment:
How about adding optional "replace=True" attribute to the write method?
So that people who are not aware enough to adjust the code and handle
new warning could still get valid archives.
__
New submission from anatoly techtonik <[EMAIL PROTECTED]>:
ZipFile allows to add the same file to archive twice. I bet it is not
intended behavior for many users who would like to either replace file
inside of archive or get runtime warning about duplicate file to be
added
New submission from anatoly techtonik <[EMAIL PROTECTED]>:
It would be convenient to use links in the bottom of documentation pages
for bugreporting that directly connect to bugtracker search form. I.e.
"Report bug on this page" and "Report bug in this module".
---
New submission from anatoly techtonik <[EMAIL PROTECTED]>:
Python debugging under console is a PITA, because it has a bad habit to
fail with UnicodeEncodeError in case of unknown encoding in output. It
quickly turns into a headache when inspecting methods like in the
following example r
New submission from anatoly techtonik:
Patch documents that empty dictionary is used to make ProxyHandler()
with disabled proxy autodetection. Empty constructor doesn't give the
desired effect.
P.S. An ideal approach would be, of course, to change the API. Even
though it can be ch
New submission from anatoly techtonik:
difflib alone and bundled Tools\Scripts\diff.py utility are both very
useful, esp. on windows platforms where standard unix diffutils are
absent. However, python difflib still doesn't have a patch counterpart
to apply at least unified diff f
anatoly techtonik added the comment:
It appears to be well known issue with MSI installer which is unable to
handle subst'ed drives correctly.
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.or
anatoly techtonik added the comment:
The similar issue is just reported -
http://img106.imageshack.us/img106/6892/pythonjo4.png
--
nosy: +techtonik
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/iss
New submission from anatoly techtonik:
The purpose is to encapsulate all URL handling functions in one module.
At the moment there are three modules that dissect URLs for various bits
of information. These are urlparse - to split url into components,
urllib - to decode splitted data and cgi - to
901 - 977 of 977 matches
Mail list logo