anatoly techtonik added the comment:
On Fri, Jun 4, 2010 at 11:09 PM, Brett Cannon wrote:
> Unless other people step forward to debate this we probably are not going to
> reach consensus without going to python-dev to see what others think.
I would really like to see:
1. a good definit
anatoly techtonik added the comment:
On Sat, Jun 5, 2010 at 7:00 PM, Alexander Belopolsky
wrote:
> On Sat, Jun 5, 2010 at 11:35 AM, anatoly techtonik
> wrote:
> ..
>> s/datetime/date\/time/ in the last sentence, as the complication comes from:
>> -- start offtopic --
>
anatoly techtonik added the comment:
Please add issue8908 as superseder.
--
___
Python tracker
<http://bugs.python.org/issue8870>
___
___
Python-bugs-list mailin
Changes by anatoly techtonik :
--
assignee: tarek
components: Distutils, Documentation
files: mention.bdist.bitmap.size.diff
keywords: patch
nosy: tarek, techtonik
priority: normal
severity: normal
status: open
title: mention bitmap size for bdist_wininst
versions: Python 2.6, Python
Changes by anatoly techtonik :
--
nosy: +d...@python
___
Python tracker
<http://bugs.python.org/issue8909>
___
___
Python-bugs-list mailing list
Unsubscribe:
anatoly techtonik added the comment:
> What is your use case?
>>> from datetime import now, today
>>> now()
datetime.time ...
>>> today()
datetime.date ...
--
___
Python tracker
<
anatoly techtonik added the comment:
> Didn't you just recently complain about the large number of functions in
> datetime module?
About verbosity of datetime API to be exact, so it is a ratio of (API functions
+ required docs)/user code that makes required
anatoly techtonik added the comment:
Seems like it still the issue for 2.4.4
http://scons.tigris.org/issues/show_bug.cgi?id=2533
http://trac.edgewall.org/ticket/9404#comment:2
--
nosy: +tarek, techtonik
___
Python tracker
<http://bugs.python.
New submission from anatoly techtonik :
Projects that still support Python 2.4 are building distributions with either
2.4.x or 2.5.x versions, because they afraid that newer installers won't run on
Windows XP or Windows 2000.
http://trac.edgewall.org/ticket/9404#comment:2
Unfortun
anatoly techtonik added the comment:
There is some uncertainty that 2.6 package installers are dependent on
msvcr90.dll - http://trac.edgewall.org/ticket/9404#comment:7
--
___
Python tracker
<http://bugs.python.org/issue8
anatoly techtonik added the comment:
Python process is rigid, no surprises here. But this issue is nevertheless
useful to link packages that experience this problem. I'll bump it every time I
run into broken package. So far I use:
1. SCons
2.
New submission from anatoly techtonik :
Installers generated with x64 version of Python 2.6.5 seems to have msvcr90.dll
dependency that may not be present on all platforms.
http://trac.edgewall.org/ticket/9404#comment:17
--
assignee: tarek
components: Distutils
messages: 107227
nosy
Changes by anatoly techtonik :
--
title: difflib: support input generators -> difflib should accept arbitrary
line iterators
___
Python tracker
<http://bugs.python.org/iss
anatoly techtonik added the comment:
On Mon, Jun 7, 2010 at 1:26 AM, Éric Araujo wrote:
>
> Would the addition of a link to http://www.python.org/dev/patches/ address
> your request?
No. It is not quick. It short only for an experienced developer. The
example (or documentation HowT
anatoly techtonik added the comment:
Atomic file renames are reimplemented by:
1. Mercurial
2. Trac
3. Dulwich (aka HgGit)
and essential for many other projects out there, so this should be in standard
library. Atomic renames depend on filesystem more that on the OS.
--
nosy
anatoly techtonik added the comment:
Dulwich bug discussion (closed) -
https://bugs.edge.launchpad.net/dulwich/+bug/557585
Trac implementation -
http://trac.edgewall.org/browser/trunk/trac/util/__init__.py?#L82
Stackoverflow -
http://stackoverflow.com/questions/167414/is-an-atomic-file
New submission from anatoly techtonik :
webbrowser.open("127.0.0.1:8080") opens page in IE even if default system
browser is Chrome.
--
components: Library (Lib), Windows
messages: 107297
nosy: techtonik
priority: normal
severity: normal
status: open
title: webbrowser reg
anatoly techtonik added the comment:
It would be nice to see the transition accompanied by some tutorial that could
be used as an example for other similar tasks.
--
nosy: +techtonik
___
Python tracker
<http://bugs.python.org/issue7
New submission from anatoly techtonik :
Currently SimpleHTTPServer docs contains phrase "For example usage, see the
implementation of the test() function." with no reference where this test()
function is located. This is not user friendly.
--
assignee: d...@python
anatoly techtonik added the comment:
2.5 threw exception
--
___
Python tracker
<http://bugs.python.org/issue8936>
___
___
Python-bugs-list mailing list
Unsub
anatoly techtonik added the comment:
webbrowser.open("%s:%s" % (HOST,PORT))
File "C:\Python25\lib\webbrowser.py", line 61, in open
if browser.open(url, new, autoraise):
File "C:\Python25\lib\webbrowser.py", line 518, in open
os.startfile(url)
Wi
anatoly techtonik added the comment:
On Tue, Jun 8, 2010 at 2:06 PM, Amaury Forgeot d'Arc
wrote:
>
> Even from pypy perspective, a pure python implementation is not ideal because
> it makes it difficult to implement the C API.
C API
must die
New submission from anatoly techtonik :
The abundance of methods and hierarchy depth of various servers from "Internet
Protocols and Support" section makes it extremely hard to navigate information.
You need a strong OOP background to be able to use this doc effectively, as
exampl
New submission from anatoly techtonik :
2.5.1 version of distutils was able to correctly build wininst dists from
linux. Right now there are errors which I'll describe in more details once I
can get some Linux box.
--
assignee: tarek
components: Distutils
messages: 107398
nosy:
anatoly techtonik added the comment:
At least is was reported that compiled binaries contains wrong platform name,
i.e. 'linux' and there are errors about inability to look up some compiler
options in windows registry while building.
--
anatoly techtonik added the comment:
In this SCons thread
http://scons.tigris.org/ds/viewMessage.do?dsForumId=1268&dsMessageId=2617686
--
___
Python tracker
<http://bugs.python.org/is
anatoly techtonik added the comment:
Does it work with FAT32 or network filesystem?
--
___
Python tracker
<http://bugs.python.org/issue8828>
___
___
Python-bug
anatoly techtonik added the comment:
$ python setup.py build bdist_wininst
running build
running build_py
running bdist_wininst
installing to build/bdist.linux-i686/wininst
running install_lib
creating build/bdist.linux-i686/wininst
creating build/bdist.linux-i686/wininst/PURELIB
copying build
anatoly techtonik added the comment:
It did run ok on non-Windows OSes with previous Python versions.
--
___
Python tracker
<http://bugs.python.org/issue8
anatoly techtonik added the comment:
No.
--
___
Python tracker
<http://bugs.python.org/issue8940>
___
___
Python-bugs-list mailing list
Unsubscribe:
anatoly techtonik added the comment:
Raymond mention your reasons please. I may need them one day for describing
development process.
--
___
Python tracker
<http://bugs.python.org/issue8
anatoly techtonik added the comment:
1. No time
2. Looks complicated
--
___
Python tracker
<http://bugs.python.org/issue8940>
___
___
Python-bugs-list mailin
anatoly techtonik added the comment:
Good job. Thanks for working on this.
It is possible to backport this to future of Python 2.7?
--
___
Python tracker
<http://bugs.python.org/issue5
anatoly techtonik added the comment:
I do not like the idea that BaseHTTPServer depends on email package, which in
turn may depend on another package etc. Having date formatting function inside
of email package breaks "single responsibility" principle that would be nice to
have
New submission from anatoly techtonik :
CGIHTTPServer only supports Python CGI scripts. That should be reflected in
documentation.
--
assignee: d...@python
components: Documentation
messages: 107911
nosy: d...@python, techtonik
priority: normal
severity: normal
status: open
title
Changes by anatoly techtonik :
--
title: CGIHTTPServer -> CGIHTTPServer supports only Python CGI scripts
___
Python tracker
<http://bugs.python.org/iss
New submission from anatoly techtonik :
CGIHTTPServer should support all CGI scripts, not only Python ones.
--
components: Library (Lib)
messages: 107912
nosy: techtonik
priority: normal
severity: normal
status: open
title: CGIHTTPServer support for arbitrary CGI scripts
versions
anatoly techtonik added the comment:
I don't see why it modifies os.environ at all environ it passed as argument to
child subprocess.
--
nosy: +techtonik
___
Python tracker
<http://bugs.python.org/issu
anatoly techtonik added the comment:
I can't edit my comment. That suxx. It should be
"...at all if environ is passed..."
--
___
Python tracker
<http://bugs.pytho
anatoly techtonik added the comment:
> I suspect this bug will sit here languishing without action, for various
> reasons:
I suspect this kind of discussions piss off readers of tickets, but
I'll continue, as I do not see any other useful public medium at hand
right now.
-- sta
anatoly techtonik added the comment:
Thank you. The wording can surely be improved, but it is much better than
nothing.
I'd reword the first para further:
> The :func:`test` function in the :mod:`SimpleHTTPServer` module is an example
> of using :class:`SimpleHTTPRequestHa
anatoly techtonik added the comment:
>> Conflict resolution takes a lot of time
>> and I can't afford maintaining a separate copy of Python checkout for
>> every patch
>
> Then try various hg features such as named branches, or bookmarks, or mq, or
> pbranch, et
anatoly techtonik added the comment:
> That's a lot of things which others do not perceive as important or even
> desireable. Chances are you are going to have to implement them yourself
> if you really want them. In any case, just complaining won't change
> anything
anatoly techtonik added the comment:
The example is really helpful. I was surprised to learn that SimpleHTTPServer
can be called from command line with port argument. I thought it is only for
testing. Another missed aspect is that it is possible to use
SimpleHTTPRequestHandler with TCPServer
New submission from anatoly techtonik :
`copy` module covers very important aspect of Python programming. However its
documentation doesn't provide any intro or overview of this problem starting
right from details. When people meet `copy` construction in the code - the
refer to m
anatoly techtonik added the comment:
Just stumbled upon this stuff. Good job. I can already see how it can be useful.
--
nosy: +techtonik
___
Python tracker
<http://bugs.python.org/issue8
anatoly techtonik added the comment:
And I am not RDM. =)
--
___
Python tracker
<http://bugs.python.org/issue8937>
___
___
Python-bugs-list mailing list
Unsub
New submission from anatoly techtonik :
Need --help, --list options and TestSute.testcase args for
test_support.run_unittest
User story:
I am covering CGIHTTPServer with tests according to
http://www.rfc-editor.org/rfc/rfc3875.txt speccy and want to run a single test
in a cycle. I am
anatoly techtonik added the comment:
3. The final goal is to be able to run single test as:
> python test_httpservers.py BaseHTTPServer::handler
--
___
Python tracker
<http://bugs.python.org/iss
anatoly techtonik added the comment:
The example in first post should read:
> python test_httpservers.py --list *auth*
CGIHTTPServerTestCase::authorization
(several distractions a minute can drive anyone mad)
--
___
Python tracker
&l
New submission from anatoly techtonik :
Need --help, --list options and TestSute::testcase args for
test_support.run_unittest
User story:
I am covering CGIHTTPServer with tests according to
http://www.rfc-editor.org/rfc/rfc3875.txt speccy and want to run a single test
in a cycle. I am
anatoly techtonik added the comment:
Damn. I still failed to forge last use case. In should of course read:
> python test_httpservers.py CGIHTTPServer::url_collapse_path_split
CGIHTTPServer::url_collapse_path_split ... ok
Wave develops bad hab
anatoly techtonik added the comment:
Too many errors in description. Please close this ticket with #9028 as a
superceder.
--
___
Python tracker
<http://bugs.python.org/issue9
anatoly techtonik added the comment:
`someref` would be more convenient than :func:`someref` but in case of
namespace conflict (for example, as a result of documentation merge it both
:func:`someref` and :class:`someref` can appear) - it would be necessary to go
through all the links in both
anatoly techtonik added the comment:
RDM, running your way will execute test from standard library location of
installed Python.
> python -m unittest test.test_httpservers.BaseHTTPServerTestCase.test_handler
But I want to execute test from my own patched copy of test_httpservers.py w
anatoly techtonik added the comment:
> If you use Python 2.7 then the following at the end of the test module
> enables the same command line features that David Murray pointed you to:
>
> if __name__ == '__main__':
> unittest.main()
Unfortunately, test_httpserver
anatoly techtonik added the comment:
> The doc change suggested by Terry could be helpful in the tutorial
> where a copy module is mentioned.
Can you post a link to this tutorial here?
--
___
Python tracker
<http://bugs.python.org/
anatoly techtonik added the comment:
About importance to have a maintainable pure libraries and speedups for them.
Believe it or not, but the only reason why Python 2.x did not get RFC 3339
implementation in standard library is that datetime module is in C. I hope
everybody understands the
New submission from anatoly techtonik :
os.chdir(path) is often used with os.getcwd() call and doesn't return anything.
It can return the name of the directory before the change.
prev = os.chdir(path)
...
os.chdir(prev)
Maybe it will also be possible to implement 'with' c
New submission from anatoly techtonik :
Quite often people use .json files for storing configuration. Having a
reference to json module from chapter "14. File Formats" would be a good
pointer for those looking to .ini alternatives.
--
assignee: d...@python
components: Doc
New submission from anatoly techtonik :
Need API keyword to filter refused API proposals.
--
anatoly t.
--
messages: 108836
nosy: techtonik
priority: normal
severity: normal
status: open
title: API keyword
___
Python tracker
<http://bugs.python.
anatoly techtonik added the comment:
Oops. Wrong tracker http://psf.upfronthosting.co.za/roundup/meta/issue341
--
___
Python tracker
<http://bugs.python.org/issue9
anatoly techtonik added the comment:
Brian, in case you remove previous directory - you will get the same exception
that in the following code.
prev = os.chdir(somepath)
os.rmdir(prev)
os.chdir(prev)
Senthil, your arguments are strange. Both use cases are at least useful for me
(if not
New submission from anatoly techtonik :
Pickle warning about insecurity is located only at the second page near the
bottom of "Relationship to other Python modules" chapter. For me the proper
place for it is the first page of documentation.
--
assignee: d...@python
New submission from anatoly techtonik :
It seems that left side ToC menu will be more clear without numeric prefixes
from chapter on 3-.. nesting levels. How about to remove them?
For example - the ToC menu now starting from root level:
15.6. logging — Logging facility for Python
* 15.6.1
anatoly techtonik added the comment:
Also http://docs.python.org/library/pickle.html
http://docs.python.org/library/logging.html#sending-and-receiving-logging-events-across-a-network
and
http://mail.python.org/pipermail/python-dev/2010-June/101179.html
The link to Nadia blog is also very
anatoly techtonik added the comment:
> R. David Murray added the comment:
>
> -1
Why? Do you like wrapped menu entries three lines long?
--
___
Python tracker
<http://bugs.python.o
anatoly techtonik added the comment:
http://bitbucket.org/birkenfeld/sphinx/issue/460/strip-section-numbers-from-toc-menu
--
___
Python tracker
<http://bugs.python.org/issue9
anatoly techtonik added the comment:
That just proves that side menu is not very useful. When I need to jump to a
sibling paragraph I usually click the rightmost entry in top bar. It takes two
clicks to get there and one page reload instead of one.
Perhaps the ToC menu could be expanded
anatoly techtonik added the comment:
PHP site have a very convenient feature that if you enter
http://php.net/some_func - it automatically executes function lookup for you or
shows corresponding doc page, i.e. http://php.net/sort
--
___
Python
anatoly techtonik added the comment:
Senthil, please read the proposals more attentively. From the docs of urlparse
at http://docs.python.org/library/urlparse.html
"The components are not broken up in smaller parts (for example, the network
location is a single string), and % escapes ar
anatoly techtonik added the comment:
Even though I think that crossplatform language should normalize underlying
platform behaviour, you've convinced me. Unneeded extra code execution decides.
I also found that in another scenario it is better to return wrapper for target
directo
anatoly techtonik added the comment:
Too bad that request from users who are not eligible to produce a patch are not
accepted by Python "community". =/
--
___
Python tracker
<http://bugs.python.org
anatoly techtonik added the comment:
Much better definition. I stripped it down a little to avoid
"mechanism" repetition.
Compared with other programming languages, Python provides
object oriented approach with a minimum of new syntax and semantics.
Its class mechanism is a
New submission from anatoly techtonik :
os.execve() is said to replace current process with new program. Unfortunately,
when you try to call script that contains os.execve() on windows - that script
spawns background process and control is immediately returned to the calling
program. Does it
anatoly techtonik added the comment:
There should be one uniform behavior on all platforms if Python is
crossplatoform.
As far as I can understand this issue - unix os.execv() requires "./" to be
present to execute anything from current directory. On windows it is enough to
sp
anatoly techtonik added the comment:
Does that mean that windows doesn't allow process replacement at all?
I remember the time then game NoCD loaders were somehow able to load, patch and
execute main program in their address space.
--
___
P
anatoly techtonik added the comment:
For me only http://www.python.org/doc/3.1.1/ gives 403.
Seems like all other links should be updated from
http://www.python.org/doc/2.3.2/ to http://docs.python.org/release/2.3.2/
format to avoid additional redirect.
--
nosy: +techtonik
New submission from anatoly techtonik :
There are a couple of chapters about implementing a command in distutils docs
that should be linked together.
http://docs.python.org/distutils/extending.html#extending-distutils should link
to http://docs.python.org/distutils/apiref.html
Changes by anatoly techtonik :
--
components: +Documentation
versions: +Python 2.7, Python 3.2
___
Python tracker
<http://bugs.python.org/issue9223>
___
___
Pytho
Changes by anatoly techtonik :
--
nosy: +d...@python
___
Python tracker
<http://bugs.python.org/issue9223>
___
___
Python-bugs-list mailing list
Unsubscribe:
anatoly techtonik added the comment:
The regression is two-fold:
1. platform name regression is caused by r62197 by Mark Hammond - Issue #2513:
enable 64bit cross compilation on windows
2. when wininst stub selection started to depend on MSVC compiler version is
yet to be investigated, but
anatoly techtonik added the comment:
Eric, think about people who will be porting old code from distutils. They need
to understand the behavior of distutils even if you'd like to force them to
rewrite the logic for distutils2 from sc
anatoly techtonik added the comment:
http://codereview.appspot.com/1774043
--
___
Python tracker
<http://bugs.python.org/issue8954>
___
___
Python-bugs-list m
Changes by anatoly techtonik :
--
keywords: +patch
Added file: http://bugs.python.org/file17960/suffix.patch
___
Python tracker
<http://bugs.python.org/issue8
anatoly techtonik added the comment:
reuploaded correct version to rietveld.
--
Added file: http://bugs.python.org/file17961/suffix.patch
___
Python tracker
<http://bugs.python.org/issue8
Changes by anatoly techtonik :
Removed file: http://bugs.python.org/file17960/suffix.patch
___
Python tracker
<http://bugs.python.org/issue8954>
___
___
Python-bugs-list m
anatoly techtonik added the comment:
Cool, unittest.main() worked for me, but I still lack the introspection to see
what tests are available inside the file. Would there be any objections against
quickly adding -l, --list option to expose the result of test discovery as it
works now?
What
anatoly techtonik added the comment:
s/need/have/
--
___
Python tracker
<http://bugs.python.org/issue9028>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from anatoly techtonik :
When CGIHTTPServer prepares to start child CGI program it modifies global
os.environ. This implicitly changes parents application state if it also relies
on some of CGI environment variables.
--
messages: 110418
nosy: techtonik
priority: normal
Changes by anatoly techtonik :
--
keywords: +patch
Added file:
http://bugs.python.org/file18024/9272.CGIHTTPServer-poisons-os.environ.patch
___
Python tracker
<http://bugs.python.org/issue9
anatoly techtonik added the comment:
Patch queue with other minor fixes you may consider useful
http://bitbucket.org/techtonik/http.server-patches/qseries
--
___
Python tracker
<http://bugs.python.org/issue9
anatoly techtonik added the comment:
On Mon, Jul 19, 2010 at 7:21 PM, Alexander Belopolsky
wrote:
>
> I suggest the following wording for time.timezone description:
>
> time.timezone: The number of seconds one must add to the local time to arrive
> at UTC.
Makes sense. I can&
anatoly techtonik added the comment:
> Documenting utcoffset() as "Return timedelta equal to local UTC
> offset." is almost circular. It does not explain whether it has to be
> added or subtracted from UTC to arrive at local time.
Ok. Sold.
>> I believe the corr
anatoly techtonik added the comment:
The test is hard to write. The server is launched in a separate thread. Any
ideas how to check os.environ there?
--
___
Python tracker
<http://bugs.python.org/issue9
New submission from anatoly techtonik :
Seems like os.environ is shared between multiple threads. This should be
documented at least in threading chapters.
--
assignee: d...@python
components: Documentation
messages: 111013
nosy: d...@python, techtonik
priority: normal
severity: normal
anatoly techtonik added the comment:
Ok. os.environ seems to be shared between threads. Here is updated patch.
--
Added file:
http://bugs.python.org/file18102/9272.CGIHTTPServer-poisons-os.environ.patch
___
Python tracker
<http://bugs.python.
New submission from anatoly techtonik :
CGIHTTPServer looks for CGI files in '/htbin' directory. This never was a
standard (in comparison to `cgi-bin`) and can be safely removed at least in Py3k
--
components: Library (Lib)
messages: 111020
nosy: techtonik
priority: norma
anatoly techtonik added the comment:
It was actual only for old Mac versions without popen2/popen3 calls. popenX
calls were replaced with subprocess which should be available on MacOS.
--
status: open -> closed
___
Python tracker
&l
anatoly techtonik added the comment:
On Wed, Jul 21, 2010 at 11:43 AM, Eric Smith wrote:
>
> I'm not sure where you'd put this. The defining characteristic of threads is
> that _all_ objects are shared among them.
Where is this defining characteristic of t
801 - 900 of 977 matches
Mail list logo